[feature/auto-loading] Add test case for phpbb_dir2 =>

includes/dir2/dir2.php

PHPBB3-9682
This commit is contained in:
Igor Wiedler 2010-08-31 20:30:59 +02:00
parent e4ff780c13
commit 9edf0d64a2
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
{
}