obj = new HTMLPurifier_ChildDef_List();
}
function testEmptyInput() {
$this->assertResult('', false);
}
function testSingleLi() {
$this->assertResult('
');
}
function testSomeLi() {
$this->assertResult('asdf');
}
function testIllegal() {
// XXX actually this never gets triggered in practice
$this->assertResult('', '');
}
function testOlAtBeginning() {
$this->assertResult('
', '
');
}
function testOlAtBeginningWithOtherJunk() {
$this->assertResult('
', '
');
}
function testOlInMiddle() {
$this->assertResult('Foo- Bar
', 'Foo- Bar
');
}
function testMultipleOl() {
$this->assertResult('
', '
');
}
function testUlAtBeginning() {
$this->assertResult('', '');
}
}
// vim: et sw=4 sts=4