diff options
author | SVN Migration <svn@php.net> | 2006-10-15 21:09:28 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2006-10-15 21:09:28 +0000 |
commit | 88ec761548b66f58acc1a86cdd0fc164ca925476 (patch) | |
tree | d0af978fa00d83bb1d82c613f66477fbd6bb18aa /ext/tidy/tests/023.phpt | |
parent | 268984b4787e797db6054313fc9ba3b9e845306e (diff) | |
download | php-git-PECL_OPENSSL.tar.gz |
This commit was manufactured by cvs2svn to create branch 'PECL_OPENSSL'.PECL_OPENSSL
Diffstat (limited to 'ext/tidy/tests/023.phpt')
-rw-r--r-- | ext/tidy/tests/023.phpt | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/ext/tidy/tests/023.phpt b/ext/tidy/tests/023.phpt deleted file mode 100644 index e7ee4b3c0c..0000000000 --- a/ext/tidy/tests/023.phpt +++ /dev/null @@ -1,49 +0,0 @@ ---TEST-- -tidy and tidyNode OO ---SKIPIF-- -<?php if (!extension_loaded('tidy')) echo 'skip'; ?> ---FILE-- -<?php - -//test leaks here: -new tidyNode(); -var_dump(new tidyNode()); -new tidy(); -var_dump(new tidy()); - -echo "-------\n"; - -$x = new tidyNode(); -var_dump($x->isHtml()); - -$tidy = new tidy(); -$tidy->parseString('<html><?php echo "xpto;" ?></html>'); - -var_dump(tidy_get_root($tidy)->child[0]->isHtml()); -var_dump(tidy_get_root($tidy)->child[0]->child[0]->isPHP()); -var_dump(tidy_get_root($tidy)->child[0]->child[0]->isAsp()); -var_dump(tidy_get_root($tidy)->child[0]->child[0]->isJste()); -var_dump(tidy_get_root($tidy)->child[0]->child[0]->type === TIDY_NODETYPE_PHP); - -var_dump(tidy_get_root($tidy)->child[0]->hasChildren()); -var_dump(tidy_get_root($tidy)->child[0]->child[0]->hasChildren()); - -?> ---EXPECT-- -object(tidyNode)#1 (0) { -} -object(tidy)#1 (2) { - ["errorBuffer"]=> - NULL - ["value"]=> - NULL -} -------- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -bool(true) -bool(true) -bool(false) |