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