helly           Tue Mar 30 16:17:52 2004 EDT

  Modified files:              
    /php-src/tests/reflection   invoke.phpt 
    /php-src/tests/lang bug26640.phpt 
  Log:
  Fix tests
  
http://cvs.php.net/diff.php/php-src/tests/reflection/invoke.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/tests/reflection/invoke.phpt
diff -u php-src/tests/reflection/invoke.phpt:1.2 
php-src/tests/reflection/invoke.phpt:1.3
--- php-src/tests/reflection/invoke.phpt:1.2    Tue Mar  2 10:57:41 2004
+++ php-src/tests/reflection/invoke.phpt        Tue Mar 30 16:17:52 2004
@@ -3,8 +3,6 @@
 --FILE--
 <?php
 
-include_once dirname(__FILE__).'/exception.inc';
-
 class a {
        function a(){
        }
@@ -14,26 +12,26 @@
 
 $b = new b();
 
-$a=new Reflection_Class("a");
+$a=new ReflectionClass("a");
 $m=$a->getMethod("a");
 
 try {
         $m->invoke(null);
-} catch (reflection_exception $E) {
+} catch (ReflectionException $E) {
         echo $E->getMessage()."\n";
 }
 
 
 try {
         $m->invoke($b);
-} catch (reflection_exception $E) {
+} catch (ReflectionException $E) {
         echo $E->getMessage()."\n";
 }
 
 $b = new a();
 try {
         $m->invoke($b);
-} catch (reflection_exception $E) {
+} catch (ReflectionException $E) {
         echo $E->getMessage()."\n";
 }
 
http://cvs.php.net/diff.php/php-src/tests/lang/bug26640.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/tests/lang/bug26640.phpt
diff -u php-src/tests/lang/bug26640.phpt:1.1 php-src/tests/lang/bug26640.phpt:1.2
--- php-src/tests/lang/bug26640.phpt:1.1        Fri Jan 16 13:24:31 2004
+++ php-src/tests/lang/bug26640.phpt    Tue Mar 30 16:17:52 2004
@@ -14,7 +14,7 @@
        }
 }
 
-$a = new Reflection_Class('autoload_class');
+$a = new ReflectionClass('autoload_class');
 
 if (is_object($a)) {
        echo "OK\n";

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

Reply via email to