コード例 #1
0
ファイル: ModulesTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     $exportDirNames = array('Export_Test_Website_1_module_1306738492', 'test_export_0_modules', 'test_export_0_modules_album_id', 'Export_Test_Website_1_module_1306759604', 'Export_Test_Website_1_module_1306760005/', 'Export_Test_Website_1_module_1306760108', 'test_export_0_website');
     foreach ($exportDirNames as $dirname) {
         $exportDir = \Seitenbau\Registry::getConfig()->export->directory . DIRECTORY_SEPARATOR . $dirname . DIRECTORY_SEPARATOR;
         $this->removeDir($exportDir);
     }
     parent::tearDown();
 }
コード例 #2
0
ファイル: WebsiteTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     $exportDirNames = array('test_export_0_modules', 'test_export_0_modules_album_id', 'test_export_0_pages', 'test_export_0_templates', 'test_export_0_templates_with_album', 'test_export_0_templates_with_usergroup', 'test_export_0_website', 'test_export_0_website_with_album', 'Export_Test_Website_1_module_1306501297');
     foreach ($exportDirNames as $dirname) {
         $exportDir = \Seitenbau\Registry::getConfig()->export->directory . DIRECTORY_SEPARATOR . $dirname . DIRECTORY_SEPARATOR;
         $this->removeDir($exportDir);
     }
     parent::tearDown();
 }
コード例 #3
0
ファイル: UploadTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     $this->clearFakeUpload();
     $uploadDirNames = array('SITE-ra10e8ul-11af-46cd-a651-fc42dc78feue-SITE', 'SITE-ra10e8ul-11af-46cd-a651-fc42dc78fe50-SITE');
     foreach ($uploadDirNames as $dirname) {
         $uploadDir = \Seitenbau\Registry::getConfig()->media->files->directory . DIRECTORY_SEPARATOR . $dirname . DIRECTORY_SEPARATOR;
         $this->removeDir($uploadDir);
     }
     parent::tearDown();
 }
コード例 #4
0
ファイル: GetScreenTest.php プロジェクト: rukzuk/rukzuk
 public function tearDown()
 {
     if (count($this->deleteFiles) > 0) {
         foreach ($this->deleteFiles as $file) {
             if (file_exists($file)) {
                 unlink($file);
             }
         }
     }
     parent::tearDown();
 }
コード例 #5
0
ファイル: InitSystemTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     $this->getDbHelper()->markAsDirty();
     parent::tearDown();
 }
コード例 #6
0
ファイル: EditMultipleTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     $this->deactivateGroupCheck();
     parent::tearDown();
 }
コード例 #7
0
ファイル: RegisterTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     OptinTestHelper::clearMailsFromFileTransports($this->mailsFromFileTransportDirectory);
     parent::tearDown();
 }
コード例 #8
0
ファイル: CopyTest.php プロジェクト: rukzuk/rukzuk
 public function tearDown()
 {
     ModuleWriteableMock::tearDown();
     parent::tearDown();
 }
コード例 #9
0
ファイル: CancelTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     DirectoryHelper::clearLatchDirectory();
     parent::tearDown();
 }
コード例 #10
0
ファイル: SendTest.php プロジェクト: rukzuk/rukzuk
 protected function tearDown()
 {
     $this->deleteFilesInOutputDir();
     parent::tearDown();
 }