Public Member Functions | |
clear () | |
setTest (&$test) | |
& | getTest () |
setReporter (&$reporter) | |
& | getReporter () |
Static Public Member Functions | |
& | get ($resource) |
Public Attributes | |
$_test | |
$_reporter | |
$_resources |
Definition at line 219 of file simpletest.php.
SimpleTestContext::clear | ( | ) |
Clears down the current context. public
Definition at line 228 of file simpletest.php.
Referenced by setReporter(), and setTest().
SimpleTestContext::setTest | ( | &$ | test | ) |
Sets the current test case instance. This global instance can be used by the mock objects to send message to the test cases.
SimpleTestCase | $test Test case to register. public |
Definition at line 239 of file simpletest.php.
References clear().
& SimpleTestContext::getTest | ( | ) |
Accessor for currently running test case.
Definition at line 249 of file simpletest.php.
SimpleTestContext::setReporter | ( | &$ | reporter | ) |
Sets the current reporter. This global instance can be used by the mock objects to send messages.
SimpleReporter | $reporter Reporter to register. public |
Definition at line 260 of file simpletest.php.
References clear().
& SimpleTestContext::getReporter | ( | ) |
Accessor for current reporter.
Definition at line 270 of file simpletest.php.
& SimpleTestContext::get | ( | $ | resource | ) | [static] |
Accessor for the Singleton resource.
Definition at line 280 of file simpletest.php.
SimpleTestContext::$_test |
Definition at line 220 of file simpletest.php.
SimpleTestContext::$_reporter |
Definition at line 221 of file simpletest.php.
SimpleTestContext::$_resources |
Definition at line 222 of file simpletest.php.