You are here

public function FileDriverTest::testGetAllClassNamesGlobalBasename in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/FileDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\FileDriverTest::testGetAllClassNamesGlobalBasename()

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/FileDriverTest.php, line 44

Class

FileDriverTest

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

public function testGetAllClassNamesGlobalBasename() {
  $driver = new TestFileDriver($this
    ->newLocator());
  $driver
    ->setGlobalBasename("global");
  $classNames = $driver
    ->getAllClassNames();
  $this
    ->assertEquals(array(
    'stdGlobal',
    'stdGlobal2',
  ), $classNames);
}