aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/simpletest/test/bad_test_suite.php
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/simpletest/test/bad_test_suite.php')
-rwxr-xr-x3rdparty/simpletest/test/bad_test_suite.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/3rdparty/simpletest/test/bad_test_suite.php b/3rdparty/simpletest/test/bad_test_suite.php
new file mode 100755
index 00000000000..b426013be40
--- /dev/null
+++ b/3rdparty/simpletest/test/bad_test_suite.php
@@ -0,0 +1,10 @@
+<?php
+require_once(dirname(__FILE__) . '/../autorun.php');
+
+class BadTestCases extends TestSuite {
+ function BadTestCases() {
+ $this->TestSuite('Two bad test cases');
+ $this->addFile(dirname(__FILE__) . '/support/empty_test_file.php');
+ }
+}
+?> \ No newline at end of file