Index: trunk/phase3/maintenance/tests/ParserHelpers.php |
— | — | @@ -12,10 +12,10 @@ |
13 | 13 | function count() { return 1; } |
14 | 14 | |
15 | 15 | public function run( PHPUnit_Framework_TestResult $result = null ) { |
16 | | - PHPUnit_Framework_Assert::resetCount(); |
17 | | - if ( $result === NULL ) { |
18 | | - $result = new PHPUnit_Framework_TestResult; |
19 | | - } |
| 16 | + PHPUnit_Framework_Assert::resetCount(); |
| 17 | + if ( $result === NULL ) { |
| 18 | + $result = new PHPUnit_Framework_TestResult; |
| 19 | + } |
20 | 20 | |
21 | 21 | $backend = $this->suite->getBackend(); |
22 | 22 | $result->startTest( $this ); |
— | — | @@ -24,12 +24,12 @@ |
25 | 25 | $r = false; |
26 | 26 | try { |
27 | 27 | # Run the test. |
28 | | - # On failure, the subclassed backend will throw an exception with |
| 28 | + # On failure, the subclassed backend will throw an exception with |
29 | 29 | # the details. |
30 | 30 | $r = $backend->runTest( |
31 | 31 | $this->test['test'], |
32 | | - $this->test['input'], |
33 | | - $this->test['result'], |
| 32 | + $this->test['input'], |
| 33 | + $this->test['result'], |
34 | 34 | $this->test['options'], |
35 | 35 | $this->test['config'] |
36 | 36 | ); |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | PHPUnit_Framework_Assert::assertEquals( $expected, $got, $desc ); |
73 | 73 | } |
74 | 74 | |
75 | | - public function setupRecorder() { |
| 75 | + public function setupRecorder( $options ) { |
76 | 76 | $this->recorder = new PHPUnitTestRecorder( $this ); |
77 | 77 | } |
78 | 78 | } |