public ZipFolder(ZipFolder parent, string zipEntryFullName) { _parent = parent; Name = Path.GetFileName(zipEntryFullName); FileName = zipEntryFullName; }
public ZipFolderFile(ZipFolder parent, string entryFullName) { _parent = parent; EntryFullName = entryFullName; Name = Path.GetFileName(entryFullName); }
public void Ctor() { var folder = new ZipFolder(@"d:\11.zip"); Assert.AreEqual("11.zip", folder.Name); }
public void BeforeEachTest() { _temp = new TempDirectory(); _temp.CopyFileFromResources("Content.zip"); _sut = new ZipFolder(Path.Combine(_temp.Location, "Content.zip")); }