Lines Matching +full:runs +full:- +full:on
7 * Copyright (c) 2002-2005, Sebastian Bergmann <sb@sebastian-bergmann.de>.
34 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC
41 * @author Sebastian Bergmann <sb@sebastian-bergmann.de>
42 * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>
43 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
60 * 4) Clean-up after a test by overriding tearDown().
62 * Each test runs in its own fixture so there can be no side effects
63 * among test runs.
74 * $this->PHPUnit_TestCase($name);
78 * $this->fValue1 = 2;
79 * $this->fValue2 = 3;
92 * $this->assertTrue($this->fValue1 + $this->fValue2 == 5);
99 * @author Sebastian Bergmann <sb@sebastian-bergmann.de>
100 * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>
101 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
137 $this->setName($name);
158 return $this->_name;
162 * Runs the test case and collects the results in a given TestResult object.
169 $this->_result = &$result;
170 $this->_result->run($this);
172 return $this->_result;
176 * Runs the bare test sequence.
181 $this->setUp();
182 $this->runTest();
183 $this->tearDown();
184 $this->pass();
196 $this->_name
208 $this->_name = $name;
252 $this->_result->addFailure($this, $message);
253 $this->_failed = TRUE;
262 if (!$this->_failed) {
263 $this->_result->addPassedTest($this);
288 * tab-width: 4
289 * c-basic-offset: 4
290 * c-hanging-comment-ender-p: nil