From 78e44d8ab045b4841cb171cb50d4f9decd2aec85 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 30 May 2006 23:11:13 +0000 Subject: [PATCH] - Add new tests --- tests/classes/inheritance_003.phpt | 20 ++++++++++++++++++++ tests/classes/inheritance_004.phpt | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100755 tests/classes/inheritance_003.phpt create mode 100755 tests/classes/inheritance_004.phpt diff --git a/tests/classes/inheritance_003.phpt b/tests/classes/inheritance_003.phpt new file mode 100755 index 0000000000..14ff1be793 --- /dev/null +++ b/tests/classes/inheritance_003.phpt @@ -0,0 +1,20 @@ +--TEST-- +ZE2 method inheritance without interfaces +--FILE-- + +===DONE=== +--EXPECTF-- + +Fatal error: Declaration of B::f() must be compatible with that of A::f() in %sinheritance_003.php on line %d diff --git a/tests/classes/inheritance_004.phpt b/tests/classes/inheritance_004.phpt new file mode 100755 index 0000000000..1dc5fa0c5f --- /dev/null +++ b/tests/classes/inheritance_004.phpt @@ -0,0 +1,20 @@ +--TEST-- +ZE2 method inheritance without interfaces +--FILE-- + +===DONE=== +--EXPECTF-- + +Fatal error: Declaration of B::f() must be compatible with that of A::f() in %sinheritance_004.php on line %d -- 2.50.1