summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r--modules/simpletest/tests/unicode.test30
1 files changed, 0 insertions, 30 deletions
diff --git a/modules/simpletest/tests/unicode.test b/modules/simpletest/tests/unicode.test
index cdae50955..6e39d11a4 100644
--- a/modules/simpletest/tests/unicode.test
+++ b/modules/simpletest/tests/unicode.test
@@ -218,36 +218,6 @@ class UnicodeUnitTest extends DrupalWebTestCase {
}
}
- function testDecodeEntitiesExclusion() {
- $testcase = array(
- 'Drupal' => 'Drupal',
- '<script>' => '<script>',
- '&lt;script&gt;' => '&lt;script>',
- '&#60;script&#62;' => '&#60;script>',
- '&amp;lt;script&amp;gt;' => '&amp;lt;script&amp;gt;',
- '"' => '"',
- '&#34;' => '&#34;',
- '&amp;#34;' => '&amp;#34;',
- '&quot;' => '&quot;',
- '&amp;quot;' => '&amp;quot;',
- "'" => "'",
- '&#39;' => "'",
- '&amp;#39;' => '&amp;#39;',
- '©' => '©',
- '&copy;' => '©',
- '&#169;' => '©',
- '→' => '→',
- '&#8594;' => '→',
- '➼' => '➼',
- '&#10172;' => '➼',
- '&euro;' => '€',
- );
- $exclude = array('<', '&', '"');
- foreach ($testcase as $input => $output) {
- $this->assertIdentical(decode_entities($input, $exclude), $output, t('Make sure the decoded entity of %input, excluding %excludes, is %output', array('%input' => $input, '%excludes' => implode(',', $exclude), '%output' => $output)));
- }
- }
-
/**
* Tests truncate_utf8().
*/