ant             Mon Dec  1 11:30:11 2008 UTC

  Added files:                 (Branch: PHP_5_3)
    /php-src/ext/dom/tests      DOMNode_removeChild_basic.phpt 
                                DOMNode_cloneNode_basic.phpt 

  Modified files:              
    /php-src/ext/dom/tests      DOMNode_issamenode_basic.phpt bug42082.phpt 
                                
DOMDocument_createProcessingInstruction_basic.phpt 
                                DOMDocument_createAttribute_basic.phpt 
                                DOMElement_hasAttributes_basic.phpt 
                                DOMCharacterData_appendData_basic.phpt 
                                DOMComment_replaceData_basic.phpt 
                                DOMDocument_createAttribute_variation.phpt 
                                DOMDocument_createAttribute_error.phpt 
                                DOMText_appendData_basic.phpt 
                                DOMNode_normalize_basic.phpt 
                                DOMComment_appendData_basic_Sullivan.phpt 
                                DOMDocument_createAttribute_error1.phpt 
                                
DOMDocument_createProcessingInstruction_error.phpt 
                                
DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt 
  Log:
  DOM tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 
bit).
  
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMNode_issamenode_basic.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/dom/tests/DOMNode_issamenode_basic.phpt
diff -u php-src/ext/dom/tests/DOMNode_issamenode_basic.phpt:1.1.2.2 
php-src/ext/dom/tests/DOMNode_issamenode_basic.phpt:1.1.2.3
--- php-src/ext/dom/tests/DOMNode_issamenode_basic.phpt:1.1.2.2 Sun Jul 13 
21:22:55 2008
+++ php-src/ext/dom/tests/DOMNode_issamenode_basic.phpt Mon Dec  1 11:30:10 2008
@@ -3,8 +3,6 @@
 --CREDITS--
 James Lewis <[EMAIL PROTECTED]>
 #TestFest 2008
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 require_once("dom_test.inc");
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/bug42082.phpt?r1=1.1.2.2.2.2&r2=1.1.2.2.2.3&diff_format=u
Index: php-src/ext/dom/tests/bug42082.phpt
diff -u php-src/ext/dom/tests/bug42082.phpt:1.1.2.2.2.2 
php-src/ext/dom/tests/bug42082.phpt:1.1.2.2.2.3
--- php-src/ext/dom/tests/bug42082.phpt:1.1.2.2.2.2     Sun Jul 13 21:22:55 2008
+++ php-src/ext/dom/tests/bug42082.phpt Mon Dec  1 11:30:10 2008
@@ -1,7 +1,5 @@
 --TEST--
 Bug #42082 (NodeList length zero should be empty)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 $doc = new DOMDocument();
@@ -26,4 +24,4 @@
 bool(true)
 bool(true)
 bool(false)
-bool(false) 
+bool(false) 
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_basic.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_basic.phpt
diff -u 
php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_basic.phpt:1.1.2.2
 
php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_basic.phpt:1.1.2.3
--- 
php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_basic.phpt:1.1.2.2
    Sun Jul 13 21:22:55 2008
