public SimpleFileSystemTests() { var settings = new Dictionary <string, string> { { "vfs:rootPath", "../../../Sftp/TestRootDir" } }; var configuration = new ConfigurationBuilder() .AddInMemoryCollection(settings) .Build(); fs = new SimpleFileSystem(configuration, logger.Object); }
private void InitializeBasicConfigrations() { var srcPath = Path.GetFullPath(Get("APP_SRC")); var destPath = Path.GetFullPath(Get("APP_DEST")); Src = new SimpleFileSystem(srcPath); Dest = new SimpleFileSystem(destPath); Log = Get("APP_LOG"); if (Src == Dest) { throw new Exception("dest should be different from src."); } }