Exemple #1
0
        public void TestExtractDirectory()
        {
            const string zipPath = @"D:\Temp\compressdirectory.zip";

            CompressManager.Extract(zipPath, @"D:\Temp\compressdirectory", true);
            Assert.IsTrue(Directory.Exists(@"D:\Temp\compressdirectory"));
        }
Exemple #2
0
        public void TextExtractFile()
        {
            const string zipPath = @"D:\Temp\compressfile.zip";

            CompressManager.Extract(zipPath, @"D:\Temp\compressfile", true, "123");
            Assert.IsTrue(Directory.Exists(@"D:\Temp\compressfile"));
        }