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/Enriched.php | 74 -------------------------------------------- 1 file changed, 74 deletions(-) delete mode 100644 tests/Framework/Enriched.php (limited to 'tests/Framework/Enriched.php') diff --git a/tests/Framework/Enriched.php b/tests/Framework/Enriched.php deleted file mode 100644 index 26bbc3b4e..000000000 --- a/tests/Framework/Enriched.php +++ /dev/null @@ -1,74 +0,0 @@ -assertInstanceOf('rcube_enriched', $object, "Class constructor"); - } - - /** - * Test to_html() - */ - function test_to_html() - { - $enriched = 'the-text'; - $expected = 'the-text'; - $result = rcube_enriched::to_html($enriched); - - $this->assertSame($expected, $result); - } - - /** - * Data for test_formatting() - */ - function data_formatting() - { - return array( - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - array('', ''), - ); - } - - /** - * Test formatting conversion - * @dataProvider data_formatting - */ - function test_formatting($enriched, $expected) - { - $result = rcube_enriched::to_html($enriched); - - $this->assertSame($expected, $result); - } -} -- cgit v1.2.3