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:
parent
2a9d51931a
commit
6af0937964
@ -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 {}
|
||||||
|
@ -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.'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user