Пример #1
0
 /**
  * @test
  *
  * Note: This tests uses a lowercase compare because some systems use a
  * case-insensitive file system.
  */
 public function findTestsPathForExtensionForExtensionWithLowerCaseTestsDirectoryReturnsThatDirectory()
 {
     if (!t3lib_extMgm::isLoaded('bbb')) {
         $this->markTestSkipped('This test can only be run if the extension "bbb" from Tests/Unit/Fixtures/Extensions/ is installed.');
     }
     $this->assertSame(strtolower(t3lib_extMgm::extPath('bbb') . 'tests/'), strtolower($this->fixture->findTestsPathForExtension('bbb')));
 }
Пример #2
0
 /**
  * @test
  *
  * Note: This tests uses a lowercase compare because some systems use a
  * case-insensitive file system.
  */
 public function findTestsPathForExtensionForExtensionWithLowerCaseTestsDirectoryReturnsThatDirectory()
 {
     if (!ExtensionManagementUtility::isLoaded('bbb')) {
         self::markTestSkipped('This test can only be run if the extension "bbb" from TestExtensions/ is installed.');
     }
     self::assertSame(strtolower(ExtensionManagementUtility::extPath('bbb') . 'tests/'), strtolower($this->subject->findTestsPathForExtension('bbb')));
 }