public function Framework_SuiteTest::testInheritedTests in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/Framework/SuiteTest.php \Framework_SuiteTest::testInheritedTests()
File
- vendor/
phpunit/ phpunit/ tests/ Framework/ SuiteTest.php, line 72
Class
- Framework_SuiteTest
- @since Class available since Release 2.0.0 @covers PHPUnit_Framework_TestSuite
Code
public function testInheritedTests() {
$suite = new PHPUnit_Framework_TestSuite('InheritedTestCase');
$suite
->run($this->result);
$this
->assertTrue($this->result
->wasSuccessful());
$this
->assertEquals(2, count($this->result));
}