From a32679e69f7d6c265f85015677743272740dcc8e Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 12 Jan 2011 15:54:35 +0000 Subject: Unlinked externals, removed development stuff and updated versions --- tests/html_to_text.php | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 tests/html_to_text.php (limited to 'tests/html_to_text.php') diff --git a/tests/html_to_text.php b/tests/html_to_text.php deleted file mode 100644 index c1d40d930..000000000 --- a/tests/html_to_text.php +++ /dev/null @@ -1,46 +0,0 @@ -UnitTestCase("HTML-to-Text conversion tests"); - - } - - function test_html2text() - { - $data = array( - 0 => array( - 'title' => 'Test entry', - 'in' => '', - 'out' => '', - ), - 1 => array( - 'title' => 'Basic HTML entities', - 'in' => '"&', - 'out' => '"&', - ), - 2 => array( - 'title' => 'HTML entity string', - 'in' => '"', - 'out' => '"', - ), - ); - - $ht = new html2text(null, false, false); - - foreach ($data as $item) { - $ht->set_html($item['in']); - $res = $ht->get_text(); - $this->assertEqual($item['out'], $res, $item['title']); - } - } - -} -- cgit v1.2.3