From e4c38fc1f0ee6a9ef4de33b4b472ed9db0778cb6 Mon Sep 17 00:00:00 2001 From: andy wharmby Date: Fri, 11 Sep 2009 21:57:04 +0000 Subject: [PATCH] Add missing SKIPIF --- ext/dom/tests/DOMAttr_value_basic_001.phpt | 5 +++++ ext/dom/tests/DOMCharacterData_length_error_001.phpt | 7 ++++++- ext/dom/tests/DOMText_appendData_basic.phpt | 7 ++++++- ext/dom/tests/bug42082.phpt | 7 ++++++- ext/dom/tests/domdocument_createcomment_error_001.phpt | 7 ++++++- ext/dom/tests/domdocument_createentityreference_001.phpt | 9 +++++++-- ext/dom/tests/domdocument_createentityreference_002.phpt | 7 ++++++- 7 files changed, 42 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 # 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 86f32dd8d9..ab018a7774 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) { } @@ -24,4 +27,6 @@ string(0) "" bool(true) bool(true) bool(false) -bool(false) \ No newline at end of file +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 -- 2.49.0