diff options
author | friendica <info@friendica.com> | 2012-07-18 03:59:10 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-18 03:59:10 -0700 |
commit | 22cf19e174bcee88b44968f2773d1bad2da2b54d (patch) | |
tree | f4e01db6f73754418438b020c2327e18c256653c /lib/htmlpurifier/tests/HTMLPurifier/ChildDef/ListTest.php | |
parent | 7a40f4354b32809af3d0cfd6e3af0eda02ab0e0a (diff) | |
download | volse-hubzilla-22cf19e174bcee88b44968f2773d1bad2da2b54d.tar.gz volse-hubzilla-22cf19e174bcee88b44968f2773d1bad2da2b54d.tar.bz2 volse-hubzilla-22cf19e174bcee88b44968f2773d1bad2da2b54d.zip |
bad sync with github windows client
Diffstat (limited to 'lib/htmlpurifier/tests/HTMLPurifier/ChildDef/ListTest.php')
-rw-r--r-- | lib/htmlpurifier/tests/HTMLPurifier/ChildDef/ListTest.php | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/lib/htmlpurifier/tests/HTMLPurifier/ChildDef/ListTest.php b/lib/htmlpurifier/tests/HTMLPurifier/ChildDef/ListTest.php deleted file mode 100644 index 02dcab0fb..000000000 --- a/lib/htmlpurifier/tests/HTMLPurifier/ChildDef/ListTest.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php - -class HTMLPurifier_ChildDef_ListTest extends HTMLPurifier_ChildDefHarness -{ - - function setUp() { - parent::setUp(); - $this->obj = new HTMLPurifier_ChildDef_List(); - } - - function testEmptyInput() { - $this->assertResult('', false); - } - - function testSingleLi() { - $this->assertResult('<li />'); - } - - function testSomeLi() { - $this->assertResult('<li>asdf</li><li />'); - } - - function testIllegal() { - // XXX actually this never gets triggered in practice - $this->assertResult('<li /><b />', '<li /><li><b /></li>'); - } - - function testOlAtBeginning() { - $this->assertResult('<ol />', '<li><ol /></li>'); - } - - function testOlAtBeginningWithOtherJunk() { - $this->assertResult('<ol /><li />', '<li><ol /></li><li />'); - } - - function testOlInMiddle() { - $this->assertResult('<li>Foo</li><ol><li>Bar</li></ol>', '<li>Foo<ol><li>Bar</li></ol></li>'); - } - - function testMultipleOl() { - $this->assertResult('<li /><ol /><ol />', '<li><ol /><ol /></li>'); - } - - function testUlAtBeginning() { - $this->assertResult('<ul />', '<li><ul /></li>'); - } - -} - -// vim: et sw=4 sts=4 |