summaryrefslogtreecommitdiff
path: root/ext/dom/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/tests')
-rw-r--r--ext/dom/tests/DOMAttr_value_basic_001.phpt2
-rw-r--r--ext/dom/tests/DOMCDATASection_construct_error_001.phpt2
-rw-r--r--ext/dom/tests/DOMCharacterData_data_basic_002.phpt2
-rw-r--r--ext/dom/tests/DOMCharacterData_substringData_basic_001.phpt4
-rw-r--r--ext/dom/tests/DOMDocument_createAttribute_basic.phpt2
-rw-r--r--ext/dom/tests/DOMDocument_loadHTML_basic.phpt2
-rw-r--r--ext/dom/tests/DOMDocument_loadXML_error1.phpt4
-rw-r--r--ext/dom/tests/DOMDocument_loadXML_error2.phpt2
-rw-r--r--ext/dom/tests/DOMDocument_loadXML_error3.phpt2
-rw-r--r--ext/dom/tests/DOMDocument_loadXML_error4.phpt2
-rw-r--r--ext/dom/tests/DOMDocument_loadXML_error5.phpt4
-rw-r--r--ext/dom/tests/DOMDocument_load_error1.phpt4
-rw-r--r--ext/dom/tests/DOMDocument_load_error2.phpt2
-rw-r--r--ext/dom/tests/DOMDocument_load_error3.phpt4
-rw-r--r--ext/dom/tests/DOMDocument_load_error4.phpt4
-rw-r--r--ext/dom/tests/DOMDocument_load_error5.phpt4
-rw-r--r--ext/dom/tests/DOMDocument_saveHTML_basic.phpt2
-rw-r--r--ext/dom/tests/DOMDocument_saveHTML_variant1.phpt2
-rw-r--r--ext/dom/tests/DOMDocument_strictErrorChecking_basic.phpt2
-rw-r--r--ext/dom/tests/DOMNode_hasChildNodes_basic.phpt2
-rw-r--r--ext/dom/tests/DOMNode_insertBefore_error2.phpt2
-rw-r--r--ext/dom/tests/DOMNode_insertBefore_error3.phpt2
-rw-r--r--ext/dom/tests/DOMNode_insertBefore_error4.phpt2
-rw-r--r--ext/dom/tests/DOMNode_insertBefore_error5.phpt4
-rw-r--r--ext/dom/tests/DOMNode_insertBefore_error6.phpt2
-rw-r--r--ext/dom/tests/canonicalization.phpt6
-rw-r--r--ext/dom/tests/dom_create_element.phpt6
-rw-r--r--ext/dom/tests/domdocument_createentityreference_001.phpt2
-rw-r--r--ext/dom/tests/domdocument_createentityreference_002.phpt2
29 files changed, 41 insertions, 41 deletions
diff --git a/ext/dom/tests/DOMAttr_value_basic_001.phpt b/ext/dom/tests/DOMAttr_value_basic_001.phpt
index 05ad1022de..ca174d7926 100644
--- a/ext/dom/tests/DOMAttr_value_basic_001.phpt
+++ b/ext/dom/tests/DOMAttr_value_basic_001.phpt
@@ -1,5 +1,5 @@
--TEST--
-Read empty $value.
+Read empty $value.
--CREDITS--
Jason Bouffard <jbouffard1@yahoo.com>
# TestFest Atlanta 2009-05-14
diff --git a/ext/dom/tests/DOMCDATASection_construct_error_001.phpt b/ext/dom/tests/DOMCDATASection_construct_error_001.phpt
index fbce3c7527..2154016142 100644
--- a/ext/dom/tests/DOMCDATASection_construct_error_001.phpt
+++ b/ext/dom/tests/DOMCDATASection_construct_error_001.phpt
@@ -2,7 +2,7 @@
__construct() with no arguments.
--CREDITS--
Nic Rosental nicrosental@gmail.com
-# TestFest Atlanta 2009-5-14
+# TestFest Atlanta 2009-5-14
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
diff --git a/ext/dom/tests/DOMCharacterData_data_basic_002.phpt b/ext/dom/tests/DOMCharacterData_data_basic_002.phpt
index 394b316fa3..f96791150a 100644
--- a/ext/dom/tests/DOMCharacterData_data_basic_002.phpt
+++ b/ext/dom/tests/DOMCharacterData_data_basic_002.phpt
@@ -2,7 +2,7 @@
Create CDATA section and change it using DOMcreateCDATASection
--CREDITS--
Nic Rosental nicrosental@gmail.com
-# TestFest Atlanta 2009-5-28
+# TestFest Atlanta 2009-5-28
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
diff --git a/ext/dom/tests/DOMCharacterData_substringData_basic_001.phpt b/ext/dom/tests/DOMCharacterData_substringData_basic_001.phpt
index b9d73e1819..8b924f04d5 100644
--- a/ext/dom/tests/DOMCharacterData_substringData_basic_001.phpt
+++ b/ext/dom/tests/DOMCharacterData_substringData_basic_001.phpt
@@ -1,8 +1,8 @@
--TEST--
-__DOMCharacterData::substringData pull mid section of string
+__DOMCharacterData::substringData pull mid section of string
--CREDITS--
Nic Rosental nicrosental@gmail.com
-# TestFest Atlanta 2009-5-28
+# TestFest Atlanta 2009-5-28
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
diff --git a/ext/dom/tests/DOMDocument_createAttribute_basic.phpt b/ext/dom/tests/DOMDocument_createAttribute_basic.phpt
index 4dd181b3f8..4e00fbb8d8 100644
--- a/ext/dom/tests/DOMDocument_createAttribute_basic.phpt
+++ b/ext/dom/tests/DOMDocument_createAttribute_basic.phpt
@@ -1,7 +1,7 @@
--TEST--
DomDocument::createAttribute() - basic test for DomDocument::createAttribute()
--CREDITS--
-Muhammad Khalid Adnan
+Muhammad Khalid Adnan
# TestFest 2008
--SKIPIF--
<?php require_once('skipif.inc'); ?>
diff --git a/ext/dom/tests/DOMDocument_loadHTML_basic.phpt b/ext/dom/tests/DOMDocument_loadHTML_basic.phpt
index 839bd0f923..b1b2a7139b 100644
--- a/ext/dom/tests/DOMDocument_loadHTML_basic.phpt
+++ b/ext/dom/tests/DOMDocument_loadHTML_basic.phpt
@@ -1,5 +1,5 @@
--TEST--
-DOMDocument::loadHTML
+DOMDocument::loadHTML
--CREDITS--
Frank Cassedanne franck@ouarz.net
#London TestFest 2008
diff --git a/ext/dom/tests/DOMDocument_loadXML_error1.phpt b/ext/dom/tests/DOMDocument_loadXML_error1.phpt
index 5a2f46e220..a752a19570 100644
--- a/ext/dom/tests/DOMDocument_loadXML_error1.phpt
+++ b/ext/dom/tests/DOMDocument_loadXML_error1.phpt
@@ -1,7 +1,7 @@
--TEST--
-Test DOMDocument::loadXML() detects not-well formed XML
+Test DOMDocument::loadXML() detects not-well formed XML
--DESCRIPTION--
-This test verifies the method detects an opening and ending tag mismatch
+This test verifies the method detects an opening and ending tag mismatch
Environment variables used in the test:
- XML_FILE: the xml file to load
- LOAD_OPTIONS: the second parameter to pass to the method
diff --git a/ext/dom/tests/DOMDocument_loadXML_error2.phpt b/ext/dom/tests/DOMDocument_loadXML_error2.phpt
index 3b8e2b48b1..6d56a317ed 100644
--- a/ext/dom/tests/DOMDocument_loadXML_error2.phpt
+++ b/ext/dom/tests/DOMDocument_loadXML_error2.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test DOMDocument::loadXML() detects not-well formed XML
+Test DOMDocument::loadXML() detects not-well formed XML
--DESCRIPTION--
This test verifies the method detects attributes values not closed between " or '
Environment variables used in the test:
diff --git a/ext/dom/tests/DOMDocument_loadXML_error3.phpt b/ext/dom/tests/DOMDocument_loadXML_error3.phpt
index be37b5552b..834428e32c 100644
--- a/ext/dom/tests/DOMDocument_loadXML_error3.phpt
+++ b/ext/dom/tests/DOMDocument_loadXML_error3.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test DOMDocument::loadXML() detects not-well formed XML
+Test DOMDocument::loadXML() detects not-well formed XML
--DESCRIPTION--
This test verifies the method detects a typo in tag names
Environment variables used in the test:
diff --git a/ext/dom/tests/DOMDocument_loadXML_error4.phpt b/ext/dom/tests/DOMDocument_loadXML_error4.phpt
index d2cc3c5dd2..1489f143fa 100644
--- a/ext/dom/tests/DOMDocument_loadXML_error4.phpt
+++ b/ext/dom/tests/DOMDocument_loadXML_error4.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test DOMDocument::loadXML() detects not-well formed XML
+Test DOMDocument::loadXML() detects not-well formed XML
--DESCRIPTION--
This test verifies the method detects an unsupported xml version
Environment variables used in the test:
diff --git a/ext/dom/tests/DOMDocument_loadXML_error5.phpt b/ext/dom/tests/DOMDocument_loadXML_error5.phpt
index d5eaadb06d..221a378760 100644
--- a/ext/dom/tests/DOMDocument_loadXML_error5.phpt
+++ b/ext/dom/tests/DOMDocument_loadXML_error5.phpt
@@ -1,7 +1,7 @@
--TEST--
-Test DOMDocument::loadXML() detects not-well formed XML
+Test DOMDocument::loadXML() detects not-well formed XML
--DESCRIPTION--
-This test verifies the method detects extra content at the end of the document
+This test verifies the method detects extra content at the end of the document
Environment variables used in the test:
- XML_FILE: the xml file to load
- LOAD_OPTIONS: the second parameter to pass to the method
diff --git a/ext/dom/tests/DOMDocument_load_error1.phpt b/ext/dom/tests/DOMDocument_load_error1.phpt
index 4f68d46dd5..d3401b3972 100644
--- a/ext/dom/tests/DOMDocument_load_error1.phpt
+++ b/ext/dom/tests/DOMDocument_load_error1.phpt
@@ -1,7 +1,7 @@
--TEST--
-Test DOMDocument::load() detects not-well formed XML
+Test DOMDocument::load() detects not-well formed XML
--DESCRIPTION--
-This test verifies the method detects an opening and ending tag mismatch
+This test verifies the method detects an opening and ending tag mismatch
Environment variables used in the test:
- XML_FILE: the xml file to load
- LOAD_OPTIONS: the second parameter to pass to the method
diff --git a/ext/dom/tests/DOMDocument_load_error2.phpt b/ext/dom/tests/DOMDocument_load_error2.phpt
index ee8a96fc06..f450cf1654 100644
--- a/ext/dom/tests/DOMDocument_load_error2.phpt
+++ b/ext/dom/tests/DOMDocument_load_error2.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test DOMDocument::load() detects not-well formed XML
+Test DOMDocument::load() detects not-well formed XML
--DESCRIPTION--
This test verifies the method detects attributes values not closed between " or '
Environment variables used in the test:
diff --git a/ext/dom/tests/DOMDocument_load_error3.phpt b/ext/dom/tests/DOMDocument_load_error3.phpt
index 1e0438b257..b3d70a94d0 100644
--- a/ext/dom/tests/DOMDocument_load_error3.phpt
+++ b/ext/dom/tests/DOMDocument_load_error3.phpt
@@ -1,7 +1,7 @@
--TEST--
-Test DOMDocument::load() detects not-well formed XML
+Test DOMDocument::load() detects not-well formed XML
--DESCRIPTION--
-This test verifies the method detects and opening and ending tag mismatch
+This test verifies the method detects and opening and ending tag mismatch
Environment variables used in the test:
- XML_FILE: the xml file to load
- LOAD_OPTIONS: the second parameter to pass to the method
diff --git a/ext/dom/tests/DOMDocument_load_error4.phpt b/ext/dom/tests/DOMDocument_load_error4.phpt
index 6fcaff82ff..9c8e825cc7 100644
--- a/ext/dom/tests/DOMDocument_load_error4.phpt
+++ b/ext/dom/tests/DOMDocument_load_error4.phpt
@@ -1,7 +1,7 @@
--TEST--
-Test DOMDocument::load() detects not-well formed XML
+Test DOMDocument::load() detects not-well formed XML
--DESCRIPTION--
-This test verifies the method detects an unsupported xml version
+This test verifies the method detects an unsupported xml version
Environment variables used in the test:
- XML_FILE: the xml file to load
- LOAD_OPTIONS: the second parameter to pass to the method
diff --git a/ext/dom/tests/DOMDocument_load_error5.phpt b/ext/dom/tests/DOMDocument_load_error5.phpt
index e9b89cb0bf..cd1875f906 100644
--- a/ext/dom/tests/DOMDocument_load_error5.phpt
+++ b/ext/dom/tests/DOMDocument_load_error5.phpt
@@ -1,7 +1,7 @@
--TEST--
-Test DOMDocument::load() detects not-well formed XML
+Test DOMDocument::load() detects not-well formed XML
--DESCRIPTION--
-This test verifies the method detects extra content at the end of the document
+This test verifies the method detects extra content at the end of the document
Environment variables used in the test:
- XML_FILE: the xml file to load
- LOAD_OPTIONS: the second parameter to pass to the method
diff --git a/ext/dom/tests/DOMDocument_saveHTML_basic.phpt b/ext/dom/tests/DOMDocument_saveHTML_basic.phpt
index c8ce0602f2..8675b957a1 100644
--- a/ext/dom/tests/DOMDocument_saveHTML_basic.phpt
+++ b/ext/dom/tests/DOMDocument_saveHTML_basic.phpt
@@ -1,5 +1,5 @@
--TEST--
-DOMDocument::saveHTML() should dump the internal document into a string using HTML formatting
+DOMDocument::saveHTML() should dump the internal document into a string using HTML formatting
--CREDITS--
Knut Urdalen <knut@php.net>
#PHPTestFest2009 Norway 2009-06-09 \o/
diff --git a/ext/dom/tests/DOMDocument_saveHTML_variant1.phpt b/ext/dom/tests/DOMDocument_saveHTML_variant1.phpt
index c5728860c8..ef51e7f126 100644
--- a/ext/dom/tests/DOMDocument_saveHTML_variant1.phpt
+++ b/ext/dom/tests/DOMDocument_saveHTML_variant1.phpt
@@ -1,5 +1,5 @@
--TEST--
-DOMDocument::saveHTML() optional parameters
+DOMDocument::saveHTML() optional parameters
--SKIPIF--
<?php
require_once dirname(__FILE__) .'/skipif.inc';
diff --git a/ext/dom/tests/DOMDocument_strictErrorChecking_basic.phpt b/ext/dom/tests/DOMDocument_strictErrorChecking_basic.phpt
index 9ad55a4ad6..33aecf4925 100644
--- a/ext/dom/tests/DOMDocument_strictErrorChecking_basic.phpt
+++ b/ext/dom/tests/DOMDocument_strictErrorChecking_basic.phpt
@@ -1,5 +1,5 @@
--TEST--
-DomDocument::$strictErrorChecking - basic test
+DomDocument::$strictErrorChecking - basic test
--CREDITS--
Vincent Tsao <notes4vincent@gmail.com>
# TestFest 2009 NYPHP
diff --git a/ext/dom/tests/DOMNode_hasChildNodes_basic.phpt b/ext/dom/tests/DOMNode_hasChildNodes_basic.phpt
index 1055d64f1d..8d1c10efec 100644
--- a/ext/dom/tests/DOMNode_hasChildNodes_basic.phpt
+++ b/ext/dom/tests/DOMNode_hasChildNodes_basic.phpt
@@ -9,7 +9,7 @@ include('skipif.inc');
/* Create an XML document
* with strcuture
- * <book>
+ * <book>
* <title>This is the title</title>
* </book>
* Check for child nodes of the <book>, <title> and This is the title
diff --git a/ext/dom/tests/DOMNode_insertBefore_error2.phpt b/ext/dom/tests/DOMNode_insertBefore_error2.phpt
index 835dfa065a..fbe212d4b9 100644
--- a/ext/dom/tests/DOMNode_insertBefore_error2.phpt
+++ b/ext/dom/tests/DOMNode_insertBefore_error2.phpt
@@ -2,7 +2,7 @@
Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
--DESCRIPTION--
DOMNode::insertBefore(newNode, [refNode])
-DOM_NOT_FOUND is raised if refnode is not a child
+DOM_NOT_FOUND is raised if refnode is not a child
This test checks the error message is raised when the refnode is a sibling
--CREDITS--
Antonio Diaz Ruiz <dejalatele@gmail.com>
diff --git a/ext/dom/tests/DOMNode_insertBefore_error3.phpt b/ext/dom/tests/DOMNode_insertBefore_error3.phpt
index a3bad5433e..a8b4e45494 100644
--- a/ext/dom/tests/DOMNode_insertBefore_error3.phpt
+++ b/ext/dom/tests/DOMNode_insertBefore_error3.phpt
@@ -2,7 +2,7 @@
Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
--DESCRIPTION--
DOMNode::insertBefore(newNode, [refNode])
-DOM_NOT_FOUND is raised if refnode is not a child
+DOM_NOT_FOUND is raised if refnode is not a child
This test checks the error message is raised when refnode is the parent node
--CREDITS--
Antonio Diaz Ruiz <dejalatele@gmail.com>
diff --git a/ext/dom/tests/DOMNode_insertBefore_error4.phpt b/ext/dom/tests/DOMNode_insertBefore_error4.phpt
index a8d12914e3..5b1fc3150a 100644
--- a/ext/dom/tests/DOMNode_insertBefore_error4.phpt
+++ b/ext/dom/tests/DOMNode_insertBefore_error4.phpt
@@ -2,7 +2,7 @@
Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
--DESCRIPTION--
DOMNode::insertBefore(newNode, [refNode])
-DOM_NOT_FOUND is raised if refnode is not a child
+DOM_NOT_FOUND is raised if refnode is not a child
This test checks the error message is raised when the refnode is a brand new node
--CREDITS--
Antonio Diaz Ruiz <dejalatele@gmail.com>
diff --git a/ext/dom/tests/DOMNode_insertBefore_error5.phpt b/ext/dom/tests/DOMNode_insertBefore_error5.phpt
index c41a9edfbb..f5bcf098e7 100644
--- a/ext/dom/tests/DOMNode_insertBefore_error5.phpt
+++ b/ext/dom/tests/DOMNode_insertBefore_error5.phpt
@@ -2,8 +2,8 @@
Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
--DESCRIPTION--
DOMNode::insertBefore(newNode, [refNode])
-DOM_NOT_FOUND is raised if refnode is not a child
-This test checks the error message is raised when the refnode is a descendant but not a child
+DOM_NOT_FOUND is raised if refnode is not a child
+This test checks the error message is raised when the refnode is a descendant but not a child
--CREDITS--
Antonio Diaz Ruiz <dejalatele@gmail.com>
--INI--
diff --git a/ext/dom/tests/DOMNode_insertBefore_error6.phpt b/ext/dom/tests/DOMNode_insertBefore_error6.phpt
index 99c72f8621..5afecafed7 100644
--- a/ext/dom/tests/DOMNode_insertBefore_error6.phpt
+++ b/ext/dom/tests/DOMNode_insertBefore_error6.phpt
@@ -2,7 +2,7 @@
Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
--DESCRIPTION--
DOMNode::insertBefore(newNode, [refNode])
-DOM_NOT_FOUND is raised if refnode is not a child
+DOM_NOT_FOUND is raised if refnode is not a child
This test checks the error message is raised when the refnode is the parent
--CREDITS--
Antonio Diaz Ruiz <dejalatele@gmail.com>
diff --git a/ext/dom/tests/canonicalization.phpt b/ext/dom/tests/canonicalization.phpt
index 11575819a6..8908aba55d 100644
--- a/ext/dom/tests/canonicalization.phpt
+++ b/ext/dom/tests/canonicalization.phpt
@@ -39,12 +39,12 @@ echo $doc->c14N(TRUE, FALSE, array('query'=>'(//. | //@* | //namespace::*)'))."\
/* exclusive/without comments first child element of doc element is context.
using xpath query with registered namespace.
test namespace prefix is also included. */
-echo $doc->c14N(TRUE, FALSE,
+echo $doc->c14N(TRUE, FALSE,
array('query'=>'(//a:contain | //a:bar | .//namespace::*)',
- 'namespaces'=>array('a'=>'http://www.example.com/ns/foo')),
+ 'namespaces'=>array('a'=>'http://www.example.com/ns/foo')),
array('test'))."\n\n";
-/* exclusive/without comments first child element of doc element is context.
+/* exclusive/without comments first child element of doc element is context.
test namespace prefix is also included */
echo $doc->C14N(TRUE, FALSE, NULL, array('test'));
?>
diff --git a/ext/dom/tests/dom_create_element.phpt b/ext/dom/tests/dom_create_element.phpt
index 3f307099bb..bd2c8f11da 100644
--- a/ext/dom/tests/dom_create_element.phpt
+++ b/ext/dom/tests/dom_create_element.phpt
@@ -221,7 +221,7 @@ try {
print $e->getMessage() . "\n";
}
-/* the qualifiedName has a prefix that is "xml" and the namespaceURI
+/* the qualifiedName has a prefix that is "xml" and the namespaceURI
is different from "http://www.w3.org/XML/1998/namespace" [XML Namespaces] */
print "26 DOMDocument::createElementNS('http://wrong.namespaceURI.com', 'xml:valid')\n";
@@ -261,7 +261,7 @@ try {
}
-/* the qualifiedName or its prefix is "xmlns" and the namespaceURI is
+/* the qualifiedName or its prefix is "xmlns" and the namespaceURI is
different from "http://www.w3.org/2000/xmlns/" */
print "30 DOMDocument::createElementNS('http://wrong.namespaceURI.com', 'xmlns:valid')\n";
@@ -298,7 +298,7 @@ try {
print $e->getMessage() . "\n";
}
-/* the namespaceURI is "http://www.w3.org/2000/xmlns/" and neither the
+/* the namespaceURI is "http://www.w3.org/2000/xmlns/" and neither the
qualifiedName nor its prefix is "xmlns". */
print "34 DOMDocument::createElementNS('http://www.w3.org/2000/xmlns/', 'wrongprefix:valid')\n";
diff --git a/ext/dom/tests/domdocument_createentityreference_001.phpt b/ext/dom/tests/domdocument_createentityreference_001.phpt
index 7343e74cfd..9a43599914 100644
--- a/ext/dom/tests/domdocument_createentityreference_001.phpt
+++ b/ext/dom/tests/domdocument_createentityreference_001.phpt
@@ -7,7 +7,7 @@ Clint Priest @ PhpTek09
--FILE--
<?php
$objDoc = new DomDocument();
-
+
$objRef = $objDoc->createEntityReference('Test');
echo $objRef->nodeName . "\n";
?>
diff --git a/ext/dom/tests/domdocument_createentityreference_002.phpt b/ext/dom/tests/domdocument_createentityreference_002.phpt
index a2416c2d89..90754100dd 100644
--- a/ext/dom/tests/domdocument_createentityreference_002.phpt
+++ b/ext/dom/tests/domdocument_createentityreference_002.phpt
@@ -7,7 +7,7 @@ Clint Priest @ PhpTek09
--FILE--
<?php
$objDoc = new DomDocument();
-
+
$objRef = $objDoc->createEntityReference();
?>
===DONE===