/** * Finds currently running test. * @return SimpeTestCase Current test case. * @access protected */ function &_getCurrentTestCase() { return SimpleTest::getCurrent(); }
function &_getCurrentTestCase() { $test =& SimpleTest::getCurrent(); return $test->test; }