Merge branch 'feature/evil3/auto-loading' into develop

* feature/evil3/auto-loading:
  [feature/auto-loading] Add test case for phpbb_dir2 =>
This commit is contained in:
Nils Adermann 2010-08-31 20:42:20 +02:00
commit f1550a65b5
2 changed files with 11 additions and 0 deletions

View file

@ -44,6 +44,11 @@ class phpbb_class_loader_test extends PHPUnit_Framework_TestCase
$class_loader->resolve_path('phpbb_dir_subdir_class_name'),
'Class in a sub-directory'
);
$this->assertEquals(
$prefix . 'dir2/dir2.php',
$class_loader->resolve_path('phpbb_dir2'),
'Class with name of dir within dir (short class name)'
);
}
public function test_resolve_cached()

View file

@ -0,0 +1,6 @@
<?php
class phpbb_dir2
{
}