public void EntriesTest() { string name = string.Empty; // TODO: Initialize to an appropriate value ZipFile target = new ZipFile(name); // TODO: Initialize to an appropriate value List<ZipEntry> actual; actual = target.Entries; Assert.Inconclusive("Verify the correctness of this test method."); }
public void ZipFileConstructorTest() { string name = string.Empty; // TODO: Initialize to an appropriate value ZipFile target = new ZipFile(name); Assert.Inconclusive("TODO: Implement code to verify target"); }
public void ZipFileConstructorTest1() { string name = string.Empty; // TODO: Initialize to an appropriate value byte method = 0; // TODO: Initialize to an appropriate value FileMode mode = new FileMode(); // TODO: Initialize to an appropriate value ZipFile target = new ZipFile(name, method, mode); Assert.Inconclusive("TODO: Implement code to verify target"); }
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 CheckFileExistsTest() { string name = string.Empty; // TODO: Initialize to an appropriate value ZipFile target = new ZipFile(name); // TODO: Initialize to an appropriate value string fileName = string.Empty; // TODO: Initialize to an appropriate value int expected = 0; // TODO: Initialize to an appropriate value int actual; actual = target.CheckFileExists(fileName); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
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."); }
public void CompressionMethodTest() { string name = string.Empty; // TODO: Initialize to an appropriate value ZipFile target = new ZipFile(name); // TODO: Initialize to an appropriate value byte expected = 0; // TODO: Initialize to an appropriate value byte actual; actual = target.CompressionMethod(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }