protected void initializeAdapter() { this.InitializeTestManager(); this.fsaAdapter = new FSAAdapter(); this.fsaAdapter.Initialize(BaseTestSite); this.fsaAdapter.LogTestCaseDescription(BaseTestSite); BaseTestSite.Log.Add(LogEntryKind.Comment, "Test environment:"); BaseTestSite.Log.Add(LogEntryKind.Comment, "\t 1. File System: " + this.fsaAdapter.FileSystem.ToString()); BaseTestSite.Log.Add(LogEntryKind.Comment, "\t 2. Transport: " + this.fsaAdapter.Transport.ToString()); BaseTestSite.Log.Add(LogEntryKind.Comment, "\t 3. Share Path: " + this.fsaAdapter.UncSharePath); }
protected override void TestInitialize() { this.InitializeTestManager(); this.fsaAdapter = new FSAAdapter(); this.fsaAdapter.Initialize(BaseTestSite); this.fsaAdapter.LogTestCaseDescription(BaseTestSite); //Need to connect to RootDirectory for query or set quota info. this.fsaAdapter.ShareName = this.fsaAdapter.RootDirectory; BaseTestSite.Log.Add(LogEntryKind.Comment, "Test environment:"); BaseTestSite.Log.Add(LogEntryKind.Comment, "\t 1. File System: " + this.fsaAdapter.FileSystem.ToString()); BaseTestSite.Log.Add(LogEntryKind.Comment, "\t 2. Transport: " + this.fsaAdapter.Transport.ToString()); BaseTestSite.Log.Add(LogEntryKind.Comment, "\t 3. Share Path: " + this.fsaAdapter.UncSharePath); this.fsaAdapter.FsaInitial(); }
protected override void TestInitialize() { this.InitializeTestManager(); this.fsaAdapter = new FSAAdapter(); this.fsaAdapter.Initialize(BaseTestSite); this.fsaAdapter.LogTestCaseDescription(BaseTestSite); BaseTestSite.Log.Add(LogEntryKind.Comment, "Test environment:"); BaseTestSite.Log.Add(LogEntryKind.Comment, "\t 1. File System: " + this.fsaAdapter.FileSystem.ToString()); BaseTestSite.Log.Add(LogEntryKind.Comment, "\t 2. Transport: " + this.fsaAdapter.Transport.ToString()); BaseTestSite.Log.Add(LogEntryKind.Comment, "\t 3. Share Path: " + this.fsaAdapter.UncSharePath); BaseTestSite.Assume.AreEqual(FileSystem.NTFS, this.fsaAdapter.FileSystem, "Alternate Data Stream is only supported by NTFS file system."); this.fsaAdapter.FsaInitial(); BaseTestSite.Log.Add(LogEntryKind.TestStep, "Test case steps:"); testStep = 0; }