You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2008/11/16 15:00:13 UTC

svn commit: r718032 - in /incubator/lucene.net/trunk/C#/src/Test/Index: TestCompoundFile.cs TestDocumentWriter.cs TestFieldInfos.cs

Author: digy
Date: Sun Nov 16 06:00:13 2008
New Revision: 718032

URL: http://svn.apache.org/viewvc?rev=718032&view=rev
Log:
LUCENENET-155 (SetUp bug in 3 unit tests)

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestDocumentWriter.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldInfos.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestCompoundFile.cs?rev=718032&r1=718031&r2=718032&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs Sun Nov 16 06:00:13 2008
@@ -62,6 +62,7 @@
 		[SetUp]
 		public override void SetUp()
 		{
+            base.SetUp();
 			System.IO.FileInfo file = new System.IO.FileInfo(System.IO.Path.Combine(SupportClass.AppSettings.Get("tempDir", ""), "testIndex"));
 			Lucene.Net.Util._TestUtil.RmDir(file);
 			dir = FSDirectory.GetDirectory(file);
@@ -671,4 +672,4 @@
 			}
 		}
 	}
-}
\ No newline at end of file
+}

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestDocumentWriter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestDocumentWriter.cs?rev=718032&r1=718031&r2=718032&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestDocumentWriter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestDocumentWriter.cs Sun Nov 16 06:00:13 2008
@@ -187,6 +187,7 @@
 		[SetUp]
 		public override void  SetUp()
 		{
+            base.SetUp();
 			dir = new RAMDirectory();
 		}
 		
@@ -363,4 +364,4 @@
 			Assert.AreEqual(2, tfv2.GetTerms().Length, "the 'with_tv' setting should rule!");
 		}
 	}
-}
\ No newline at end of file
+}

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldInfos.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestFieldInfos.cs?rev=718032&r1=718031&r2=718032&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldInfos.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldInfos.cs Sun Nov 16 06:00:13 2008
@@ -42,6 +42,7 @@
 		[SetUp]
 		public override void SetUp()
 		{
+            base.SetUp();
 			DocHelper.SetupDoc(testDoc);
 		}
 		
@@ -95,4 +96,4 @@
 			}
 		}
 	}
-}
\ No newline at end of file
+}