lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r880894 - in /incubator/lucene.net/trunk/C#/src/Test/Index: TestPositionBasedTermVectorMapper.cs TestSegmentMerger.cs
Date Mon, 16 Nov 2009 18:30:41 GMT
Author: digy
Date: Mon Nov 16 18:30:40 2009
New Revision: 880894

URL: http://svn.apache.org/viewvc?rev=880894&view=rev
Log:
LUCENENET-263 TestPositionBasedTermVectorMapper+TestSegmentMerger patch

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

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestPositionBasedTermVectorMapper.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestPositionBasedTermVectorMapper.cs?rev=880894&r1=880893&r2=880894&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestPositionBasedTermVectorMapper.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestPositionBasedTermVectorMapper.cs Mon
Nov 16 18:30:40 2009
@@ -36,6 +36,10 @@
 		public TestPositionBasedTermVectorMapper(System.String s):base(s)
 		{
 		}
+
+        public TestPositionBasedTermVectorMapper() : base("")
+        {
+        }
 		
 		[SetUp]
 		public override void  SetUp()

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentMerger.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestSegmentMerger.cs?rev=880894&r1=880893&r2=880894&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentMerger.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentMerger.cs Mon Nov 16 18:30:40
2009
@@ -46,6 +46,10 @@
 		public TestSegmentMerger(System.String s):base(s)
 		{
 		}
+
+        public TestSegmentMerger(): base("")
+        {
+        }
 		
 		[SetUp]
 		public override void  SetUp()
@@ -58,6 +62,16 @@
 			reader1 = SegmentReader.Get(info1);
 			reader2 = SegmentReader.Get(info2);
 		}
+
+        [TearDown]
+        public void TearDown()
+        {
+            mergedDir = new RAMDirectory();
+            merge1Dir = new RAMDirectory();
+            doc1 = new Document();
+            merge2Dir = new RAMDirectory();
+            doc2 = new Document();
+        }
 		
 		[Test]
 		public virtual void  Test()



Mime
View raw message