+++ php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_basic.phpt    
Mon Dec  1 11:30:10 2008
@@ -1,30 +1,28 @@
---TEST--
-DomDocument::createProcessingInstruction() - basic test for 
DomDocument::createProcessingInstruction()
---CREDITS--
-Muhammad Khalid Adnan
-# TestFest 2008
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-
-$doc = new DOMDocument;
-
-$node = $doc->createElement("para");
-$newnode = $doc->appendChild($node);
-
-$test_proc_inst0 =
-    $doc->createProcessingInstruction( "blablabla" );
-$node->appendChild($test_proc_inst0);
-
-$test_proc_inst1 =
-    $doc->createProcessingInstruction( "blablabla", "datadata" );
-$node->appendChild($test_proc_inst1);
-
-echo $doc->saveXML();
-
-?>
---EXPECT--
-<?xml version="1.0"?>
-<para><?blablabla?><?blablabla datadata?></para>
-
+--TEST--
+DomDocument::createProcessingInstruction() - basic test for 
DomDocument::createProcessingInstruction()
+--CREDITS--
+Muhammad Khalid Adnan
+# TestFest 2008
+--FILE--
+<?php
+
+$doc = new DOMDocument;
+
+$node = $doc->createElement("para");
+$newnode = $doc->appendChild($node);
+
+$test_proc_inst0 =
+    $doc->createProcessingInstruction( "blablabla" );
+$node->appendChild($test_proc_inst0);
+
+$test_proc_inst1 =
+    $doc->createProcessingInstruction( "blablabla", "datadata" );
+$node->appendChild($test_proc_inst1);
+
+echo $doc->saveXML();
+
+?>
+--EXPECT--
+<?xml version="1.0"?>
+<para><?blablabla?><?blablabla datadata?></para>
+
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMDocument_createAttribute_basic.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/dom/tests/DOMDocument_createAttribute_basic.phpt
diff -u php-src/ext/dom/tests/DOMDocument_createAttribute_basic.phpt:1.1.2.3 
php-src/ext/dom/tests/DOMDocument_createAttribute_basic.phpt:1.1.2.4
--- php-src/ext/dom/tests/DOMDocument_createAttribute_basic.phpt:1.1.2.3        
Sun Jul 13 21:22:55 2008
+++ php-src/ext/dom/tests/DOMDocument_createAttribute_basic.phpt        Mon Dec 
 1 11:30:10 2008
@@ -3,8 +3,6 @@
 --CREDITS--
 Muhammad Khalid Adnan 
 # TestFest 2008
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMElement_hasAttributes_basic.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/dom/tests/DOMElement_hasAttributes_basic.phpt
diff -u php-src/ext/dom/tests/DOMElement_hasAttributes_basic.phpt:1.1.2.2 
php-src/ext/dom/tests/DOMElement_hasAttributes_basic.phpt:1.1.2.3
--- php-src/ext/dom/tests/DOMElement_hasAttributes_basic.phpt:1.1.2.2   Sun Jul 
13 21:22:55 2008
+++ php-src/ext/dom/tests/DOMElement_hasAttributes_basic.phpt   Mon Dec  1 
11:30:10 2008
@@ -3,8 +3,6 @@
 --CREDITS--
 James Lewis <[EMAIL PROTECTED]>
 #TestFest 2008
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 require_once("dom_test.inc");
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMCharacterData_appendData_basic.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/dom/tests/DOMCharacterData_appendData_basic.phpt
diff -u php-src/ext/dom/tests/DOMCharacterData_appendData_basic.phpt:1.1.2.2 
php-src/ext/dom/tests/DOMCharacterData_appendData_basic.phpt:1.1.2.3
--- php-src/ext/dom/tests/DOMCharacterData_appendData_basic.phpt:1.1.2.2        
Sun Jul 13 21:22:55 2008
+++ php-src/ext/dom/tests/DOMCharacterData_appendData_basic.phpt        Mon Dec 
 1 11:30:10 2008
@@ -3,8 +3,6 @@
 --CREDITS--
 Mike Sullivan <[EMAIL PROTECTED]>
 #TestFest 2008 (London)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 
@@ -34,4 +32,4 @@
 CDATA Content: data><&"
 
 <?xml version="1.0"?>
