obj = new HTMLPurifier_ChildDef_List (); } public function testEmptyInput() { $this->assertResult ( '', false ); } public function testSingleLi() { $this->assertResult ( '
  • ' ); } public function testSomeLi() { $this->assertResult ( '
  • asdf
  • ' ); } public function testOlAtBeginning() { $this->assertResult ( '
      ', '
      1. ' ); } public function testOlAtBeginningWithOtherJunk() { $this->assertResult ( '
        1. ', '
          1. ' ); } public function testOlInMiddle() { $this->assertResult ( '
          2. Foo
            1. Bar
            ', '
          3. Foo
            1. Bar
          4. ' ); } public function testMultipleOl() { $this->assertResult ( '
              1. ', '
                  1. ' ); } public function testUlAtBeginning() { $this->assertResult ( '
                      ', '
                      • ' ); } } // vim: et sw=4 sts=4