From 78ba1d1361022aab0487e572f728d01e17bc2f2c Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 17 Oct 2010 16:37:44 -0400 Subject: [PATCH] Splitting up test suites. --- .../cases/console/all_console_libs.test.php | 44 +++++++++++++++++++ cake/tests/cases/console/all_shells.test.php | 6 +-- 2 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 cake/tests/cases/console/all_console_libs.test.php diff --git a/cake/tests/cases/console/all_console_libs.test.php b/cake/tests/cases/console/all_console_libs.test.php new file mode 100644 index 000000000..70fb8746d --- /dev/null +++ b/cake/tests/cases/console/all_console_libs.test.php @@ -0,0 +1,44 @@ +addTestDirectory($path); + return $suite; + } +} \ No newline at end of file diff --git a/cake/tests/cases/console/all_shells.test.php b/cake/tests/cases/console/all_shells.test.php index f830839bb..7f657af82 100644 --- a/cake/tests/cases/console/all_shells.test.php +++ b/cake/tests/cases/console/all_shells.test.php @@ -36,12 +36,8 @@ class AllShellsTest extends PHPUnit_Framework_TestSuite { public static function suite() { $suite = new CakeTestSuite('All shell classes'); - $path = CORE_TEST_CASES . DS . 'console' . DS . 'libs' . DS; + $path = CORE_TEST_CASES . DS . 'console' . DS . 'shells' . DS; - $suite->addTestFile(CORE_TEST_CASES . DS . 'console' . DS . 'shell_dispatcher.test.php'); - $suite->addTestFile(CORE_TEST_CASES . DS . 'console' . DS . 'console_output.test.php'); - $suite->addTestFile(CORE_TEST_CASES . DS . 'console' . DS . 'console_error_handler.test.php'); - $suite->addTestFile(CORE_TEST_CASES . DS . 'console' . DS . 'console_option_parser.test.php'); $suite->addTestDirectory($path); return $suite; }