Example #1
0
 public function testDeleteValidPathWithHiddenFiles()
 {
     $this->markTestSkipped();
     foreach ($this->path as $path) {
         $this->assertTrue(is_dir($path), "Directory does not exist: " . $path);
         //TOTO
         file_put_contents($path . "/.hiddenfile", "Test File");
         Atrox_Core_System_FileSystem::delete($path);
         $this->assertFalse(is_dir($path), "Directory does exists: " . $path);
     }
 }
Example #2
0
 public function tearDown()
 {
     Atrox_Core_System_FileSystem::delete($this->temporaryFolder);
 }
Example #3
0
 public function deleteBucket($bucketName)
 {
     try {
         foreach ($this->writePaths as $writePath) {
             Atrox_Core_System_FileSystem::delete($writePath . "/" . $bucketName);
         }
     } catch (Exception $e) {
     }
 }
Example #4
0
File: Disk.php Project: serby/Atrox
 public function deleteBucket($bucketName)
 {
     try {
         Atrox_Core_System_FileSystem::delete($this->path . "/" . $bucketName);
     } catch (Exception $e) {
     }
 }