From de031f043f9918424b26534d233df90b7d5c42f9 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 3 Oct 2009 23:18:49 +0000 Subject: make tests run again (though they do not pass) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@389 b3834d28-1941-0410-a4f8-b48e95affb8f --- tests/AllTests.php | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 tests/AllTests.php (limited to 'tests/AllTests.php') diff --git a/tests/AllTests.php b/tests/AllTests.php new file mode 100644 index 0000000..1526da8 --- /dev/null +++ b/tests/AllTests.php @@ -0,0 +1,58 @@ +addTestFile($tdir . '/BookmarksTest.php'); + $suite->addTestFile($tdir . '/Tag2TagTest.php'); + $suite->addTestFile($tdir . '/TagsCacheTest.php'); + $suite->addTestFile($tdir . '/CommonDescriptionTest.php'); + $suite->addTestFile($tdir . '/SearchTest.php'); + $suite->addTestFile($tdir . '/TagsTest.php'); + return $suite; + } + + protected function setUp() + { + global $dbhost, $dbuser, $dbpass, $dbname, $dbport, $dbpersist, $dbtype, + $tableprefix, $TEMPLATES_DIR, $filetypes, $debugMode; + require_once dirname(__FILE__) . '/../src/SemanticScuttle/header.php'; + } + + protected function tearDown() + { + } +} + +if (PHPUnit_MAIN_METHOD == 'AllTests::main') { + AllTests::main(); +} + +?> \ No newline at end of file -- cgit v1.2.3-54-g00ecf