Skip to content

Commit d510b5a

Browse files
committed
Remove assert.bail INI setting usage in DOMDocument tests
1 parent c1d4d95 commit d510b5a

32 files changed

+1
-65
lines changed

ext/dom/tests/DOMDocument_loadHTMLfile.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Test DOMDocument::loadHTMLFile
44
Verifies the basic behaviour of the method
55
--CREDITS--
66
Antonio Diaz Ruiz <[email protected]>
7-
--INI--
8-
assert.bail=true
97
--EXTENSIONS--
108
dom
119
--FILE--

ext/dom/tests/DOMDocument_loadHTMLfile_error1.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Test DOMDocument::loadHTMLFile when the file doesn't exist
44
Verifies that an error message is showed if the file doesn't exist
55
--CREDITS--
66
Antonio Diaz Ruiz <[email protected]>
7-
--INI--
8-
assert.bail=true
97
--EXTENSIONS--
108
dom
119
--FILE--

ext/dom/tests/DOMDocument_loadHTMLfile_error2.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Test DOMDocument::loadHTMLFile when an empty string is passed
44
Verifies that an error message is showed if an empty string is passed as argument
55
--CREDITS--
66
Antonio Diaz Ruiz <[email protected]>
7-
--INI--
8-
assert.bail=true
97
--EXTENSIONS--
108
dom
119
--FILE--

ext/dom/tests/DOMDocument_loadHTMLfile_variation1.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Test DOMDocument::loadHTMLFile when an empty document is loaded
44
Verifies that an warning message is showed if an empty document is loaded
55
--CREDITS--
66
Antonio Diaz Ruiz <[email protected]>
7-
--INI--
8-
assert.bail=true
97
--EXTENSIONS--
108
dom
119
--FILE--

ext/dom/tests/DOMDocument_loadHTMLfile_variation2.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Test DOMDocument::loadHTMLFile when a not-well formed document is loaded
44
Verifies the behavior if a not-well formed document is loaded
55
--CREDITS--
66
Antonio Diaz Ruiz <[email protected]>
7-
--INI--
8-
assert.bail=true
97
--EXTENSIONS--
108
dom
119
--FILE--

ext/dom/tests/DOMDocument_loadXML_basic.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_loadXML_error1.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_loadXML_error2_gte2_11.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ Environment variables used in the test:
1212
- EXPECTED_RESULT: the expected result
1313
--CREDITS--
1414
Antonio Diaz Ruiz <[email protected]>
15-
--INI--
16-
assert.bail=true
1715
--EXTENSIONS--
1816
dom
1917
--ENV--

ext/dom/tests/DOMDocument_loadXML_error2_pre2_11.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ Environment variables used in the test:
1212
- EXPECTED_RESULT: the expected result
1313
--CREDITS--
1414
Antonio Diaz Ruiz <[email protected]>
15-
--INI--
16-
assert.bail=true
1715
--EXTENSIONS--
1816
dom
1917
--ENV--

ext/dom/tests/DOMDocument_loadXML_error3.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_loadXML_error4.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_loadXML_error5.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_loadXML_variation1.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_loadXML_variation2.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_loadXML_variation3.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Environment variables used in the test:
99
- EXPECTED_RESULT: the expected result
1010
--CREDITS--
1111
Antonio Diaz Ruiz <[email protected]>
12-
--INI--
13-
assert.bail=true
1412
--EXTENSIONS--
1513
dom
1614
--ENV--

ext/dom/tests/DOMDocument_loadXML_variation4.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Environment variables used in the test:
99
- EXPECTED_RESULT: the expected result
1010
--CREDITS--
1111
Antonio Diaz Ruiz <[email protected]>
12-
--INI--
13-
assert.bail=true
1412
--EXTENSIONS--
1513
dom
1614
--ENV--

