diff options
author | Igor Wiedler <igor@wiedler.ch> | 2010-08-31 20:30:59 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2010-08-31 20:30:59 +0200 |
commit | 9edf0d64a2735eaff6dbd15487b008bf9ef9b686 (patch) | |
tree | 8018f73aee3a2e7ae927ef1a2255fa2813b01435 /tests/class_loader/class_loader_test.php | |
parent | e4ff780c1370d9f743da0fffc70b98be0c7cfe92 (diff) | |
download | forums-9edf0d64a2735eaff6dbd15487b008bf9ef9b686.tar forums-9edf0d64a2735eaff6dbd15487b008bf9ef9b686.tar.gz forums-9edf0d64a2735eaff6dbd15487b008bf9ef9b686.tar.bz2 forums-9edf0d64a2735eaff6dbd15487b008bf9ef9b686.tar.xz forums-9edf0d64a2735eaff6dbd15487b008bf9ef9b686.zip |
[feature/auto-loading] Add test case for phpbb_dir2 =>
includes/dir2/dir2.php
PHPBB3-9682
Diffstat (limited to 'tests/class_loader/class_loader_test.php')
-rw-r--r-- | tests/class_loader/class_loader_test.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/class_loader/class_loader_test.php b/tests/class_loader/class_loader_test.php index e53507ded3..ecfac8080d 100644 --- a/tests/class_loader/class_loader_test.php +++ b/tests/class_loader/class_loader_test.php @@ -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() |