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('
', '
');
}
public function testOlAtBeginningWithOtherJunk()
{
$this->assertResult('
', '
');
}
public function testOlInMiddle()
{
$this->assertResult('Foo- Bar
', 'Foo- Bar
');
}
public function testMultipleOl()
{
$this->assertResult('
', '
');
}
public function testUlAtBeginning()
{
$this->assertResult('', '');
}
}
// vim: et sw=4 sts=4