Overview

Namespaces

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

Classes

  • AMemoryUsageDriver
  • AProcessorDriver
  • Controlor
  • Libxslt1123phpProcessorDriver
  • Libxslt1126phpProcessorDriver
  • LinuxMemoryUsageDriver
  • MemoryUsage
  • MSXML30ProcessorDriver
  • MSXML60ProcessorDriver
  • Params
  • Processor
  • Runner
  • Sablotron103cmdProcessorDriver
  • Saxon655ProcessorDriver
  • SaxonHE9402ProcessorDriver
  • Test
  • TestRunner
  • WindowsMemoryUsageDriver
  • Xalan271ProcessorDriver
  • XmlParamsDriver
  • Xsltproc1123ProcessorDriver
  • Xsltproc1126ProcessorDriver
  • XT20051206ProcessorDriver

Interfaces

  • IParamsDriver
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo
 1: <?php
 2: 
 3: /**
 4:  * XSLT Benchmarking
 5:  * @link https://github.com/masicek/XSLT-Benchmarking
 6:  * @author Viktor Mašíček <viktor@masicek.net>
 7:  * @license "New" BSD License
 8:  */
 9: 
10: namespace XSLTBenchmarking\TestsRunner;
11: 
12: /**
13:  * Abstract parent for object for collect params about test.
14:  *
15:  * @author Viktor Mašíček <viktor@masicek.net>
16:  */
17: interface IParamsDriver
18: {
19: 
20: 
21:     /**
22:      * Set the params file.
23:      *
24:      * @param string $paramsFilePath The path of the file with deffinition of generated tests
25:      *
26:      * @throws \XSLTBenchmarking\InvalidArgumentException Wrong format of file with params
27:      */
28:     public function __construct($paramsFilePath);
29: 
30: 
31:     /**
32:      * Function for generating new paramas file
33:      *
34:      * @param string $name Name of the test
35:      * @param string $templatePath Path of tested XSLT template
36:      * @param array $couplesPaths ([input] => [output], ...)
37:      *
38:      * @return void
39:      */
40:     public function generate($name, $templatePath, array $couplesPaths);
41: 
42: 
43:     /**
44:      * Return the name of test
45:      *
46:      * @return string
47:      */
48:     public function getName();
49: 
50: 
51:     /**
52:      * Return the path to the XSLT template
53:      *
54:      * @return string
55:      */
56:     public function getTemplatePath();
57: 
58: 
59:     /**
60:      * Return the path to the XML files for testing
61:      * - input
62:      * - expected output
63:      *
64:      * @return array ([input] => [expected output])
65:      */
66:     public function getCouplesPaths();
67: 
68: 
69: }
70: 
XSTL Benchmarking API documentation generated by ApiGen.
Generated using the TokenReflection library.