1 | <?php |
||
19 | class PhpSpecTester implements SuiteTester |
||
20 | { |
||
21 | private $baseTester; |
||
22 | private $specRunner; |
||
23 | private $output; |
||
24 | private $input; |
||
25 | |||
26 | public function __construct( |
||
37 | |||
38 | /** |
||
39 | * Tests provided suite specifications. |
||
40 | * |
||
41 | * @param Environment $env |
||
42 | * @param SpecificationIterator $iterator |
||
43 | * @param Boolean $skip |
||
44 | * |
||
45 | * @return TestResult |
||
46 | */ |
||
47 | public function test(Environment $env, SpecificationIterator $iterator, $skip) |
||
51 | |||
52 | /** |
||
53 | * Tears down suite after a test. |
||
54 | * |
||
55 | * @param Environment $env |
||
56 | * @param SpecificationIterator $iterator |
||
57 | * @param Boolean $skip |
||
58 | * @param TestResult $result |
||
59 | * |
||
60 | * @return Teardown |
||
61 | */ |
||
62 | public function tearDown(Environment $env, SpecificationIterator $iterator, $skip, TestResult $result) |
||
66 | |||
67 | /** |
||
68 | * Sets up suite for a test. |
||
69 | * |
||
70 | * @param Environment $env |
||
71 | * @param SpecificationIterator $iterator |
||
72 | * @param Boolean $skip |
||
73 | * |
||
74 | * @return Setup |
||
75 | */ |
||
76 | public function setUp(Environment $env, SpecificationIterator $iterator, $skip) |
||
102 | } |
||
103 |