cvs: php-src /tests/classes abstract_derived.phpt abstract_not_declared.phpt abstract_redeclare.phpt interfaces_002.phpt
| From: | Marcus Boerger | Date: | Tue, 03 May 2005 09:52:02 +0000 |
| Subject: | cvs: php-src /tests/classes abstract_derived.phpt abstract_not_declared.phpt abstract_redeclare.phpt interfaces_002.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-31708@lists.php.net to get a copy of this message | ||
helly Tue May 3 05:52:02 2005 EDT
Modified files:
/php-src/tests/classes abstract_derived.phpt
abstract_not_declared.phpt
abstract_redeclare.phpt interfaces_002.phpt
Log:
- Fix tests affected by fix
http://cvs.php.net/diff.php/php-src/tests/classes/abstract_derived.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/tests/classes/abstract_derived.phpt
diff -u php-src/tests/classes/abstract_derived.phpt:1.1
php-src/tests/classes/abstract_derived.phpt:1.2
--- php-src/tests/classes/abstract_derived.phpt:1.1 Thu Feb 26 15:11:28 2004
+++ php-src/tests/classes/abstract_derived.phpt Tue May 3 05:52:01 2005
@@ -17,4 +17,4 @@
<?php exit(0); ?>
--EXPECTF--
-Fatal error: Class derived contains 1 abstract methods and must therefore be declared abstract
(derived::show) in %sabstract_derived.php on line %d
+Fatal error: Class derived contains 1 abstract method and must therefore be declared abstract or
implement the remaining methods (derived::show) in %sabstract_derived.php on line %d
http://cvs.php.net/diff.php/php-src/tests/classes/abstract_not_declared.phpt?r1=1.3&r2=1.4&ty=u
Index: php-src/tests/classes/abstract_not_declared.phpt
diff -u php-src/tests/classes/abstract_not_declared.phpt:1.3
php-src/tests/classes/abstract_not_declared.phpt:1.4
--- php-src/tests/classes/abstract_not_declared.phpt:1.3 Sat Aug 9 10:48:47 2003
+++ php-src/tests/classes/abstract_not_declared.phpt Tue May 3 05:52:01 2005
@@ -12,4 +12,4 @@
echo "Done\n"; // shouldn't be displayed
?>
--EXPECTF--
-Fatal error: Class fail contains 1 abstract methods and must therefore be declared abstract
(fail::show) in %s on line %d
+Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or
implement the remaining methods (fail::show) in %s on line %d
http://cvs.php.net/diff.php/php-src/tests/classes/abstract_redeclare.phpt?r1=1.5&r2=1.6&ty=u
Index: php-src/tests/classes/abstract_redeclare.phpt
diff -u php-src/tests/classes/abstract_redeclare.phpt:1.5
php-src/tests/classes/abstract_redeclare.phpt:1.6
--- php-src/tests/classes/abstract_redeclare.phpt:1.5 Fri Feb 27 04:17:55 2004
+++ php-src/tests/classes/abstract_redeclare.phpt Tue May 3 05:52:01 2005
@@ -19,4 +19,4 @@
?>
--EXPECTF--
-Fatal error: Class fail contains 1 abstract methods and must therefore be declared abstract
(fail::show) in %sabstract_redeclare.php on line %d
+Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or
implement the remaining methods (fail::show) in %sabstract_redeclare.php on line %d
http://cvs.php.net/diff.php/php-src/tests/classes/interfaces_002.phpt?r1=1.5&r2=1.6&ty=u
Index: php-src/tests/classes/interfaces_002.phpt
diff -u php-src/tests/classes/interfaces_002.phpt:1.5 php-src/tests/classes/interfaces_002.phpt:1.6
--- php-src/tests/classes/interfaces_002.phpt:1.5 Mon Dec 22 17:50:00 2003
+++ php-src/tests/classes/interfaces_002.phpt Tue May 3 05:52:01 2005
@@ -20,10 +20,10 @@
// this should die -- Exception class must be abstract...
$foo = new Exception_foo;
-echo $foo->getMessage() . "\n";
+echo "Message: " . $foo->getMessage() . "\n";
?>
+===DONE===
--EXPECTF--
-Fatal error: Class Exception_foo contains 1 abstract methods and must therefore be declared
abstract (Throwable::getErrno) in %s on line %d
-
+Fatal error: Class Exception_foo contains 1 abstract method and must therefore be declared abstract
or implement the remaining methods (Throwable::getErrno) in %s on line %d