From 376a5af2d258f87e2be75b667850436987c68a55 Mon Sep 17 00:00:00 2001 From: knut <> Date: Tue, 29 May 2007 20:29:10 +0000 Subject: upgraded unit test suite to use PHPUnit3 use "cd tests/; phpunit AllTests.php" to run the tests use "cd tests/; phpunit --report=coverage AllTests.php" to get a nice code coverage report (need xdebug) --- tests/unit/Collections/AllTests.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/unit/Collections/AllTests.php (limited to 'tests/unit/Collections/AllTests.php') diff --git a/tests/unit/Collections/AllTests.php b/tests/unit/Collections/AllTests.php new file mode 100644 index 00000000..c9da9132 --- /dev/null +++ b/tests/unit/Collections/AllTests.php @@ -0,0 +1,29 @@ +addTestSuite('TListTest'); + $suite->addTestSuite('TMapTest'); + + return $suite; + } +} + +if(PHPUnit_MAIN_METHOD == 'Collections_AllTests::main') { + Collections_AllTests::main(); +} +?> -- cgit v1.2.3