25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
667 B

  1. using System;
  2. using Microsoft.VisualStudio.TestTools.UnitTesting;
  3. using System.IO;
  4. using NTFSSecurityTest.Properties;
  5. namespace NTFSSecurityTest
  6. {
  7. [TestClass]
  8. public class UnitTest1
  9. {
  10. [TestMethod]
  11. public void TestMethod1()
  12. {
  13. Assert.IsTrue(Directory.Exists(Settings.Default.path + "1"));
  14. }
  15. [TestInitialize]
  16. public void Init()
  17. {
  18. System.Threading.Thread.Sleep(3000);
  19. Directory.CreateDirectory(Settings.Default.path);
  20. }
  21. [TestCleanup]
  22. public void Cleanup()
  23. {
  24. Directory.Delete(Settings.Default.path);
  25. }
  26. }
  27. }