コード例 #1
0
ファイル: ImportWebsiteTest.php プロジェクト: rukzuk/rukzuk
 public function tearDown()
 {
     // remove test files
     foreach ($this->filesToDeleteAtTearDown as $filePath) {
         DirectoryHelper::removeFile($filePath);
     }
     // remove test directories
     foreach ($this->directoriesToDeleteAtTearDown as $directory) {
         DirectoryHelper::removeRecursiv($directory);
     }
     parent::tearDown();
 }
コード例 #2
0
ファイル: ImportPagesTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     if ($this->fakedImportFileToDelete !== null) {
         DirectoryHelper::removeFile($this->fakedImportFileToDelete);
     }
     if ($this->importUnzipDirectoryToDelete !== null) {
         $config = Registry::getConfig();
         $testImportDirectory = $config->import->directory;
         DirectoryHelper::removeRecursiv($this->importUnzipDirectoryToDelete, $testImportDirectory);
     }
     parent::tearDown();
 }
コード例 #3
0
ファイル: DeleteTest.php プロジェクト: rukzuk/rukzuk
 public function tearDown()
 {
     ModuleWriteableMock::tearDown();
     parent::tearDown();
 }
コード例 #4
0
ファイル: CreateUserTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     OptinTestHelper::clearMailsFromFileTransports($this->mailsFromFileTransportDirectory);
     parent::tearDown();
 }
コード例 #5
0
 protected function tearDown()
 {
     $this->business->phpunitTearDown();
     parent::tearDown();
 }
コード例 #6
0
ファイル: BuildThemeTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     DirectoryHelper::clearDirectory($this->getTestTargetPath());
     parent::tearDown();
 }
コード例 #7
0
ファイル: LatchTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     DirectoryHelper::clearLatchDirectory();
     LatchBusiness::clearTestLatchDateAndTime();
     parent::tearDown();
 }
コード例 #8
0
ファイル: ShootPageTest.php プロジェクト: rukzuk/rukzuk
 public function tearDown()
 {
     $websiteDir = Registry::getConfig()->screens->directory . DIRECTORY_SEPARATOR . $this->websiteId . DIRECTORY_SEPARATOR;
     $this->removeDir($websiteDir);
     parent::tearDown();
 }
コード例 #9
0
ファイル: CancelTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     DirectoryHelper::clearLatchDirectory();
     parent::tearDown();
 }