From: Marcus Boerger Date: Tue, 27 Sep 2005 08:37:37 +0000 (+0000) Subject: - Add new tests X-Git-Tag: RELEASE_0_9_0~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb969bf9380a374f651ea10c91c37669b094ae52;p=php - Add new tests --- diff --git a/tests/classes/tostring_002.phpt b/tests/classes/tostring_002.phpt new file mode 100755 index 0000000000..8a4a7af339 --- /dev/null +++ b/tests/classes/tostring_002.phpt @@ -0,0 +1,31 @@ +--TEST-- +ZE2 __toString() in __destruct +--SKIPIF-- + +--FILE-- + +====DONE==== +--EXPECTF-- +Hello +====DONE==== +Hello diff --git a/tests/classes/tostring_003.phpt b/tests/classes/tostring_003.phpt new file mode 100755 index 0000000000..0853de976d --- /dev/null +++ b/tests/classes/tostring_003.phpt @@ -0,0 +1,36 @@ +--TEST-- +ZE2 __toString() in __destruct/exception +--SKIPIF-- + +--FILE-- +getMessage()); +} + +?> +====DONE==== +--EXPECTF-- +string(5) "Damn!" +====DONE====