__writeDir = FILES . 'write/'; } public function testFileDelete() { // -- test delete $file = $this->__writeDir . 'testFileDelete.txt'; $open = fopen($file, 'w') or die("cannot create file"); fclose($open); $this->assertFileExists($file, 'Should of created a file'); Asra_Utils_Filesystem::fileDelete($file); $this->assertFileNotExists($file, 'That file should no longer be there.'); // -- test missing $file = Asra_Utils_Filesystem::fileDelete($file); $this->assertFalse($file); } public function testTrace() { $this->markTestSkipped(); } public function testYaml() { Asra_Utils_Filesystem::yaml('test'); $h = headers_list(); print_r($h); } }