From 8c893b79d230cc844226bdf3b1de95cd5a99ecb2 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli
Date: Thu, 30 Jan 2014 09:12:57 +0100
Subject: Branching off for release 1.0
---
tests/Framework/Washtml.php | 127 --------------------------------------------
1 file changed, 127 deletions(-)
delete mode 100644 tests/Framework/Washtml.php
(limited to 'tests/Framework/Washtml.php')
diff --git a/tests/Framework/Washtml.php b/tests/Framework/Washtml.php
deleted file mode 100644
index 7485d4383..000000000
--- a/tests/Framework/Washtml.php
+++ /dev/null
@@ -1,127 +0,0 @@
-Firefox'
- .'Internet Explorer
';
-
- $washer = new rcube_washtml;
- $washed = $washer->wash($html);
-
- $this->assertNotRegExp('/data:text/', $washed, "Remove data:text/html links");
- $this->assertNotRegExp('/vbscript:/', $washed, "Remove vbscript: links");
- }
-
- /**
- * Test fixing of invalid href (#1488940)
- */
- function test_href()
- {
- $html = "Firefox";
-
- $washer = new rcube_washtml;
- $washed = $washer->wash($html);
-
- $this->assertRegExp('|href="http://test.com">|', $washed, "Link href with newlines (#1488940)");
- }
-
- /**
- * Test handling HTML comments
- */
- function test_comments()
- {
- $washer = new rcube_washtml;
-
- $html = "
p2
";
- $washed = $washer->wash($html);
-
- $this->assertEquals('p2
', $washed, "HTML conditional comments (#1489004)");
-
- $html = "test
', $washed, "HTML invalid comments (#1487759)");
- }
-
- /**
- * Test fixing of invalid self-closing elements (#1489137)
- */
- function test_self_closing()
- {
- $html = "