-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathTest7Zip.cs
More file actions
35 lines (29 loc) · 1.03 KB
/
Test7Zip.cs
File metadata and controls
35 lines (29 loc) · 1.03 KB
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
30
31
32
33
34
35
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SevenZipExtractor.Tests
{
[TestClass]
public class Test7Zip : TestBase
{
// 7Z does not provide folder as entry, only files
[TestMethod]
public void TestGuessAndExtractToStream_OK()
{
this.TestExtractToStream(Resources.TestFiles.SevenZip, this.TestEntriesWithoutFolder);
}
[TestMethod]
public void TestKnownFormatAndExtractToStream_OK()
{
this.TestExtractToStream(Resources.TestFiles.SevenZip, this.TestEntriesWithoutFolder, SevenZipFormat.SevenZip);
}
[TestMethod]
public void TestProgressWithArchiveExtraction_OK()
{
this.TestExtractArchiveWithProgress(Resources.TestFiles.SevenZip, SevenZipFormat.SevenZip);
}
[TestMethod]
public void TestProgressWithEntryExtraction_OK()
{
this.TestExtractEntriesWithProgress(Resources.TestFiles.SevenZip, SevenZipFormat.SevenZip);
}
}
}