Permalink
Browse files

Delete the test, we are using another one

git-svn-id: http://svn.php.net/repository/pear/packages/HTML_Safe/trunk@290182 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 9746f20 commit 9e35ba7f55c9ca738d2bf9a59dd3b44e41fe36c0 Miguel Vazquez Gocobachi committed Nov 3, 2009
Showing with 0 additions and 36 deletions.
  1. +0 −36 test/HTML_SafeTest.php
View
@@ -1,36 +0,0 @@
-<?php
-require_once 'PHPUnit/Framework/TestCase.php';
-
-require_once 'HTML/Safe.php';
-
-class HTML_SafeTest extends PHPUnit_Framework_TestCase {
-
-
- public function testShouldParseCorrectly() {
- $this->markTestIncomplete("Implement test coverage of parse() under a number of scenarios");
- /*
- function HTML_Safe()
- function _closeHandler(&$parser, $name)
- function _closeTag($tag)
- function _dataHandler(&$parser, $data)
- function _escapeHandler(&$parser, $data)
- function _openHandler(&$parser, $name, $attrs)
- function _writeAttrs ($attrs)
- function clear()
- function getXHTML ()
- function parse($doc)
- function repackUTF7($str)
- function repackUTF7Back($str)
- function repackUTF7Callback($str)
- */
- }
-
- public function testShouldRespectAllowTags() {
- $input = '<html><body><p>my text</p></body></html>';
- $expected = '<body><p>my text</p></body>';
-
- $safe = new HTML_Safe();
- $safe->setAllowTags(array('body'));
- $this->assertSame($expected, $safe->parse($input));
- }
-}

0 comments on commit 9e35ba7

Please sign in to comment.