Overview

Namespaces

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

Classes

  • DriversContainer
  • Factory
  • Microtime
  • Printer

Exceptions

  • CollisionException
  • Exception
  • GenerateTemplateException
  • GenerateXmlException
  • InvalidArgumentException
  • InvalidStateException
  • LongLoopException
  • UnknownMethodException
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Factory

Factory class for making new objects. It was created for better testing.

Namespace: XSLTBenchmarking
Author: Viktor Mašíček <viktor@masicek.net>
Located at Factory.php
Methods summary
public XSLTBenchmarking\TestsGenerator\Test
# getTestsGeneratorTest( string $name )
Make new Test class and return it

Make new Test class and return it

Parameters

$name
string
The human-redable name of the test

Returns

XSLTBenchmarking\TestsGenerator\Test
public XSLTBenchmarking\TestsRunner\Test
# getTestsRunnerTest( string $name )
Make new Test class and return it

Make new Test class and return it

Parameters

$name
string
The human-redable name of the test

Returns

XSLTBenchmarking\TestsRunner\Test
public XSLTBenchmarking\Reports\Report
# getReport( string $testName, string $templatePath )
Make new Report class and return it

Make new Report class and return it

Parameters

$testName
string
Name of the reported test
$templatePath
string
Path of the tests XSLT template

Returns

XSLTBenchmarking\Reports\Report
XSTL Benchmarking API documentation generated by ApiGen.
Generated using the TokenReflection library.