public void Unarchive() { var unarchiver = new ZipUnarchiver(TestFixtures.GetFilePath("unarchiver-test/zip.zip"), _dirPath); unarchiver.Unarchive(CancellationToken.Empty); CheckConsistency(TestFixtures.GetDirectoryPath("unarchiver-test/zip"), _dirPath); }
public void UnarchiveWithPassword() { string password = "******" + "123=="; var unarchiver = new ZipUnarchiver(TestFixtures.GetFilePath("unarchiver-test/password-zip.zip"), _dirPath, password); unarchiver.Unarchive(CancellationToken.Empty); CheckConsistency(TestFixtures.GetDirectoryPath("unarchiver-test/password-zip"), _dirPath); }