ext/dom/tests/DOMDocument_load_basic.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_load_error1.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_load_error2_gte2_11.phpt

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Test DOMDocument::load() detects not-well formed
2+
Test DOMDocument::load() detects not-well formed
33
--SKIPIF--
44
<?php
55
if (LIBXML_VERSION < 21100) die('skip libxml2 test variant for version >= 2.11');
@@ -12,8 +12,6 @@ Environment variables used in the test:
1212
- EXPECTED_RESULT: the expected result
1313
--CREDITS--
1414
Antonio Diaz Ruiz <[email protected]>
15-
--INI--
16-
assert.bail=true
1715
--EXTENSIONS--
1816
dom
1917
--ENV--

ext/dom/tests/DOMDocument_load_error2_pre2_11.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ Environment variables used in the test:
1212
- EXPECTED_RESULT: the expected result
1313
--CREDITS--
1414
Antonio Diaz Ruiz <[email protected]>
15-
--INI--
16-
assert.bail=true
1715
--EXTENSIONS--
1816
dom
1917
--ENV--

ext/dom/tests/DOMDocument_load_error3.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_load_error4.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_load_error5.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_load_variation1.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_load_variation2.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Environment variables used in the test:
88
- EXPECTED_RESULT: the expected result
99
--CREDITS--
1010
Antonio Diaz Ruiz <[email protected]>
11-
--INI--
12-
assert.bail=true
1311
--EXTENSIONS--
1412
dom
1513
--ENV--

ext/dom/tests/DOMDocument_load_variation3.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Environment variables used in the test:
99
- EXPECTED_RESULT: the expected result
1010
--CREDITS--
1111
Antonio Diaz Ruiz <[email protected]>
12-
--INI--
13-
assert.bail=true
1412
--EXTENSIONS--
1513
dom
1614
--ENV--

ext/dom/tests/DOMDocument_load_variation4.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Environment variables used in the test:
99
- EXPECTED_RESULT: the expected result
1010
--CREDITS--
1111
Antonio Diaz Ruiz <[email protected]>
12-
--INI--
13-
assert.bail=true
1412
--EXTENSIONS--
1513
dom
1614
--ENV--

ext/dom/tests/DOMNode_insertBefore_error2.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ DOM_NOT_FOUND is raised if refnode is not a child
66
This test checks the error message is raised when the refnode is a sibling
77
--CREDITS--
88
Antonio Diaz Ruiz <[email protected]>
9-
--INI--
10-
assert.bail=true
119
--EXTENSIONS--
1210
dom
1311
--FILE--

ext/dom/tests/DOMNode_insertBefore_error3.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ DOM_NOT_FOUND is raised if refnode is not a child
66
This test checks the error message is raised when refnode is the parent node
77
--CREDITS--
88
Antonio Diaz Ruiz <[email protected]>
9-
--INI--
10-
assert.bail=true
119
--EXTENSIONS--
1210
dom
1311
--FILE--

ext/dom/tests/DOMNode_insertBefore_error4.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ DOM_NOT_FOUND is raised if refnode is not a child
66
This test checks the error message is raised when the refnode is a brand new node
77
--CREDITS--
88
Antonio Diaz Ruiz <[email protected]>
9-
--INI--
10-
assert.bail=true
119
--EXTENSIONS--
1210
dom
1311
--FILE--

ext/dom/tests/DOMNode_insertBefore_error5.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ DOM_NOT_FOUND is raised if refnode is not a child
66
This test checks the error message is raised when the refnode is a descendant but not a child
77
--CREDITS--
88
Antonio Diaz Ruiz <[email protected]>
9-
--INI--
10-
assert.bail=true
119
--EXTENSIONS--
1210
dom
1311
--FILE--

ext/dom/tests/DOMNode_insertBefore_error6.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ DOM_NOT_FOUND is raised if refnode is not a child
66
This test checks the error message is raised when the refnode is the parent
77
--CREDITS--
88
Antonio Diaz Ruiz <[email protected]>
9-
--INI--
10-
assert.bail=true
119
--EXTENSIONS--
1210
dom
1311
--FILE--

0 commit comments

Comments
 (0)