MediaWiki REL1_33
TestRecorder.php
Go to the documentation of this file.
1<?php
36
40 public function start() {
41 }
42
46 public function startTest( $test ) {
47 }
48
52 public function startSuite( $path ) {
53 }
54
58 public function endSuite( $path ) {
59 }
60
66 public function record( $test, ParserTestResult $result ) {
67 }
68
72 public function warning( $message ) {
73 }
74
78 public function skipped( $test, $subtest ) {
79 }
80
84 public function report() {
85 }
86
90 public function end() {
91 }
92
93}
Represent the result of a parser test.
Interface to record parser test results.
endSuite( $path)
Called after ending an input file.
end()
Called at the end of the parser test run.
startSuite( $path)
Called before starting an input file.
startTest( $test)
Called before starting a test.
skipped( $test, $subtest)
Mark a test skipped.
start()
Called at beginning of the parser test run.
record( $test, ParserTestResult $result)
Called after each test.
report()
Called before finishing the test run.
warning( $message)
Show a warning to the user.