From c13104acf0edfa5c08738d32e26ae51ea7e4407c Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 22 Oct 2005 01:23:28 +0200 Subject: 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 --- _test/cases/inc/parser/parser.test.php | 46 ++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 _test/cases/inc/parser/parser.test.php (limited to '_test/cases/inc/parser/parser.test.php') diff --git a/_test/cases/inc/parser/parser.test.php b/_test/cases/inc/parser/parser.test.php new file mode 100644 index 000000000..c760c127a --- /dev/null +++ b/_test/cases/inc/parser/parser.test.php @@ -0,0 +1,46 @@ +UnitTestCase('TestOfDoku_Parser'); + } + + function setup() { + $this->P = & new Doku_Parser(); + $this->H = & new Doku_Handler(); + $this->P->Handler = & $this->H; + } + + function tearDown() { + unset($this->P); + unset($this->H); + } +} + +function stripByteIndex($call) { + unset($call[2]); + return $call; +} + -- cgit v1.2.3