-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathTestMSCF.cs
More file actions
29 lines (25 loc) · 932 Bytes
/
Copy pathTestMSCF.cs
File metadata and controls
29 lines (25 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SevenZipExtractor;
using SevenZipExtractor.Tests;
using System.Collections.Generic;
using System.Linq;
namespace SevenZipExtractor.Tests
{
[TestClass]
public class TestMSCF : TestBase {
protected IList<TestFileEntry> TestSingleDllFile = new List<TestFileEntry>()
{
new TestFileEntry { Name = "mslz.dll", IsFolder = false, MD5 = "b3144b66569ab0052b4019a2b4c07a31"},
};
[TestMethod]
public void TestGuessAndExtractToStream_OK()
{
this.TestExtractToStream(Resources.TestFiles.mslz, TestSingleDllFile, null, "mslz.dl_");
}
[TestMethod]
public void TestKnownFormatAndExtractToStream_OK()
{
this.TestExtractToStream(Resources.TestFiles.mslz, TestSingleDllFile, SevenZipFormat.Mslz, "mslz.dl_");
}
}
}