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); } }
public function tearDown() { Atrox_Core_System_FileSystem::delete($this->temporaryFolder); }
public function deleteBucket($bucketName) { try { foreach ($this->writePaths as $writePath) { Atrox_Core_System_FileSystem::delete($writePath . "/" . $bucketName); } } catch (Exception $e) { } }
public function deleteBucket($bucketName) { try { Atrox_Core_System_FileSystem::delete($this->path . "/" . $bucketName); } catch (Exception $e) { } }