From 397c88ae74226f18cae2592559df5127dd79a4b8 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 20 May 2006 09:08:35 +0000 Subject: [PATCH] - MFH Add new tests --- Zend/tests/catch_002.phpt | 33 +++++++++++++++++++++++++++++++ Zend/tests/catch_003.phpt | 38 ++++++++++++++++++++++++++++++++++++ Zend/tests/catch_004.phpt | 41 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 112 insertions(+) create mode 100755 Zend/tests/catch_002.phpt create mode 100755 Zend/tests/catch_003.phpt create mode 100755 Zend/tests/catch_004.phpt 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=== -- 2.50.1