From ee3e27dc09e7fc896d863f28d8d9b39b209cfebc Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Wed, 26 Dec 2012 13:58:06 -0500
Subject: [PATCH] Rename/remove invalid localization files from last launchpad import
---
tests/Framework/Html.php | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/tests/Framework/Html.php b/tests/Framework/Html.php
index 107f828..60284de 100644
--- a/tests/Framework/Html.php
+++ b/tests/Framework/Html.php
@@ -17,4 +17,29 @@
$this->assertInstanceOf('html', $object, "Class constructor");
}
+
+ /**
+ * Data for test_quote()
+ */
+ function data_quote()
+ {
+ return array(
+ array('abc', 'abc'),
+ array('?', '?'),
+ array('"', '"'),
+ array('<', '<'),
+ array('>', '>'),
+ array('&', '&'),
+ array('&', '&amp;'),
+ );
+ }
+
+ /**
+ * Test for quote()
+ * @dataProvider data_quote
+ */
+ function test_quote($str, $result)
+ {
+ $this->assertEquals(html::quote($str), $result);
+ }
}
--
Gitblit v1.9.1