From d8a5adc285fbd9237d7c3140f6d6a11b6eceaaee Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 18 Dec 2008 10:59:43 +0000 Subject: Major refactoring: improve tests process. add a main file called allTests.php. git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@203 b3834d28-1941-0410-a4f8-b48e95affb8f --- tests/allTests.php | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 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..843911c --- /dev/null +++ b/tests/allTests.php @@ -0,0 +1,39 @@ +addTestFile('tests/bookmarksTest.php'); + $suite->addTestFile('tests/tag2TagTest.php'); + $suite->addTestFile('tests/tagsCacheTest.php'); + $suite->addTestFile('tests/commonDescriptionTest.php'); + $suite->addTestFile('tests/searchTest.php'); + $suite->addTestFile('tests/tagsTest.php'); + return $suite; + } + + protected function setUp() + { + global $dbhost, $dbuser, $dbpass, $dbname, $dbport, $dbpersist, $dbtype, $tableprefix, $TEMPLATES_DIR, $filetypes, $debugMode; + require_once('./header.inc.php'); + } + + protected function tearDown() + { + } +} +?> \ No newline at end of file -- cgit v1.2.3