예제 #1
0
파일: UtilsTest.php 프로젝트: is00hcw/munee
 /**
  * Can Create/Remove Directories?
  */
 public function testCreateRemoveDirectories()
 {
     $testDir = WEBROOT . DS . 'test' . DS . 'sub_dir';
     $this->assertFalse(is_dir($testDir));
     Utils::createDir($testDir);
     $this->assertTrue(is_dir($testDir));
     Utils::removeDir(WEBROOT . DS . 'test');
 }
예제 #2
0
 /**
  * Tear Down
  *
  * Remove the tmp asset files
  */
 protected function tearDown()
 {
     Utils::removeDir(WEBROOT . DS . 'js');
 }