X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fphpunit%2Fphpunit%2Ftests%2FFramework%2FTestImplementorTest.php;fp=vendor%2Fphpunit%2Fphpunit%2Ftests%2FFramework%2FTestImplementorTest.php;h=f10a5098af56155a44b02d2b37e023637084e090;hp=0000000000000000000000000000000000000000;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/vendor/phpunit/phpunit/tests/Framework/TestImplementorTest.php b/vendor/phpunit/phpunit/tests/Framework/TestImplementorTest.php new file mode 100644 index 000000000..f10a5098a --- /dev/null +++ b/vendor/phpunit/phpunit/tests/Framework/TestImplementorTest.php @@ -0,0 +1,30 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * @since Class available since Release 2.0.0 + */ +class Framework_TestImplementorTest extends PHPUnit_Framework_TestCase +{ + /** + * @covers PHPUnit_Framework_TestCase + */ + public function testSuccessfulRun() + { + $result = new PHPUnit_Framework_TestResult; + + $test = new DoubleTestCase(new Success); + $test->run($result); + + $this->assertEquals(count($test), count($result)); + $this->assertEquals(0, $result->errorCount()); + $this->assertEquals(0, $result->failureCount()); + } +}