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 --- .../tests/HTMLPurifier/HTMLModule/FormsTest.php | 155 --------------------- 1 file changed, 155 deletions(-) delete mode 100644 lib/htmlpurifier/tests/HTMLPurifier/HTMLModule/FormsTest.php (limited to 'lib/htmlpurifier/tests/HTMLPurifier/HTMLModule/FormsTest.php') diff --git a/lib/htmlpurifier/tests/HTMLPurifier/HTMLModule/FormsTest.php b/lib/htmlpurifier/tests/HTMLPurifier/HTMLModule/FormsTest.php deleted file mode 100644 index 5bc4c99c3..000000000 --- a/lib/htmlpurifier/tests/HTMLPurifier/HTMLModule/FormsTest.php +++ /dev/null @@ -1,155 +0,0 @@ -config->set('HTML.Trusted', true); - $this->config->set('Attr.EnableID', true); - } - - function testBasicUse() { - $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); - $this->assertResult( // need support for label for later - ' -
-

- -
- -
- -
- Male
- Female
- -

-
' - ); - } - - function testSelectOption() { - $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); - $this->assertResult(' -
-

- - -

-
- '); - } - - function testSelectOptgroup() { - $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); - $this->assertResult(' -
-

- -

-
- '); - } - - function testTextarea() { - $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); - $this->assertResult(' -
-

- - -

-
- '); - } - - // label tests omitted - - function testFieldset() { - $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); - $this->assertResult(' -
-
- Personal Information - Last Name: - First Name: - Address: - ...more personal information... -
-
- Medical History - Smallpox - Mumps - Dizziness - Sneezing - ...more medical history... -
-
- Current Medication - Are you currently taking any medication? - Yes - No - - If you are currently taking medication, please indicate - it in the space below: - -
-
- '); - } - - function testInputTransform() { - $this->config->set('HTML.Doctype', 'XHTML 1.0 Strict'); - $this->assertResult('', ''); - } - - function testTextareaTransform() { - $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); - $this->assertResult('', ''); - } - - function testTextInFieldset() { - $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); - $this->assertResult('
foo
'); - } - - function testStrict() { - $this->config->set('HTML.Doctype', 'HTML 4.01 Strict'); - $this->assertResult('
', ''); - } - - function testLegacy() { - $this->assertResult('
'); - $this->assertResult('
'); - } - -} - -// vim: et sw=4 sts=4 -- cgit v1.2.3