summaryrefslogtreecommitdiff
path: root/inc/parser/tests/alltests.all.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/tests/alltests.all.php')
-rw-r--r--inc/parser/tests/alltests.all.php48
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());
-?>