From: Marcus Boerger Date: Sat, 20 May 2006 09:08:35 +0000 (+0000) Subject: - MFH Add new tests X-Git-Tag: php-5.2.0RC1~506 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=397c88ae74226f18cae2592559df5127dd79a4b8;p=php - MFH Add new tests --- 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===