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

Class XmlParamsDriver

Xml prarams for the collection of tests

XSLTBenchmarking\TestsGenerator\XmlParamsDriver implements XSLTBenchmarking\TestsGenerator\IParamsDriver
Namespace: XSLTBenchmarking\TestsGenerator
Author: Viktor Mašíček <viktor@masicek.net>
Located at TestsGenerator/Params/XmlParamsDriver.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

Implementation of

XSLTBenchmarking\TestsGenerator\IParamsDriver::__construct
public string
# getTemplateName( )
Return the name of tests collection

Return the name of tests collection

Returns

string

Implementation of

XSLTBenchmarking\TestsGenerator\IParamsDriver::getTemplateName
public string
# getTemplatePath( )
Return the path to the template file

Return the path to the template file

Returns

string

Implementation of

XSLTBenchmarking\TestsGenerator\IParamsDriver::getTemplatePath
public string
# getTemplatingType( )
Return the type of templating

Return the type of templating

Returns

string

Implementation of

XSLTBenchmarking\TestsGenerator\IParamsDriver::getTemplatingType
public array
# getTestsNames( )
Return the list of tests names

Return the list of tests names

Returns

array

Implementation of

XSLTBenchmarking\TestsGenerator\IParamsDriver::getTestsNames
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

Implementation of

XSLTBenchmarking\TestsGenerator\IParamsDriver::getTestFilesPaths
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

Implementation of

XSLTBenchmarking\TestsGenerator\IParamsDriver::getTestSettings
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

Implementation of

XSLTBenchmarking\TestsGenerator\IParamsDriver::getTestParamsFileName
XSTL Benchmarking API documentation generated by ApiGen.
Generated using the TokenReflection library.