3
* This file is part of PHPUnit.
5
* (c) Sebastian Bergmann <sebastian@phpunit.de>
7
* For the full copyright and license information, please view the LICENSE
8
* file that was distributed with this source code.
12
* An incomplete test case
15
* @subpackage Framework
16
* @author Davey Shafik <me@daveyshafik.com>
17
* @copyright Sebastian Bergmann <sebastian@phpunit.de>
18
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
19
* @link http://www.phpunit.de/
20
* @since Class available since Release 4.3.0
22
class PHPUnit_Framework_IncompleteTestCase extends PHPUnit_Framework_TestCase
27
protected $message = '';
32
protected $backupGlobals = false;
37
protected $backupStaticAttributes = false;
42
protected $runTestInSeparateProcess = false;
47
protected $useErrorHandler = false;
52
protected $useOutputBuffering = false;
55
* @param string $message
57
public function __construct($className, $methodName, $message = '')
59
$this->message = $message;
60
parent::__construct($className . '::' . $methodName);
64
* @throws PHPUnit_Framework_Exception
66
protected function runTest()
68
$this->markTestIncomplete($this->message);
74
public function getMessage()
76
return $this->message;
80
* Returns a string representation of the test case.
84
public function toString()
86
return $this->getName();