Exemplo n.º 1
0
 /**
  * Tear down
  */
 public function tearDown()
 {
     foreach ($this->testDirs as $dir) {
         chmod($dir, 0777);
         \TYPO3\CMS\Core\Utility\GeneralUtility::rmdir($dir, TRUE);
     }
     parent::tearDown();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->subject = $this->getAccessibleMockForAbstractClass(AbstractHierarchicalFilesystemDriver::class, array(), '', false);
 }
Exemplo n.º 3
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = $this->createDriverFixture();
 }
 /**
  * Set up the test
  */
 public function setUp()
 {
     parent::setUp();
     $this->subject = $this->getAccessibleMock('TYPO3\\CMS\\Core\\Resource\\ResourceCompressor', array('compressCssFile', 'compressJsFile', 'createMergedCssFile', 'createMergedJsFile', 'getFilenameFromMainDir', 'checkBaseDirectory'));
 }
Exemplo n.º 5
0
 protected function setUp()
 {
     parent::setUp();
     $this->subject = $this->createDriver();
 }
Exemplo n.º 6
0
 protected function tearDown()
 {
     GeneralUtility::resetSingletonInstances($this->singletonInstances);
     parent::tearDown();
 }
 /**
  * Set up the test
  */
 protected function setUp()
 {
     parent::setUp();
     $this->subject = $this->getAccessibleMock(ResourceCompressor::class, array('compressCssFile', 'compressJsFile', 'createMergedCssFile', 'createMergedJsFile', 'getFilenameFromMainDir', 'checkBaseDirectory'));
 }
Exemplo n.º 8
0
 public function tearDown()
 {
     \TYPO3\CMS\Core\Utility\GeneralUtility::resetSingletonInstances($this->singletonInstances);
     parent::tearDown();
 }
 public function setUp()
 {
     parent::setUp();
     $this->subject = $this->getAccessibleMockForAbstractClass('\\TYPO3\\CMS\\Core\\Resource\\Driver\\AbstractHierarchicalFilesystemDriver', array(), '', FALSE);
 }