summaryrefslogtreecommitdiff
path: root/inc/parser/tests/parser.group.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-03 09:45:21 +0200
committerandi <andi@splitbrain.org>2005-04-03 09:45:21 +0200
commit3ae0dd35df72193095029d06f5459b5243430140 (patch)
treeee4a1c86f3d881bd3656df2e5a292f57e9cc23c2 /inc/parser/tests/parser.group.php
parent0e1c636e20bd809a1d388e0c6f630b0ecda7086b (diff)
downloadrpg-3ae0dd35df72193095029d06f5459b5243430140.tar.gz
rpg-3ae0dd35df72193095029d06f5459b5243430140.tar.bz2
added unit tests
darcs-hash:20050403074521-9977f-d1a3c3a1200cab2d28789490ab3b49cd48691688.gz
Diffstat (limited to 'inc/parser/tests/parser.group.php')
-rw-r--r--inc/parser/tests/parser.group.php46
1 files changed, 46 insertions, 0 deletions
diff --git a/inc/parser/tests/parser.group.php b/inc/parser/tests/parser.group.php
new file mode 100644
index 000000000..ca9084127
--- /dev/null
+++ b/inc/parser/tests/parser.group.php
@@ -0,0 +1,46 @@
+<?php
+/**
+* @version $Id: parser.group.php,v 1.3 2005/03/30 13:42:10 harryf Exp $
+* @package Dokuwiki
+* @subpackage Tests
+*/
+
+/**
+* Init
+*/
+require_once('./testconfig.php');
+
+/**
+* @package Dokuwiki
+* @subpackage Tests
+*/
+class ParserGroupTest extends GroupTest {
+
+ function ParserGroupTest() {
+ $this->GroupTest('ParserGroupTest');
+ $this->addTestFile('parser_eol.test.php');
+ $this->addTestFile('parser_footnote.test.php');
+ $this->addTestFile('parser_formatting.test.php');
+ $this->addTestFile('parser_headers.test.php');
+ $this->addTestFile('parser_i18n.test.php');
+ $this->addTestFile('parser_links.test.php');
+ $this->addTestFile('parser_lists.test.php');
+ $this->addTestFile('parser_preformatted.test.php');
+ $this->addTestFile('parser_quote.test.php');
+ $this->addTestFile('parser_replacements.test.php');
+ $this->addTestFile('parser_table.test.php');
+ $this->addTestFile('parser_tocsections.test.php');
+ $this->addTestFile('parser_unformatted.test.php');
+ }
+
+}
+
+/**
+* Conditional test runner
+*/
+if (!defined('TEST_RUNNING')) {
+ define('TEST_RUNNING', true);
+ $test = &new ParserGroupTest();
+ $test->run(new HtmlReporter());
+}
+?>