cvs: php4 /tests/classes abstract_not_declared.phpt interface_must_be_implemented.phpt interfaces_002.phpt
| From: | Marcus Boerger | Date: | Sun, 04 May 2003 19:50:28 +0000 |
| Subject: | cvs: php4 /tests/classes abstract_not_declared.phpt interface_must_be_implemented.phpt interfaces_002.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20690@lists.php.net to get a copy of this message | ||
helly Sun May 4 15:50:28 2003 EDT
Modified files:
/php4/tests/classes abstract_not_declared.phpt
interface_must_be_implemented.phpt
interfaces_002.phpt
Log:
Change tests to reflect error message changes
Index: php4/tests/classes/abstract_not_declared.phpt
diff -u php4/tests/classes/abstract_not_declared.phpt:1.1
php4/tests/classes/abstract_not_declared.phpt:1.2
--- php4/tests/classes/abstract_not_declared.phpt:1.1 Thu Mar 6 19:01:08 2003
+++ php4/tests/classes/abstract_not_declared.phpt Sun May 4 15:50:28 2003
@@ -12,4 +12,4 @@
echo "Done\n"; // shouldn't be displayed
?>
--EXPECTF--
-Fatal error: Class fail contains abstract methods and must be declared abstract in %s on line %d
+Fatal error: Class fail contains 1 abstract methods and must therefore be declared abstract
(fail::show) in %s on line %d
Index: php4/tests/classes/interface_must_be_implemented.phpt
diff -u php4/tests/classes/interface_must_be_implemented.phpt:1.1
php4/tests/classes/interface_must_be_implemented.phpt:1.2
--- php4/tests/classes/interface_must_be_implemented.phpt:1.1 Tue Mar 11 19:09:59 2003
+++ php4/tests/classes/interface_must_be_implemented.phpt Sun May 4 15:50:28 2003
@@ -14,4 +14,4 @@
?>
--EXPECTF--
-Fatal error: Class derived_a contains abstract methods and must be declared abstract in %s on line
%d
+Fatal error: Class derived_a contains 1 abstract methods and must therefore be declared abstract
(if_a::f_a) in %s on line %d
Index: php4/tests/classes/interfaces_002.phpt
diff -u php4/tests/classes/interfaces_002.phpt:1.2 php4/tests/classes/interfaces_002.phpt:1.3
--- php4/tests/classes/interfaces_002.phpt:1.2 Fri Mar 28 13:58:18 2003
+++ php4/tests/classes/interfaces_002.phpt Sun May 4 15:50:28 2003
@@ -25,5 +25,5 @@
?>
--EXPECTF--
-Fatal error: Class exception_foo contains abstract methods and must be declared abstract in %s on
line %d
+Fatal error: Class exception_foo contains 1 abstract methods and must therefore be declared
abstract (throwable::geterrno) in %s on line %d