Esempio n. 1
0
 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.");
 }
Esempio n. 2
0
 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");
 }
Esempio n. 3
0
 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");
 }
Esempio n. 4
0
        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();
        }
Esempio n. 5
0
 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.");
 }
Esempio n. 6
0
 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.");
 }
Esempio n. 7
0
 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.");
 }