obj = new HTMLPurifier_Strategy_ValidateAttributes();
$this->config->set('HTML.TidyLevel', 'heavy');
}
public function testConvertCenterAlign()
{
$this->assertResult(
'
Centered Headline
',
'Centered Headline
'
);
}
public function testConvertRightAlign()
{
$this->assertResult(
'Right-aligned Headline
',
'Right-aligned Headline
'
);
}
public function testConvertLeftAlign()
{
$this->assertResult(
'Left-aligned Headline
',
'Left-aligned Headline
'
);
}
public function testConvertJustifyAlign()
{
$this->assertResult(
'Justified Paragraph
',
'Justified Paragraph
'
);
}
public function testRemoveInvalidAlign()
{
$this->assertResult(
'Invalid Headline
',
'Invalid Headline
'
);
}
public function testConvertTableLengths()
{
$this->assertResult(
' | |
',
' | |
'
);
}
public function testTdConvertNowrap()
{
$this->assertResult(
' | ',
' | '
);
}
public function testCaptionConvertAlignLeft()
{
$this->assertResult(
'',
''
);
}
public function testCaptionConvertAlignRight()
{
$this->assertResult(
'',
''
);
}
public function testCaptionConvertAlignTop()
{
$this->assertResult(
'',
''
);
}
public function testCaptionConvertAlignBottom()
{
$this->assertResult(
'',
''
);
}
public function testCaptionRemoveInvalidAlign()
{
$this->assertResult(
'',
''
);
}
public function testTableConvertAlignLeft()
{
$this->assertResult(
'',
''
);
}
public function testTableConvertAlignCenter()
{
$this->assertResult(
'',
''
);
}
public function testTableConvertAlignRight()
{
$this->assertResult(
'',
''
);
}
public function testTableRemoveInvalidAlign()
{
$this->assertResult(
'',
''
);
}
public function testImgConvertAlignLeft()
{
$this->assertResult(
'',
''
);
}
public function testImgConvertAlignRight()
{
$this->assertResult(
'',
''
);
}
public function testImgConvertAlignBottom()
{
$this->assertResult(
'',
''
);
}
public function testImgConvertAlignMiddle()
{
$this->assertResult(
'',
''
);
}
public function testImgConvertAlignTop()
{
$this->assertResult(
'',
''
);
}
public function testImgRemoveInvalidAlign()
{
$this->assertResult(
'',
''
);
}
public function testBorderConvertHVSpace()
{
$this->assertResult(
'',
''
);
}
public function testHrConvertSize()
{
$this->assertResult(
'
',
'
'
);
}
public function testHrConvertNoshade()
{
$this->assertResult(
'
',
'
'
);
}
public function testHrConvertAlignLeft()
{
$this->assertResult(
'
',
'
'
);
}
public function testHrConvertAlignCenter()
{
$this->assertResult(
'
',
'
'
);
}
public function testHrConvertAlignRight()
{
$this->assertResult(
'
',
'
'
);
}
public function testHrRemoveInvalidAlign()
{
$this->assertResult(
'
',
'
'
);
}
public function testBrConvertClearLeft()
{
$this->assertResult(
'
',
'
'
);
}
public function testBrConvertClearRight()
{
$this->assertResult(
'
',
'
'
);
}
public function testBrConvertClearAll()
{
$this->assertResult(
'
',
'
'
);
}
public function testBrConvertClearNone()
{
$this->assertResult(
'
',
'
'
);
}
public function testBrRemoveInvalidClear()
{
$this->assertResult(
'
',
'
'
);
}
public function testUlConvertTypeDisc()
{
$this->assertResult(
'',
''
);
}
public function testUlConvertTypeSquare()
{
$this->assertResult(
'',
''
);
}
public function testUlConvertTypeCircle()
{
$this->assertResult(
'',
''
);
}
public function testUlConvertTypeCaseInsensitive()
{
$this->assertResult(
'',
''
);
}
public function testUlRemoveInvalidType()
{
$this->assertResult(
'',
''
);
}
public function testOlConvertType1()
{
$this->assertResult(
'
',
'
'
);
}
public function testOlConvertTypeLowerI()
{
$this->assertResult(
'
',
'
'
);
}
public function testOlConvertTypeUpperI()
{
$this->assertResult(
'
',
'
'
);
}
public function testOlConvertTypeLowerA()
{
$this->assertResult(
'
',
'
'
);
}
public function testOlConvertTypeUpperA()
{
$this->assertResult(
'
',
'
'
);
}
public function testOlRemoveInvalidType()
{
$this->assertResult(
'
',
'
'
);
}
public function testLiConvertTypeCircle()
{
$this->assertResult(
'',
''
);
}
public function testLiConvertTypeA()
{
$this->assertResult(
'',
''
);
}
public function testLiConvertTypeCaseSensitive()
{
$this->assertResult(
'',
''
);
}
}
// vim: et sw=4 sts=4