From 22cf19e174bcee88b44968f2773d1bad2da2b54d Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 18 Jul 2012 03:59:10 -0700 Subject: bad sync with github windows client --- .../Strategy/ValidateAttributes_TidyTest.php | 351 --------------------- 1 file changed, 351 deletions(-) delete mode 100644 lib/htmlpurifier/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php (limited to 'lib/htmlpurifier/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php') diff --git a/lib/htmlpurifier/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php b/lib/htmlpurifier/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php deleted file mode 100644 index d4eeeebfc..000000000 --- a/lib/htmlpurifier/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php +++ /dev/null @@ -1,351 +0,0 @@ -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( - 'foobar', - 'foobar' - ); - } - - function testImgConvertAlignRight() { - $this->assertResult( - 'foobar', - 'foobar' - ); - } - - function testImgConvertAlignBottom() { - $this->assertResult( - 'foobar', - 'foobar' - ); - } - - function testImgConvertAlignMiddle() { - $this->assertResult( - 'foobar', - 'foobar' - ); - } - - function testImgConvertAlignTop() { - $this->assertResult( - 'foobar', - 'foobar' - ); - } - - function testImgRemoveInvalidAlign() { - $this->assertResult( - 'foobar', - 'foobar' - ); - } - - function testBorderConvertHVSpace() { - $this->assertResult( - 'foo', - 'foo' - ); - } - - 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( - '