@@ -53,8 +53,7 @@ private void CheckConsistency(string sourceDirPath, string dirPath)
5353 [ Test ]
5454 public void Unarchive ( )
5555 {
56- MapHashExtractedFiles mapHashExtractedFiles = new MapHashExtractedFiles ( ) ;
57- var unarchiver = new ZipUnarchiver ( TestFixtures . GetFilePath ( "unarchiver-test/zip.zip" ) , _dirPath , mapHashExtractedFiles ) ;
56+ var unarchiver = new ZipUnarchiver ( TestFixtures . GetFilePath ( "unarchiver-test/zip.zip" ) , _dirPath ) ;
5857
5958 unarchiver . Unarchive ( CancellationToken . Empty ) ;
6059
@@ -64,8 +63,7 @@ public void Unarchive()
6463 [ Test ]
6564 public void CancelUnarchive ( )
6665 {
67- MapHashExtractedFiles mapHashExtractedFiles = new MapHashExtractedFiles ( ) ;
68- var unarchiver = new ZipUnarchiver ( TestFixtures . GetFilePath ( "unarchiver-test/zip.zip" ) , _dirPath , mapHashExtractedFiles ) ;
66+ var unarchiver = new ZipUnarchiver ( TestFixtures . GetFilePath ( "unarchiver-test/zip.zip" ) , _dirPath ) ;
6967
7068 CancellationTokenSource source = new CancellationTokenSource ( ) ;
7169 source . Cancel ( ) ;
@@ -76,8 +74,7 @@ public void CancelUnarchive()
7674 [ Test ]
7775 public void UnarchiveCorruptedArchive ( )
7876 {
79- MapHashExtractedFiles mapHashExtractedFiles = new MapHashExtractedFiles ( ) ;
80- var unarchiver = new ZipUnarchiver ( TestFixtures . GetFilePath ( "unarchiver-test/corrupted-zip.zip" ) , _dirPath , mapHashExtractedFiles ) ;
77+ var unarchiver = new ZipUnarchiver ( TestFixtures . GetFilePath ( "unarchiver-test/corrupted-zip.zip" ) , _dirPath ) ;
8178
8279 Assert . That ( ( ) => unarchiver . Unarchive ( CancellationToken . Empty ) , Throws . Exception ) ;
8380 }
@@ -86,9 +83,8 @@ public void UnarchiveCorruptedArchive()
8683 public void UnarchiveWithPassword ( )
8784 {
8885 string password = "\x08 \x07 \x18 \x24 " + "123==" ;
89-
90- MapHashExtractedFiles mapHashExtractedFiles = new MapHashExtractedFiles ( ) ;
91- var unarchiver = new ZipUnarchiver ( TestFixtures . GetFilePath ( "unarchiver-test/password-zip.zip" ) , _dirPath , mapHashExtractedFiles , password ) ;
86+
87+ var unarchiver = new ZipUnarchiver ( TestFixtures . GetFilePath ( "unarchiver-test/password-zip.zip" ) , _dirPath , password ) ;
9288
9389 unarchiver . Unarchive ( CancellationToken . Empty ) ;
9490
@@ -98,8 +94,7 @@ public void UnarchiveWithPassword()
9894 [ Test ]
9995 public void ProgressReporting ( )
10096 {
101- MapHashExtractedFiles mapHashExtractedFiles = new MapHashExtractedFiles ( ) ;
102- var unarchiver = new ZipUnarchiver ( TestFixtures . GetFilePath ( "unarchiver-test/zip.zip" ) , _dirPath , mapHashExtractedFiles ) ;
97+ var unarchiver = new ZipUnarchiver ( TestFixtures . GetFilePath ( "unarchiver-test/zip.zip" ) , _dirPath ) ;
10398
10499 int ? lastAmount = null ;
105100 int ? lastEntry = null ;
0 commit comments