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 --- .../HTMLPurifier/Injector/RemoveEmptyTest.php | 80 ---------------------- 1 file changed, 80 deletions(-) delete mode 100644 lib/htmlpurifier/tests/HTMLPurifier/Injector/RemoveEmptyTest.php (limited to 'lib/htmlpurifier/tests/HTMLPurifier/Injector/RemoveEmptyTest.php') diff --git a/lib/htmlpurifier/tests/HTMLPurifier/Injector/RemoveEmptyTest.php b/lib/htmlpurifier/tests/HTMLPurifier/Injector/RemoveEmptyTest.php deleted file mode 100644 index 34dbc9515..000000000 --- a/lib/htmlpurifier/tests/HTMLPurifier/Injector/RemoveEmptyTest.php +++ /dev/null @@ -1,80 +0,0 @@ -config->set('AutoFormat.RemoveEmpty', true); - } - - function testPreserve() { - $this->assertResult('asdf'); - } - - function testRemove() { - $this->assertResult('', ''); - } - - function testRemoveWithSpace() { - $this->assertResult(' ', ''); - } - - function testRemoveWithAttr() { - $this->assertResult('', ''); - } - - function testRemoveIdAndName() { - $this->assertResult('', ''); - } - - function testPreserveColgroup() { - $this->assertResult(''); - } - - function testPreserveId() { - $this->config->set('Attr.EnableID', true); - $this->assertResult(''); - } - - function testPreserveName() { - $this->config->set('Attr.EnableID', true); - $this->assertResult(''); - } - - function testRemoveNested() { - $this->assertResult('', ''); - } - - function testRemoveNested2() { - $this->assertResult('', ''); - } - - function testRemoveNested3() { - $this->assertResult(' ', ''); - } - - function testRemoveNbsp() { - $this->config->set('AutoFormat.RemoveEmpty.RemoveNbsp', true); - $this->assertResult(' ', ''); - } - - function testRemoveNbspMix() { - $this->config->set('AutoFormat.RemoveEmpty.RemoveNbsp', true); - $this->assertResult('   ', ''); - } - - function testDontRemoveNbsp() { - $this->config->set('AutoFormat.RemoveEmpty.RemoveNbsp', true); - $this->assertResult(' ', "\xC2\xA0"); - } - - function testRemoveNbspExceptionsSpecial() { - $this->config->set('AutoFormat.RemoveEmpty.RemoveNbsp', true); - $this->config->set('AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions', 'b'); - $this->assertResult(' ', "\xC2\xA0"); - } - -} - -// vim: et sw=4 sts=4 -- cgit v1.2.3