Ejemplo n.º 1
0
 /**
  * @test
  */
 public function loadRequiredTestClassesLoadsFileInSecondPath()
 {
     $this->subject->loadRequiredTestClasses(array(ExtensionManagementUtility::extPath('phpunit') . 'Tests/Unit/BackEnd/Fixtures/' => array('LoadMe.php'), ExtensionManagementUtility::extPath('phpunit') . 'Tests/Unit/Fixtures/' => array('LoadMe.php')));
     self::assertTrue(class_exists('OliverKlee\\Phpunit\\Tests\\Unit\\Fixtures\\LoadMe', false));
 }
Ejemplo n.º 2
0
 /**
  * @test
  */
 public function loadRequiredTestClassesLoadsFileInSecondPath()
 {
     $this->subject->loadRequiredTestClasses(array(ExtensionManagementUtility::extPath('phpunit') . 'Tests/Unit/BackEnd/Fixtures/' => array('LoadMe.php'), ExtensionManagementUtility::extPath('phpunit') . 'Tests/Unit/Fixtures/' => array('LoadMe.php')));
     self::assertTrue(class_exists('Tx_Phpunit_Tests_Unit_Fixtures_LoadMe', FALSE));
 }
Ejemplo n.º 3
0
 /**
  * @test
  */
 public function loadRequiredTestClassesLoadsFileInSecondPath()
 {
     $this->fixture->loadRequiredTestClasses(array(t3lib_extMgm::extPath('phpunit') . 'Tests/Unit/BackEnd/Fixtures/' => array('LoadMe.php'), t3lib_extMgm::extPath('phpunit') . 'Tests/Unit/Fixtures/' => array('LoadMe.php')));
     $this->assertTrue(class_exists('Tx_Phpunit_Tests_Fixtures_LoadMe', FALSE));
 }