예제 #1
0
 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());
 }
예제 #2
0
 /// <exception cref="System.Exception"/>
 protected internal override FileSystem CreateFileSystem()
 {
     return(ViewFileSystemTestSetup.SetupForViewFileSystem(ViewFileSystemTestSetup.CreateConfig
                                                               (), this, fcTarget));
 }