From 73b11a40be224a2e12eda75aeb72d3f2a72f7477 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 24 Oct 2009 08:01:07 +0000 Subject: make it possible to run other tests standalone, too git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@398 b3834d28-1941-0410-a4f8-b48e95affb8f --- tests/AllTests.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tests/AllTests.php') diff --git a/tests/AllTests.php b/tests/AllTests.php index db3ebfe..c4429a3 100644 --- a/tests/AllTests.php +++ b/tests/AllTests.php @@ -27,6 +27,7 @@ class AllTests extends PHPUnit_Framework_TestSuite } + public static function suite() { $suite = new AllTests(); @@ -40,12 +41,7 @@ class AllTests extends PHPUnit_Framework_TestSuite 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() { -- cgit v1.2.3-54-g00ecf