From 06e5e585ab84b129deb1b9cd82d02346716402f5 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sat, 10 Jan 2009 12:19:41 -0500 Subject: [PATCH] Rdo test stub --- framework/Rdo/test/Horde/Rdo/AllTests.php | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 framework/Rdo/test/Horde/Rdo/AllTests.php diff --git a/framework/Rdo/test/Horde/Rdo/AllTests.php b/framework/Rdo/test/Horde/Rdo/AllTests.php new file mode 100644 index 000000000..85f505ae0 --- /dev/null +++ b/framework/Rdo/test/Horde/Rdo/AllTests.php @@ -0,0 +1,46 @@ +isFile() && preg_match('/Test.php$/', $file->getFilename())) { + $pathname = $file->getPathname(); + require $pathname; + + $class = str_replace(DIRECTORY_SEPARATOR, '_', + preg_replace("/^$baseregexp(.*)\.php/", '\\1', $pathname)); + $suite->addTestSuite('Horde_Rdo_' . $class); + } + } + + return $suite; + } + +} + +if (PHPUnit_MAIN_METHOD == 'Horde_Rdo_AllTests::main') { + Horde_Rdo_AllTests::main(); +} -- 2.11.0