From: andy wharmby Date: Fri, 11 Sep 2009 21:57:04 +0000 (+0000) Subject: Add missing SKIPIF X-Git-Tag: php-5.4.0alpha1~191^2~2662 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=829e4529fbf9248301329c986952af70a51c52b2;p=php Add missing SKIPIF --- 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 # TestFest Atlanta 2009-05-14 +--SKIPIF-- + --FILE-- 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 # TestFest Atlanta 2009-05-14 +--SKIPIF-- + --FILE-- 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 #TestFest 2008 (London) +--SKIPIF-- + --FILE-- data . "\n"; echo "\n" . $document->saveXML(); ?> +===DONE=== --EXPECT-- Text Length (one append): 4 Text Length (two appends): 8 Text Content: data><&" -data><&" \ No newline at end of file +data><&" +===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-- + --FILE-- loadXML(""); 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-- + --FILE-- 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-- + --FILE-- 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-- + --FILE-- 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