1
0
mirror of https://github.com/danog/class-finder.git synced 2025-01-22 13:51:42 +01:00

Add a test case

This commit is contained in:
Hayden Pierce 2018-10-21 09:14:41 -05:00
parent 2a9d51931a
commit 6af0937964
2 changed files with 13 additions and 0 deletions

View File

@ -5,6 +5,11 @@ namespace TestApp1\FilesClasses;
class Cam {} class Cam {}
class Lam {} class Lam {}
namespace TestApp1\FilesClasses\MoreClasses;
class Pham {}
class Slam {}
namespace TestApp1\RedHerring; namespace TestApp1\RedHerring;
class RedHerring {} class RedHerring {}

View File

@ -42,6 +42,14 @@ class FilesTest extends \PHPUnit_Framework_TestCase
'TestApp1\FilesClasses\Lam', 'TestApp1\FilesClasses\Lam',
), ),
'ClassFinder should be able to find 1st party classes included from `files` listed in composer.json.' 'ClassFinder should be able to find 1st party classes included from `files` listed in composer.json.'
),
array(
'TestApp1\FilesClasses\MoreClasses',
array(
'TestApp1\FilesClasses\MoreClasses\Pham',
'TestApp1\FilesClasses\MoreClasses\Slam'
),
'ClassFinder should be able to find 1st party classes included from `files` listed in composer.json.'
) )
); );
} }