summaryrefslogtreecommitdiff
path: root/tests/Framework/Html.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-01-30 09:12:57 +0100
committerThomas Bruederli <thomas@roundcube.net>2014-01-30 09:12:57 +0100
commit8c893b79d230cc844226bdf3b1de95cd5a99ecb2 (patch)
treef8e6e1df519c9b85bd16bdc31f1ae6a3b16ce6e7 /tests/Framework/Html.php
parent1978ae97a5e0feb8d205c5fcbaa2cc16ce3ffc28 (diff)
Branching off for release 1.0
Diffstat (limited to 'tests/Framework/Html.php')
-rw-r--r--tests/Framework/Html.php45
1 files changed, 0 insertions, 45 deletions
diff --git a/tests/Framework/Html.php b/tests/Framework/Html.php
deleted file mode 100644
index 60284deef..000000000
--- a/tests/Framework/Html.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-/**
- * Test class to test rcube_html class
- *
- * @package Tests
- */
-class Framework_Html extends PHPUnit_Framework_TestCase
-{
-
- /**
- * Class constructor
- */
- function test_class()
- {
- $object = new html;
-
- $this->assertInstanceOf('html', $object, "Class constructor");
- }
-
- /**
- * Data for test_quote()
- */
- function data_quote()
- {
- return array(
- array('abc', 'abc'),
- array('?', '?'),
- array('"', '&quot;'),
- array('<', '&lt;'),
- array('>', '&gt;'),
- array('&', '&amp;'),
- array('&amp;', '&amp;amp;'),
- );
- }
-
- /**
- * Test for quote()
- * @dataProvider data_quote
- */
- function test_quote($str, $result)
- {
- $this->assertEquals(html::quote($str), $result);
- }
-}