diff options
Diffstat (limited to '3rdparty/simpletest/test/autorun_test.php')
-rw-r--r-- | 3rdparty/simpletest/test/autorun_test.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/3rdparty/simpletest/test/autorun_test.php b/3rdparty/simpletest/test/autorun_test.php deleted file mode 100644 index d85ea19897c..00000000000 --- a/3rdparty/simpletest/test/autorun_test.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php
-require_once(dirname(__FILE__) . '/../autorun.php');
-require_once(dirname(__FILE__) . '/support/test1.php');
-
-class TestOfAutorun extends UnitTestCase {
- function testLoadIfIncluded() {
- $tests = new TestSuite();
- $tests->addFile(dirname(__FILE__) . '/support/test1.php');
- $this->assertEqual($tests->getSize(), 1);
- }
-
- function testExitStatusOneIfTestsFail() {
- exec('php ' . dirname(__FILE__) . '/support/failing_test.php', $output, $exit_status);
- $this->assertEqual($exit_status, 1);
- }
-
- function testExitStatusZeroIfTestsPass() {
- exec('php ' . dirname(__FILE__) . '/support/passing_test.php', $output, $exit_status);
- $this->assertEqual($exit_status, 0);
- }
-}
-
-?>
\ No newline at end of file |