예제 #1
0
        public void Test_CreateAndDestroy()
        {
            string path = TempDir.Create("foobar");

            Assert.IsTrue(Directory.Exists(path), path + " does not exists.");
            Assert.IsTrue(path.EndsWith("foobar"), path + " does not end with 'foobar'.");
            TempDir.Delete(path);
            Assert.IsFalse(Directory.Exists(path), path + " exists.");
        }
예제 #2
0
 protected void TearDown()
 {
     TempDir.Delete(_tempDir);
 }