Changeset 2

Show
Ignore:
Timestamp:
11/10/2005 10:50:52 AM (3 years ago)
Author:
xue
Message:

Fixed issues with svn directories.

Location:
trunk/tests/UnitTests/framework
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/UnitTests/framework/common.php

    r1 r2  
    1818function __autoload($className) 
    1919{ 
    20         require_once($className); 
     20        require_once($className.Prado::CLASS_FILE_EXT); 
    2121} 
    2222 
  • trunk/tests/UnitTests/framework/index.php

    r1 r2  
    1616                { 
    1717                        $fullpath="$path/$entry"; 
    18                         if($entry!=='.' && $entry!=='..' && is_dir($fullpath)) 
     18                        if($entry!=='.' && $entry!=='..' && $entry!=='.svn' && is_dir($fullpath)) 
    1919                        { 
    2020                                $folder=new TestFolder($fullpath,$rootPath,$rootUri); 
     
    4949                if(is_file($path.'/'.$entry) && strncmp($entry,'ut',2)===0) 
    5050                        $test->addTestFile($path.'/'.$entry); 
    51                 else if($entry!=='.' && $entry!=='..' && is_dir($path.'/'.$entry) && $recursive) 
     51                else if($entry!=='.' && $entry!=='..' && $entry!=='.svn' && is_dir($path.'/'.$entry) && $recursive) 
    5252                        addTests($test,$path.'/'.$entry,$recursive); 
    5353        }