incubator-zeta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebast...@apache.org
Subject [zeta-commits] svn commit: r1037427 - /incubator/zetacomponents/trunk/Base/tests/base_test.php
Date Sun, 21 Nov 2010 11:43:23 GMT
Author: sebastian
Date: Sun Nov 21 11:43:23 2010
New Revision: 1037427

URL: http://svn.apache.org/viewvc?rev=1037427&view=rev
Log:
- Use ezc_autoload() instead of __autoload().

Modified:
    incubator/zetacomponents/trunk/Base/tests/base_test.php

Modified: incubator/zetacomponents/trunk/Base/tests/base_test.php
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/trunk/Base/tests/base_test.php?rev=1037427&r1=1037426&r2=1037427&view=diff
==============================================================================
--- incubator/zetacomponents/trunk/Base/tests/base_test.php (original)
+++ incubator/zetacomponents/trunk/Base/tests/base_test.php Sun Nov 21 11:43:23 2010
@@ -425,7 +425,7 @@ class ezcBaseTest extends ezcTestCase
     public function testNoPrefixAutoload()
     {
         ezcBase::addClassRepository( './Base/tests/test_repository', './Base/tests/test_repository/autoload_files'
);
-        __autoload( 'Object' );
+        ezc_autoload( 'Object' );
         if ( !class_exists( 'Object' ) )
         {
             $this->fail( "Autoload does not handle classes with no prefix" );
@@ -435,7 +435,7 @@ class ezcBaseTest extends ezcTestCase
     public function testNoPrefixAutoload2()
     {
         ezcBase::addClassRepository( './Base/tests/issue15896' );
-        __autoload( 'ab' );
+        ezc_autoload( 'ab' );
     }
 
     public function testCheckDependencyExtension()



Mime
View raw message