From ae4cb5963676bdd9415f1b6652942ed462026fc5 Mon Sep 17 00:00:00 2001 From: Tobias Sarnowski Date: Mon, 16 Apr 2012 17:36:10 +0000 Subject: unified unit and integration tests --- _testing/unittests/inc/parser/parser.inc.php | 45 ---------------------------- 1 file changed, 45 deletions(-) delete mode 100644 _testing/unittests/inc/parser/parser.inc.php (limited to '_testing/unittests/inc/parser/parser.inc.php') diff --git a/_testing/unittests/inc/parser/parser.inc.php b/_testing/unittests/inc/parser/parser.inc.php deleted file mode 100644 index 06c314ac6..000000000 --- a/_testing/unittests/inc/parser/parser.inc.php +++ /dev/null @@ -1,45 +0,0 @@ -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; -} -- cgit v1.2.3