lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r880883 - /incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentTermDocs.cs
Date Mon, 16 Nov 2009 18:12:48 GMT
Author: digy
Date: Mon Nov 16 18:12:47 2009
New Revision: 880883

URL: http://svn.apache.org/viewvc?rev=880883&view=rev
Log: (empty)

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

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentTermDocs.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestSegmentTermDocs.cs?rev=880883&r1=880882&r2=880883&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentTermDocs.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentTermDocs.cs Mon Nov 16 18:12:47
2009
@@ -40,6 +40,10 @@
 		public TestSegmentTermDocs(System.String s):base(s)
 		{
 		}
+
+        public TestSegmentTermDocs() : base("")
+        {
+        }
 		
 		[SetUp]
 		public override void  SetUp()
@@ -48,6 +52,13 @@
 			DocHelper.SetupDoc(testDoc);
 			info = DocHelper.WriteDoc(dir, testDoc);
 		}
+
+        [TearDown]
+        public void TearDown()
+        {
+            testDoc = new Document();
+		    dir = new RAMDirectory();
+        }
 		
 		[Test]
 		public virtual void  Test()



Mime
View raw message