/** * Sets up a browser for the start of each * test method. * @param string $method Name of test method. * @access protected */ function invoke($method) { $this->_browser =& $this->createBrowser(); parent::invoke($method); }
/** * Invokes a single test method on the test case. * This call back allows the reporter to decide if * it actually wants to run the test. * @param SimpleTestCase $test_case Test case to run test on. * @param string $method Name of test method. * @access public */ function invoke(&$test_case, $method) { if (!$this->_is_dry_run) { $test_case->invoke($method); } }