[PHP-CVS] cvs: php-src /tests/classes abstract_derived.phpt abstract_not_declared.phpt abstract_redeclare.phpt interfaces_002.phpt

2005-05-03 Thread Marcus Boerger
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 @@
 
 --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.3Sat Aug  9 
10:48:47 2003
+++ php-src/tests/classes/abstract_not_declared.phptTue 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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /tests/classes abstract_derived.phpt

2004-02-26 Thread Marcus Boerger
helly   Thu Feb 26 15:11:29 2004 EDT

  Added files: 
/php-src/tests/classes  abstract_derived.phpt 
  Log:
  Fixes for abstract classes
  

http://cvs.php.net/co.php/php-src/tests/classes/abstract_derived.phpt?r=1.1&p=1
Index: php-src/tests/classes/abstract_derived.phpt
+++ php-src/tests/classes/abstract_derived.phpt
--TEST--
ZE2 A derived class with an abstract method must be abstract
--SKIPIF--

--FILE--

===DONE===

--EXPECTF--

Fatal error: Class derived contains 1 abstract methods and must therefore be declared 
abstract (derived::show) in %sabstract_derived.php on line %d

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php