diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-05-01 22:58:57 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-05-01 22:58:57 +0200 |
commit | 050f8f4ddc32167e205a190eec9a60ad8f3caed5 (patch) | |
tree | d33554bde021d49cc7d802b4e053357e5e3b6b8f /_test/tests/inc/parser/parser_headers.test.php | |
parent | 3c0d44f1aa44d3ac3d8b9e652d172b1eda680bbf (diff) | |
download | rpg-050f8f4ddc32167e205a190eec9a60ad8f3caed5.tar.gz rpg-050f8f4ddc32167e205a190eec9a60ad8f3caed5.tar.bz2 |
removed unecessary requiresin unit tests
Diffstat (limited to '_test/tests/inc/parser/parser_headers.test.php')
-rw-r--r-- | _test/tests/inc/parser/parser_headers.test.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/_test/tests/inc/parser/parser_headers.test.php b/_test/tests/inc/parser/parser_headers.test.php index d7e5f0e42..a1bf7d2ba 100644 --- a/_test/tests/inc/parser/parser_headers.test.php +++ b/_test/tests/inc/parser/parser_headers.test.php @@ -21,7 +21,7 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testHeader2() { $this->P->addMode('header',new Doku_Parser_Mode_Header()); $this->P->parse("abc \n ===== Header ===== \n def"); @@ -40,7 +40,7 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testHeader3() { $this->P->addMode('header',new Doku_Parser_Mode_Header()); $this->P->parse("abc \n ==== Header ==== \n def"); @@ -59,7 +59,7 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testHeader4() { $this->P->addMode('header',new Doku_Parser_Mode_Header()); $this->P->parse("abc \n === Header === \n def"); @@ -78,7 +78,7 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testHeader5() { $this->P->addMode('header',new Doku_Parser_Mode_Header()); $this->P->parse("abc \n == Header == \n def"); @@ -116,7 +116,7 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testHeader2UnevenBigger() { $this->P->addMode('header',new Doku_Parser_Mode_Header()); $this->P->parse("abc \n ===== Header =========== \n def"); @@ -135,7 +135,7 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testHeaderLarge() { $this->P->addMode('header',new Doku_Parser_Mode_Header()); $this->P->parse("abc \n ======= Header ======= \n def"); @@ -154,7 +154,7 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testHeaderSmall() { $this->P->addMode('header',new Doku_Parser_Mode_Header()); $this->P->parse("abc \n= Header =\n def"); @@ -167,8 +167,8 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - - + + function testHeader1Mixed() { $this->P->addMode('header',new Doku_Parser_Mode_Header()); $this->P->parse("abc \n====== == Header == ======\n def"); @@ -206,7 +206,7 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testHeaderMultiline() { $this->P->addMode('header',new Doku_Parser_Mode_Header()); $this->P->parse("abc \n== ====== Header\n ====== ==\n def"); @@ -225,13 +225,13 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + # function testNoToc() { # $this->P->addMode('notoc',new Doku_Parser_Mode_NoToc()); # $this->P->parse('abc ~~NOTOC~~ def'); # $this->assertFalse($this->H->meta['toc']); # } - + function testHeader1Eol() { $this->P->addMode('header',new Doku_Parser_Mode_Header()); $this->P->addMode('eol',new Doku_Parser_Mode_Eol()); @@ -250,7 +250,7 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { array('document_end',array()), ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); - + } function testHeaderMulti2() { @@ -277,6 +277,6 @@ class TestOfDoku_Parser_Headers extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + } |