class AnnotationDriverTest in Plug 7
Hierarchy
- class \Doctrine\Tests\Common\Persistence\Mapping\AnnotationDriverTest extends \Doctrine\Tests\Common\Persistence\Mapping\PHPUnit_Framework_TestCase
Expanded class hierarchy of AnnotationDriverTest
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ AnnotationDriverTest.php, line 9
Namespace
Doctrine\Tests\Common\Persistence\MappingView source
class AnnotationDriverTest extends \PHPUnit_Framework_TestCase {
public function testGetAllClassNames() {
$reader = new AnnotationReader();
$driver = new SimpleAnnotationDriver($reader, array(
__DIR__ . '/_files/annotation',
));
$classes = $driver
->getAllClassNames();
$this
->assertEquals(array(
'Doctrine\\TestClass',
), $classes);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AnnotationDriverTest:: |
public | function |