Skip to content

Commit

Permalink
Removed error supression from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CloCkWeRX committed Sep 6, 2011
1 parent bb5158c commit 5857c79
Show file tree
Hide file tree
Showing 19 changed files with 12 additions and 49 deletions.
2 changes: 0 additions & 2 deletions tests/DAS/XML/phpt/bug12103.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO_DAS_XML test for escaping XML output stringss
--INI--
display_errors=off
--SKIPIF--
<?php

Expand Down
4 changes: 1 addition & 3 deletions tests/DAS/XML/phpt/bug12443.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO_DAS_XML test for element name containing hyphen
--INI--
display_errors=off
--SKIPIF--
<?php

Expand Down Expand Up @@ -39,4 +37,4 @@ print $xdoc;
?>
--EXPECT--
<?xml version="1.0" encoding="UTF-8"?>
<topType xsi:type="topType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><with-hyphen>valueA</with-hyphen><with_underscore>valueB</with_underscore></topType>
<topType xsi:type="topType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><with-hyphen>valueA</with-hyphen><with_underscore>valueB</with_underscore></topType>
2 changes: 0 additions & 2 deletions tests/SCA/phpt/001.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
Call a local component
--INI--
display_errors=on
--FILE--
<?php
require_once "SCA/SCA.php";
Expand Down
4 changes: 1 addition & 3 deletions tests/SCA/phpt/bug13090.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO test for alphabetical type order bug
--INI--
display_errors=off
--SKIPIF--
<?php
if (!extension_loaded("sdo"))
Expand Down Expand Up @@ -71,4 +69,4 @@ unset($upl);
?>
--EXPECT--
1
1
1
3 changes: 0 additions & 3 deletions tests/SCA/phpt/bug8428.phpt
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
--TEST--
SCA - test for WSDL which imports schema with no schemaLocation attribute
--INI--
display_errors=on

--SKIPIF--
<?php
if (phpversion('sdo') <= '1.2.4')
Expand Down
2 changes: 0 additions & 2 deletions tests/SDO/phpt/001.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
Check for sdo presence
--INI--
display_errors=off
--SKIPIF--
<?php if (!extension_loaded("sdo")) print "skip"; ?>
--FILE--
Expand Down
2 changes: 0 additions & 2 deletions tests/SDO/phpt/002.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO getType test
--INI--
display_errors=off
--SKIPIF--
<?php if (!extension_loaded("sdo")) print "skip"; ?>
--FILE--
Expand Down
2 changes: 0 additions & 2 deletions tests/SDO/phpt/003.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO var_dump test
--INI--
display_errors=off
--SKIPIF--
<?php if (!extension_loaded("sdo")) print "skip"; ?>
--FILE--
Expand Down
2 changes: 0 additions & 2 deletions tests/SDO/phpt/005.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO_DAS_XML load test
--INI--
display_errors=off
--SKIPIF--
<?php if (!extension_loaded("sdo")) print "skip"; ?>
--FILE--
Expand Down
2 changes: 0 additions & 2 deletions tests/SDO/phpt/006.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO reflection test
--INI--
display_errors=off
--SKIPIF--
<?php if (!extension_loaded("sdo") ||
phpversion('sdo') < '0.7.1') print "skip"; ?>
Expand Down
4 changes: 1 addition & 3 deletions tests/SDO/phpt/007.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO exception test
--INI--
display_errors=off
--SKIPIF--
<?php if (!extension_loaded("sdo")) print "skip"; ?>
--FILE--
Expand All @@ -23,4 +21,4 @@ try {
--EXPECT--
getMessage(): Cannot find property:bad
getFile(): 1
getLine(): 1
getLine(): 1
4 changes: 1 addition & 3 deletions tests/SDO/phpt/008.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO_DAS_XML print test
--INI--
display_errors=off
--SKIPIF--
<?php if (!extension_loaded("sdo")) print "skip"; ?>
--FILE--
Expand Down Expand Up @@ -46,4 +44,4 @@ object(SDO_DAS_XML)#1 {
- manager (commonj.sdo#Boolean)
21. companyNS#RootType
- company (companyNS#CompanyType)
}
}
4 changes: 1 addition & 3 deletions tests/SDO/phpt/bug10049.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO test for copy object with property set to null
--INI--
display_errors=off
--SKIPIF--
<?php if (!extension_loaded("sdo")) print "skip"; ?>
--FILE--
Expand Down Expand Up @@ -42,4 +40,4 @@ echo ($o == $order);

?>
--EXPECT--
1
1
4 changes: 2 additions & 2 deletions tests/SDO/phpt/bug10842.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO test xpath reference to nested open properties
--INI--
display_errors=off
--SKIPIF--
<?php
if (!extension_loaded("sdo"))
Expand Down Expand Up @@ -70,6 +68,8 @@ try {
} catch (SDO_PropertyNotFoundException $e) {
echo "This test fails with SDO_PropertyNotFoundException because of Tuscany-988 ";
echo "(http://issues.apache.org/jira/browse/TUSCANY-988)\n";

print $e;
}

?>
Expand Down
4 changes: 1 addition & 3 deletions tests/SDO/phpt/bug8694.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO test for reading nillable elements
--INI--
display_errors=off
--SKIPIF--
<?php
if (!extension_loaded("sdo"))
Expand Down Expand Up @@ -47,4 +45,4 @@ $root = $xmldas->loadString($xml)->getRootDataObject();
?>
--EXPECT--
1
1
1
4 changes: 1 addition & 3 deletions tests/SDO/phpt/bug9243.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
test for bug #9243 - unnecessary warning messages loading remote schema
--INI--
display_errors=off
--SKIPIF--
<?php

Expand All @@ -20,4 +18,4 @@ try {
}

?>
--EXPECT--
--EXPECT--
4 changes: 1 addition & 3 deletions tests/SDO/phpt/bug9487.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO test unstructured text in sequence is preserved when a DataObject is cloned
--INI--
display_errors=off
--SKIPIF--
<?php if (!extension_loaded("sdo")) print "skip"; ?>
--FILE--
Expand Down Expand Up @@ -56,4 +54,4 @@ echo "\n";
?>
--EXPECT--
1
1
1
4 changes: 1 addition & 3 deletions tests/SDO/phpt/bug9867.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO test for namespaces
--INI--
display_errors=off
--SKIPIF--
<?php
if (!extension_loaded("sdo"))
Expand Down Expand Up @@ -77,4 +75,4 @@ echo $xmlstr;
<last>Shakespeare</last>
</name>
</person>
</tns:add>
</tns:add>
4 changes: 1 addition & 3 deletions tests/SDO/phpt/bug9991.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
--TEST--
SDO (another) test for copy object with property set to null
--INI--
display_errors=off
--SKIPIF--
<?php if (!extension_loaded("sdo")) print "skip"; ?>
--FILE--
Expand Down Expand Up @@ -39,4 +37,4 @@ $person2 = clone($person);
echo ($person->dob === $person2->dob);
?>
--EXPECT--
1
1

0 comments on commit 5857c79

Please sign in to comment.