public virtual void SetUp() { fsTarget = FileSystem.GetLocal(new Configuration()); fsTarget.Mkdirs(new Path(fileSystemTestHelper.GetTestRootPath(fsTarget), "dir1")); conf = ViewFileSystemTestSetup.CreateConfig(); fsView = ViewFileSystemTestSetup.SetupForViewFileSystem(conf, fileSystemTestHelper , fsTarget); conf.Set("fs.defaultFS", FsConstants.ViewfsUri.ToString()); }
/// <exception cref="System.Exception"/> protected internal override FileSystem CreateFileSystem() { return(ViewFileSystemTestSetup.SetupForViewFileSystem(ViewFileSystemTestSetup.CreateConfig (), this, fcTarget)); }