public void AddTest() { string name = "ZipData\\test.txt"; string outName = "ZipData\\test.zip"; if (File.Exists(outName)) File.Delete(outName); ZipFile target = new ZipFile(outName, ZipConstants.GZIP, FileMode.CreateNew); string fileName = "ZipData\\test.txt"; target.Add(fileName); target.Close(); }
public void CloseTest() { string name = string.Empty; // TODO: Initialize to an appropriate value ZipFile target = new ZipFile(name); // TODO: Initialize to an appropriate value target.Close(); Assert.Inconclusive("A method that does not return a value cannot be verified."); }