TQ\Tests\Helper::createDirectory PHP Method

createDirectory() public static method

public static createDirectory ( string $path ) : boolean
$path string
return boolean
    public static function createDirectory($path)
    {
        return mkdir($path, 0777, true);
    }

Usage Example

コード例 #1
0
 public function testRepositoryOpenOnSubPathOfRepositoryPath()
 {
     Helper::createDirectory(TESTS_REPO_PATH_1 . '/test');
     $c = $this->getRepository(TESTS_REPO_PATH_1 . '/test');
     $this->assertInstanceOf('TQ\\Svn\\Repository\\Repository', $c);
     $this->assertEquals(TESTS_REPO_PATH_1, $c->getRepositoryPath());
 }
All Usage Examples Of TQ\Tests\Helper::createDirectory