NTDirectoryFileSystemTests.cs 708 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using Microsoft.VisualStudio.TestTools.UnitTesting;
  5. using SMBLibrary;
  6. using SMBLibrary.Win32;
  7. namespace SMBLibrary.Tests
  8. {
  9. [TestClass]
  10. public class NTDirectoryFileSystemTests : NTFileStoreTests
  11. {
  12. private static readonly string TestDirectoryPath = @"C:\Tests";
  13. static NTDirectoryFileSystemTests()
  14. {
  15. if (!Directory.Exists(TestDirectoryPath))
  16. {
  17. Directory.CreateDirectory(TestDirectoryPath);
  18. }
  19. }
  20. public NTDirectoryFileSystemTests() : base(new NTDirectoryFileSystem(TestDirectoryPath))
  21. {
  22. }
  23. }
  24. }