diff options
author | chris <chris@jalakai.co.uk> | 2006-08-09 21:21:15 +0200 |
---|---|---|
committer | chris <chris@jalakai.co.uk> | 2006-08-09 21:21:15 +0200 |
commit | 742c66f88fe7a65996ebfb3800910c99bdff1a8f (patch) | |
tree | 1190dddbcf89a12d0a2ceeacd1eab87968df67ad /_test/cases/inc/parser/parser.test.php | |
parent | 74c0c50443b26fe6747fca8e267b335d6858c783 (diff) | |
download | rpg-742c66f88fe7a65996ebfb3800910c99bdff1a8f.tar.gz rpg-742c66f88fe7a65996ebfb3800910c99bdff1a8f.tar.bz2 |
more unit test fixes
- move parser.test.php
darcs-hash:20060809192115-9b6ab-973fea51fbfdcf5f44a2ac66000f2ccb5fdd43b4.gz
Diffstat (limited to '_test/cases/inc/parser/parser.test.php')
-rw-r--r-- | _test/cases/inc/parser/parser.test.php | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/_test/cases/inc/parser/parser.test.php b/_test/cases/inc/parser/parser.test.php deleted file mode 100644 index a5a0118ed..000000000 --- a/_test/cases/inc/parser/parser.test.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** -* @version $Id: parser.test.php,v 1.2 2005/03/25 21:00:22 harryf Exp $ -* @package Doku -* @subpackage Tests -*/ - -/** -* Includes -*/ -require_once DOKU_INC . 'inc/parser/parser.php'; -require_once DOKU_INC . 'inc/parser/handler.php'; -require_once DOKU_INC . 'inc/events.php'; -//require_once DOKU . 'parser/renderer.php'; - -//Mock::generate('Doku_Renderer'); - -/** -* @package Doku -* @subpackage Tests -*/ -class TestOfDoku_Parser extends UnitTestCase { - - var $P; - var $H; - - function TestOfDoku_Parser() { - $this->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]); - if ($call[0] == "nest") { - $call[1][0] = array_map('stripByteIndex',$call[1][0]); - } - return $call; -} - |