diff options
author | Andreas Gohr <andi@splitbrain.org> | 2005-10-22 01:23:28 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2005-10-22 01:23:28 +0200 |
commit | c13104acf0edfa5c08738d32e26ae51ea7e4407c (patch) | |
tree | 23141f0c865563590d33003fcbb5173d2ed0b53c /inc/parser/tests/alltests.all.php | |
parent | aa11db09d61b813593c2ed7d91b329f98ae7010a (diff) | |
download | rpg-c13104acf0edfa5c08738d32e26ae51ea7e4407c.tar.gz rpg-c13104acf0edfa5c08738d32e26ae51ea7e4407c.tar.bz2 |
moved parser tests to new test environment
The parser tests are outdated and need to be adjusted. Currently 71 tests
fail. Others are probably missing.
darcs-hash:20051021232328-7ad00-c1d62951dad810dc73f8e78ae82f37465c21c261.gz
Diffstat (limited to 'inc/parser/tests/alltests.all.php')
-rw-r--r-- | inc/parser/tests/alltests.all.php | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/inc/parser/tests/alltests.all.php b/inc/parser/tests/alltests.all.php deleted file mode 100644 index 993553eb2..000000000 --- a/inc/parser/tests/alltests.all.php +++ /dev/null @@ -1,48 +0,0 @@ -<?php -/** -* @version $Id: alltests.all.php,v 1.2 2005/03/25 21:00:22 harryf Exp $ -* @package Dokuwiki -* @subpackage Tests -*/ -/** -* Init -*/ -require_once('./testconfig.php'); - -define("TEST_RUNNING", true); - -/** -* @package Dokuwiki -* @subpackage Tests -*/ -class AllTests extends GroupTest { - - function AllTests() { - $this->GroupTest('All Dokuwiki PHP Tests'); - $this->loadGroups(); - } - - function loadGroups() { - if ( $d = opendir('.') ) { - while (($file = readdir($d)) !== false) { - if ( is_file('./'.$file) ) { - $farray = explode('.',$file); - if ( $farray[1] == 'group' ) { - $classname = ucfirst($farray[0]).'GroupTest'; - require_once './'.$file; - $this->AddTestCase(new $classname); - } - } - } - closedir($d); - } - } - -} - -/** -* Run the tests -*/ -$test = &new AllTests(); -$test->run(new HtmlReporter()); -?> |