-<root><cdata><![CDATA[data><&"]]></cdata></root>
+<root><cdata><![CDATA[data><&"]]></cdata></root>
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMComment_replaceData_basic.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/dom/tests/DOMComment_replaceData_basic.phpt
diff -u php-src/ext/dom/tests/DOMComment_replaceData_basic.phpt:1.1.2.2 
php-src/ext/dom/tests/DOMComment_replaceData_basic.phpt:1.1.2.3
--- php-src/ext/dom/tests/DOMComment_replaceData_basic.phpt:1.1.2.2     Sun Jul 
13 21:22:55 2008
+++ php-src/ext/dom/tests/DOMComment_replaceData_basic.phpt     Mon Dec  1 
11:30:10 2008
@@ -4,7 +4,7 @@
 Andrew Larssen <[EMAIL PROTECTED]>
 London TestFest 2008
 --SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php // require_once('skipif.inc'); ?>
 --FILE--
 <?php
 
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMDocument_createAttribute_variation.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/dom/tests/DOMDocument_createAttribute_variation.phpt
diff -u 
php-src/ext/dom/tests/DOMDocument_createAttribute_variation.phpt:1.1.2.3 
php-src/ext/dom/tests/DOMDocument_createAttribute_variation.phpt:1.1.2.4
--- php-src/ext/dom/tests/DOMDocument_createAttribute_variation.phpt:1.1.2.3    
Sun Jul 13 21:22:55 2008
+++ php-src/ext/dom/tests/DOMDocument_createAttribute_variation.phpt    Mon Dec 
 1 11:30:10 2008
@@ -1,7 +1,5 @@
 --TEST--
 Test DOMDocument::createAttribute() for expected return value
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 $dom = new DOMDocument();
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMDocument_createAttribute_error.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/dom/tests/DOMDocument_createAttribute_error.phpt
diff -u php-src/ext/dom/tests/DOMDocument_createAttribute_error.phpt:1.1.2.3 
php-src/ext/dom/tests/DOMDocument_createAttribute_error.phpt:1.1.2.4
--- php-src/ext/dom/tests/DOMDocument_createAttribute_error.phpt:1.1.2.3        
Sun Jul 13 21:22:55 2008
+++ php-src/ext/dom/tests/DOMDocument_createAttribute_error.phpt        Mon Dec 
 1 11:30:10 2008
@@ -1,7 +1,5 @@
 --TEST--
 Test DOMDocument::createAttribute() for expected expection thrown when wrong 
parameter passed
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 $dom = new DOMDocument();
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMText_appendData_basic.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/dom/tests/DOMText_appendData_basic.phpt
diff -u php-src/ext/dom/tests/DOMText_appendData_basic.phpt:1.1.2.2 
php-src/ext/dom/tests/DOMText_appendData_basic.phpt:1.1.2.3
--- php-src/ext/dom/tests/DOMText_appendData_basic.phpt:1.1.2.2 Sun Jul 13 
21:22:55 2008
+++ php-src/ext/dom/tests/DOMText_appendData_basic.phpt Mon Dec  1 11:30:10 2008
@@ -3,8 +3,6 @@
 --CREDITS--
 Mike Sullivan <[EMAIL PROTECTED]>
 #TestFest 2008 (London)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 
@@ -34,4 +32,4 @@
 Text Content: data><&"
 
 <?xml version="1.0"?>
-<root><text>data&gt;&lt;&amp;"</text></root>
+<root><text>data&gt;&lt;&amp;"</text></root>
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMNode_normalize_basic.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/dom/tests/DOMNode_normalize_basic.phpt
diff -u php-src/ext/dom/tests/DOMNode_normalize_basic.phpt:1.1.2.2 
php-src/ext/dom/tests/DOMNode_normalize_basic.phpt:1.1.2.3
--- php-src/ext/dom/tests/DOMNode_normalize_basic.phpt:1.1.2.2  Tue May 27 
10:21:21 2008
+++ php-src/ext/dom/tests/DOMNode_normalize_basic.phpt  Mon Dec  1 11:30:10 2008
@@ -1,15 +1,15 @@
 --TEST--
-DomNode::normalize()
+normalize()
 --SKIPIF--
 <?php
 include('skipif.inc');
 ?>
 --FILE--
-<?php
+<?php 
 
 /* Create an XML document
  * with structure
- * <book>
+ * <book> 
  *  <author></author>
  *  <title>This is the title</title>
  * </book>
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMComment_appendData_basic_Sullivan.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/dom/tests/DOMComment_appendData_basic_Sullivan.phpt
diff -u php-src/ext/dom/tests/DOMComment_appendData_basic_Sullivan.phpt:1.1.2.2 
php-src/ext/dom/tests/DOMComment_appendData_basic_Sullivan.phpt:1.1.2.3
--- php-src/ext/dom/tests/DOMComment_appendData_basic_Sullivan.phpt:1.1.2.2     
Sun Jul 13 21:22:55 2008
+++ php-src/ext/dom/tests/DOMComment_appendData_basic_Sullivan.phpt     Mon Dec 
 1 11:30:10 2008
@@ -3,8 +3,6 @@
 --CREDITS--
 Mike Sullivan <[EMAIL PROTECTED]>
 #TestFest 2008 (London)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 
@@ -34,4 +32,4 @@
 Comment Content: data><&"
 
 <?xml version="1.0"?>
-<root><comment><!--data><&"--></comment></root>
+<root><comment><!--data><&"--></comment></root>
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMDocument_createAttribute_error1.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/dom/tests/DOMDocument_createAttribute_error1.phpt
diff -u php-src/ext/dom/tests/DOMDocument_createAttribute_error1.phpt:1.1.2.3 
php-src/ext/dom/tests/DOMDocument_createAttribute_error1.phpt:1.1.2.4
--- php-src/ext/dom/tests/DOMDocument_createAttribute_error1.phpt:1.1.2.3       
Sun Jul 13 21:22:55 2008
+++ php-src/ext/dom/tests/DOMDocument_createAttribute_error1.phpt       Mon Dec 
 1 11:30:10 2008
@@ -3,8 +3,6 @@
 --CREDITS--
 Muhammad Khalid Adnan
 # TestFest 2008
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_error.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_error.phpt
diff -u 
php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_error.phpt:1.1.2.2
 
php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_error.phpt:1.1.2.3
--- 
php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_error.phpt:1.1.2.2
    Sun Jul 13 21:22:55 2008
+++ php-src/ext/dom/tests/DOMDocument_createProcessingInstruction_error.phpt    
Mon Dec  1 11:30:10 2008
@@ -1,31 +1,29 @@
---TEST--
-DomDocument::createProcessingInstruction() - error test for 
DomDocument::createProcessingInstruction()
---CREDITS--
-Muhammad Khalid Adnan
-# TestFest 2008
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-
-$doc = new DOMDocument;
-
-$node = $doc->createElement("para");
-$newnode = $doc->appendChild($node);
-
-try {
-    $test_proc_inst =
-        $doc->createProcessingInstruction( "bla bla bla" );
-    $node->appendChild($test_proc_inst);
-
-    echo $doc->saveXML();
-}
-catch (DOMException $e)
-{
-    echo 'Test failed!', PHP_EOL;
-}
-
-?>
---EXPECT--
-Test failed!
-
+--TEST--
+DomDocument::createProcessingInstruction() - error test for 
DomDocument::createProcessingInstruction()
+--CREDITS--
+Muhammad Khalid Adnan
+# TestFest 2008
+--FILE--
+<?php
+
+$doc = new DOMDocument;
+
+$node = $doc->createElement("para");
+$newnode = $doc->appendChild($node);
+
+try {
+    $test_proc_inst =
+        $doc->createProcessingInstruction( "bla bla bla" );
+    $node->appendChild($test_proc_inst);
+
+    echo $doc->saveXML();
+}
+catch (DOMException $e)
+{
+    echo 'Test failed!', PHP_EOL;
+}
+
+?>
+--EXPECT--
+Test failed!
+
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: 
php-src/ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt
diff -u 
php-src/ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt:1.1.2.2
 
php-src/ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt:1.1.2.3
--- 
php-src/ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt:1.1.2.2
        Sun Jul 13 21:22:55 2008
+++ 
php-src/ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt    
    Mon Dec  1 11:30:10 2008
@@ -1,7 +1,5 @@
 --TEST--
 Testing DOMDocumentFragment::appendXML and DOMDocumentFragment::hasChildNodes
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 $doc = new DOMDocument();

http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMNode_removeChild_basic.phpt?view=markup&rev=1.1
Index: php-src/ext/dom/tests/DOMNode_removeChild_basic.phpt
+++ php-src/ext/dom/tests/DOMNode_removeChild_basic.phpt

http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/DOMNode_cloneNode_basic.phpt?view=markup&rev=1.1
Index: php-src/ext/dom/tests/DOMNode_cloneNode_basic.phpt
+++ php-src/ext/dom/tests/DOMNode_cloneNode_basic.phpt

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to