From: Marcus Boerger Date: Sat, 20 May 2006 09:08:00 +0000 (+0000) Subject: - Add new tests X-Git-Tag: BEFORE_NEW_OUTPUT_API~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=207846259d200b059fa7ad3e1a51328553f06474;p=php - Add new tests # Now who finds the error in php code? --- diff --git a/Zend/tests/catch_002.phpt b/Zend/tests/catch_002.phpt new file mode 100755 index 0000000000..11d736abe2 --- /dev/null +++ b/Zend/tests/catch_002.phpt @@ -0,0 +1,33 @@ +--TEST-- +Catching an exception in a constructor +--FILE-- + +===DONE=== +--EXPECT-- +Caught +===DONE=== diff --git a/Zend/tests/catch_003.phpt b/Zend/tests/catch_003.phpt new file mode 100755 index 0000000000..414d50f815 --- /dev/null +++ b/Zend/tests/catch_003.phpt @@ -0,0 +1,38 @@ +--TEST-- +Catching an exception in a constructor fired form a static method +--FILE-- + +===DONE=== +--EXPECT-- +Caught +===DONE=== diff --git a/Zend/tests/catch_004.phpt b/Zend/tests/catch_004.phpt new file mode 100755 index 0000000000..f91da60dc0 --- /dev/null +++ b/Zend/tests/catch_004.phpt @@ -0,0 +1,41 @@ +--TEST-- +Catching an exception in a constructor inside a static method +--FILE-- + +===DONE=== +--EXPECT-- +Caught +===DONE===