cvs: php-src(PHP_5_0) /tests/classes abstract_derived.phpt abstract_not_declared.phpt abstract_redeclare.phpt interface_must_be_implemented.phpt
interfaces_002.phpt

From: Date: Tue, 03 May 2005 12:52:09 +0000
Subject: cvs: php-src(PHP_5_0) /tests/classes abstract_derived.phpt abstract_not_declared.phpt abstract_redeclare.phpt interface_must_be_implemented.phpt
interfaces_002.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31712@lists.php.net to get a copy of this message
helly Tue May 3 08:52:09 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/tests/classes abstract_derived.phpt abstract_not_declared.phpt abstract_redeclare.phpt interface_must_be_implemented.phpt interfaces_002.phpt Log: - Update tests affexted by fix http://cvs.php.net/diff.php/php-src/tests/classes/abstract_derived.phpt?r1=1.1.2.1&r2=1.1.2.2&ty=u Index: php-src/tests/classes/abstract_derived.phpt diff -u php-src/tests/classes/abstract_derived.phpt:1.1.2.1 php-src/tests/classes/abstract_derived.phpt:1.1.2.2 --- php-src/tests/classes/abstract_derived.phpt:1.1.2.1 Sun Jul 25 15:35:30 2004 +++ php-src/tests/classes/abstract_derived.phpt Tue May 3 08:52:08 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.3.2.1&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.3.2.1 --- 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 08:52:08 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.5.2.1&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.5.2.1 --- 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 08:52:08 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/interface_must_be_implemented.phpt?r1=1.4&r2=1.4.2.1&ty=u Index: php-src/tests/classes/interface_must_be_implemented.phpt diff -u php-src/tests/classes/interface_must_be_implemented.phpt:1.4 php-src/tests/classes/interface_must_be_implemented.phpt:1.4.2.1 --- php-src/tests/classes/interface_must_be_implemented.phpt:1.4 Thu Oct 23 23:31:52 2003 +++ php-src/tests/classes/interface_must_be_implemented.phpt Tue May 3 08:52:08 2005 @@ -6,7 +6,7 @@ <?php interface if_a { - abstract function f_a(); + function f_a(); } class derived_a implements if_a { @@ -14,4 +14,4 @@ ?> --EXPECTF-- -Fatal error: Class derived_a contains 1 abstract methods and must therefore be declared abstract (if_a::f_a) in %s on line %d +Fatal error: Class derived_a contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (if_a::f_a) in %s on line %d http://cvs.php.net/diff.php/php-src/tests/classes/interfaces_002.phpt?r1=1.5&r2=1.5.2.1&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.5.2.1 --- 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 08:52:08 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

« previous php.cvs (#31712) next »