Overview

Namespaces

  • PHP
  • XSLTBenchmarking
    • Reports
    • RunnerConsole
    • TestsGenerator
    • TestsRunner

Classes

  • EasyXmlGeneratorDriver
  • Generator
  • Params
  • SimpleTemplatingDriver
  • SmartyTemplatingDriver
  • SmartyXmlGeneratorDriver
  • Templating
  • Test
  • ToxgeneTemplatingDriver
  • ToxgeneXmlGeneratorDriver
  • XmlGenerator
  • XmlParamsDriver

Interfaces

  • IParamsDriver
  • ITemplatingDriver
  • IXmlGeneratorDriver
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Interface IParamsDriver

Abstract parent for object for collect params about templates.

Direct Known Implementers

XSLTBenchmarking\TestsGenerator\XmlParamsDriver
Namespace: XSLTBenchmarking\TestsGenerator
Author: Viktor Mašíček <viktor@masicek.net>
Located at TestsGenerator/Params/IParamsDriver.php
Methods summary
public
# __construct( XSLTBenchmarking\TestsGenerator\XmlGenerator $xmlGenerator, string $tmpDirectoryPath, string $paramsFilePath )
Choose the params driver by extension

Choose the params driver by extension

Parameters

$xmlGenerator
XSLTBenchmarking\TestsGenerator\XmlGenerator
Object for generating XML files
$tmpDirectoryPath
string
The path of the temporary directory
$paramsFilePath
string
The path of the file with deffinition of generated tests

Throws

XSLTBenchmarking\InvalidArgumentException
Wrong format of file with params
public string
# getTemplateName( )
Return the name of tests collection

Return the name of tests collection

Returns

string
public string
# getTemplatePath( )
Return the path to the template file

Return the path to the template file

Returns

string
public string
# getTemplatingType( )
Return the type of templating

Return the type of templating

Returns

string
public array
# getTestsNames( )
Return the list of tests names

Return the list of tests names

Returns

array
public array
# getTestFilesPaths( string $testName )
Return the list of input files paths and paths of their expected output files for selected test

Return the list of input files paths and paths of their expected output files for selected test

Parameters

$testName
string
The name of the selected test

Returns

array
public array
# getTestSettings( string $testName )
Return the list of settings for the selected test

Return the list of settings for the selected test

Parameters

$testName
string
The name of the selected test

Returns

array
public string|null
# getTestParamsFileName( string $testName )
Return the name of file with params of the test.

Return the name of file with params of the test.

Parameters

$testName
string
The name of the selected test

Returns

string|null
XSTL Benchmarking API documentation generated by ApiGen.
Generated using the TokenReflection library.