lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r567066 - /incubator/lucene.net/trunk/C#/src/Test/Index/TestBackwardsCompatibility.cs
Date Fri, 17 Aug 2007 15:20:05 GMT
Author: aroush
Date: Fri Aug 17 08:20:00 2007
New Revision: 567066

URL: http://svn.apache.org/viewvc?view=rev&rev=567066
Log:
Re-Fix: LUCENENET-61 Issue testing Backwards Compatibility

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Index/TestBackwardsCompatibility.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestBackwardsCompatibility.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestBackwardsCompatibility.cs?view=diff&rev=567066&r1=567065&r2=567066
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestBackwardsCompatibility.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestBackwardsCompatibility.cs Fri Aug 17
08:20:00 2007
@@ -56,15 +56,12 @@
 		first */
 		public virtual void  Unzip(System.String dirName)
 		{
-            Assert.Fail("Needs integration with SharpZipLib");
-
 #if SHARP_ZIP_LIB
 			RmDir(dirName);
 
 			ICSharpCode.SharpZipLib.Zip.ZipInputStream zipFile;
             zipFile = new ICSharpCode.SharpZipLib.Zip.ZipInputStream(System.IO.File.OpenRead(dirName
+ ".zip"));
 
-			entries = zipFile.Entries();
 			System.IO.FileInfo fileDir = new System.IO.FileInfo(dirName);
 			System.IO.Directory.CreateDirectory(fileDir.FullName);
 
@@ -85,6 +82,8 @@
 			}
 			
 			zipFile.Close();
+#else
+            Assert.Fail("Needs integration with SharpZipLib");
 #endif
 		}
 		



Mime
View raw message