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 Test

Container for information about one test.

Namespace: XSLTBenchmarking\TestsGenerator
Author: Viktor Mašíček <viktor@masicek.net>
Located at TestsGenerator/Test.php
Methods summary
public
# __construct( string $name )
Set the human-redable name of the test

Set the human-redable name of the test

Parameters

$name
string
The human-redable name of the test
public string
# getName( )
Return the human-redable name of the test

Return the human-redable name of the test

Returns

string
public
# setTemplatePath( string $templatePath )
Set the path of the test template

Set the path of the test template

Parameters

$templatePath
string
The path of the test template
public string
# getTemplatePath( )
Return the path of the test template

Return the path of the test template

Returns

string
public
# setTemplatingType( string $templatingType )
Set the type of templating

Set the type of templating

Parameters

$templatingType
string
The type of templating
public string
# getTemplatingType( )
Return the type of templating

Return the type of templating

Returns

string
public
# setPath( string $rootPath )
Set the path to the test

Set the path to the test

Parameters

$rootPath
string
The root directory of all tests
public string
# getPath( )
Return the path of directory for generating the test

Return the path of directory for generating the test

Returns

string
public string
# getXsltName( )
Return the name of the test xslt file

Return the name of the test xslt file

Returns

string
public string
# getXsltPath( )
Return the path of the test xslt file

Return the path of the test xslt file

Returns

string
public
# addSettings( array $settings )
Add settins of the test for generating

Add settins of the test for generating

Parameters

$settings
array
([name] => [value], ...)
public array
# getSettings( )
Return all settings of test for generating

Return all settings of test for generating

Returns

array
public
# addFilesPaths( array $filesPaths )
Add paths of input files for testing with the paths of their expected output files

Add paths of input files for testing with the paths of their expected output files

Parameters

$filesPaths
array
([input] => [expected output], ...)
public array
# getFilesPaths( )
Return all paths of xml files for testing with their expected output files paths

Return all paths of xml files for testing with their expected output files paths

Returns

array
([input] => [expectedOutput], ...)
public
# setParamsFilePath( string $fileName )
Set the path of the file with params of test

Set the path of the file with params of test

Parameters

$fileName
string
Name of file with params
public string
# getParamsFilePath( )
Return the path of the file with params of test

Return the path of the file with params of test

Returns

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