diff options
author | andy wharmby <wharmby@php.net> | 2009-09-11 21:57:04 +0000 |
---|---|---|
committer | andy wharmby <wharmby@php.net> | 2009-09-11 21:57:04 +0000 |
commit | 829e4529fbf9248301329c986952af70a51c52b2 (patch) | |
tree | eebf4c31e4ffbefc1c9ecd9e2e65889860599ac2 | |
parent | afe681c301b75356b6bf766bee02973e8a14968a (diff) | |
download | php-git-829e4529fbf9248301329c986952af70a51c52b2.tar.gz |
Add missing SKIPIF
-rwxr-xr-x | ext/dom/tests/DOMAttr_value_basic_001.phpt | 5 | ||||
-rwxr-xr-x | ext/dom/tests/DOMCharacterData_length_error_001.phpt | 7 | ||||
-rw-r--r-- | ext/dom/tests/DOMText_appendData_basic.phpt | 7 | ||||
-rw-r--r-- | ext/dom/tests/bug42082.phpt | 6 | ||||
-rw-r--r-- | ext/dom/tests/domdocument_createcomment_error_001.phpt | 7 | ||||
-rw-r--r-- | ext/dom/tests/domdocument_createentityreference_001.phpt | 9 | ||||
-rw-r--r-- | ext/dom/tests/domdocument_createentityreference_002.phpt | 7 |
7 files changed, 41 insertions, 7 deletions
diff --git a/ext/dom/tests/DOMAttr_value_basic_001.phpt b/ext/dom/tests/DOMAttr_value_basic_001.phpt index 2a2b52121d..40e00bcc4d 100755 --- a/ext/dom/tests/DOMAttr_value_basic_001.phpt +++ b/ext/dom/tests/DOMAttr_value_basic_001.phpt @@ -3,9 +3,14 @@ Read empty $value. --CREDIT-- Jason Bouffard <jbouffard1@yahoo.com> # TestFest Atlanta 2009-05-14 +--SKIPIF-- +<?php require_once('skipif.inc'); ?> --FILE-- <?php $attr = new DOMAttr('category'); print $attr->value."\n"; ?> +===DONE=== --EXPECTF-- +===DONE=== +
\ No newline at end of file diff --git a/ext/dom/tests/DOMCharacterData_length_error_001.phpt b/ext/dom/tests/DOMCharacterData_length_error_001.phpt index 87c9377b3d..0dda492ad4 100755 --- a/ext/dom/tests/DOMCharacterData_length_error_001.phpt +++ b/ext/dom/tests/DOMCharacterData_length_error_001.phpt @@ -3,10 +3,15 @@ Invalid State Error when getting length on DOMCharacterData out of content. --CREDIT-- Jason Bouffard <jbouffard1@yahoo.com> # TestFest Atlanta 2009-05-14 +--SKIPIF-- +<?php require_once('skipif.inc'); ?> --FILE-- <?php $character_data = new DOMCharacterData(); print $character_data->length; ?> +===DONE=== --EXPECTF-- -Warning: main(): Invalid State Error in %s
\ No newline at end of file +Warning: main(): Invalid State Error in %s +===DONE=== +
\ No newline at end of file diff --git a/ext/dom/tests/DOMText_appendData_basic.phpt b/ext/dom/tests/DOMText_appendData_basic.phpt index 6a28a9ae45..0eea699a76 100644 --- a/ext/dom/tests/DOMText_appendData_basic.phpt +++ b/ext/dom/tests/DOMText_appendData_basic.phpt @@ -3,6 +3,8 @@ DOMText::appendData basic functionality test --CREDITS-- Mike Sullivan <mike@regexia.com> #TestFest 2008 (London) +--SKIPIF-- +<?php require_once('skipif.inc'); ?> --FILE-- <?php @@ -26,10 +28,13 @@ echo "Text Content: " . $textnode->data . "\n"; echo "\n" . $document->saveXML(); ?> +===DONE=== --EXPECT-- Text Length (one append): 4 Text Length (two appends): 8 Text Content: data><&" <?xml version="1.0"?> -<root><text>data><&"</text></root>
\ No newline at end of file +<root><text>data><&"</text></root> +===DONE=== +
\ No newline at end of file diff --git a/ext/dom/tests/bug42082.phpt b/ext/dom/tests/bug42082.phpt index d1820c361a..85b91f68e6 100644 --- a/ext/dom/tests/bug42082.phpt +++ b/ext/dom/tests/bug42082.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #42082 (NodeList length zero should be empty) +--SKIPIF-- +<?php require_once('skipif.inc'); ?> --FILE-- <?php $doc = new DOMDocument(); @@ -14,6 +16,7 @@ $doc->loadXML("<element></element>"); var_dump($doc->firstChild->nodeValue, empty($doc->firstChild->nodeValue), isset($doc->firstChild->nodeValue)); var_dump(empty($doc->nodeType), empty($doc->firstChild->nodeType)) ?> +===DONE=== --EXPECTF-- object(DOMNodeList)#%d (0) { } @@ -25,4 +28,5 @@ bool(true) bool(true) bool(false) bool(false) - +===DONE=== +
\ No newline at end of file diff --git a/ext/dom/tests/domdocument_createcomment_error_001.phpt b/ext/dom/tests/domdocument_createcomment_error_001.phpt index 5df4e20473..24104a1a0b 100644 --- a/ext/dom/tests/domdocument_createcomment_error_001.phpt +++ b/ext/dom/tests/domdocument_createcomment_error_001.phpt @@ -2,10 +2,15 @@ DomDocument::CreateComment() - Incorrect Parameters --CREDITS-- Clint Priest @ PhpTek09 +--SKIPIF-- +<?php require_once('skipif.inc'); ?> --FILE-- <?php $x = new DomDocument(); $x->createComment(); ?> +===DONE=== --EXPECTF-- -Warning: DOMDocument::createComment() expects exactly 1 parameter, 0 given in %s
\ No newline at end of file +Warning: DOMDocument::createComment() expects exactly 1 parameter, 0 given in %s +===DONE=== +
\ No newline at end of file diff --git a/ext/dom/tests/domdocument_createentityreference_001.phpt b/ext/dom/tests/domdocument_createentityreference_001.phpt index 15f7df1881..7343e74cfd 100644 --- a/ext/dom/tests/domdocument_createentityreference_001.phpt +++ b/ext/dom/tests/domdocument_createentityreference_001.phpt @@ -2,12 +2,17 @@ DomDocument::CreateEntityReference() - Creates an entity reference with the appropriate name --CREDITS-- Clint Priest @ PhpTek09 +--SKIPIF-- +<?php require_once('skipif.inc'); ?> --FILE-- <?php $objDoc = new DomDocument(); $objRef = $objDoc->createEntityReference('Test'); - echo $objRef->nodeName; + echo $objRef->nodeName . "\n"; ?> +===DONE=== --EXPECT-- -Test
\ No newline at end of file +Test +===DONE=== +
\ No newline at end of file diff --git a/ext/dom/tests/domdocument_createentityreference_002.phpt b/ext/dom/tests/domdocument_createentityreference_002.phpt index 21d79aa4bb..a2416c2d89 100644 --- a/ext/dom/tests/domdocument_createentityreference_002.phpt +++ b/ext/dom/tests/domdocument_createentityreference_002.phpt @@ -2,11 +2,16 @@ DomDocument::CreateEntityReference() - Empty Arguments --CREDITS-- Clint Priest @ PhpTek09 +--SKIPIF-- +<?php require_once('skipif.inc'); ?> --FILE-- <?php $objDoc = new DomDocument(); $objRef = $objDoc->createEntityReference(); ?> +===DONE=== --EXPECTF-- -Warning: DOMDocument::createEntityReference() expects exactly 1 parameter, 0 given in %s
\ No newline at end of file +Warning: DOMDocument::createEntityReference() expects exactly 1 parameter, 0 given in %s +===DONE=== +
\ No newline at end of file |