lucene-lucene-net-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r880890 - in /incubator/lucene.net/trunk/C#/src/Test/Index: TestMultiReader.cs TestNorms.cs TestSegmentReader.cs
Date Mon, 16 Nov 2009 18:22:45 GMT
Author: digy
Date: Mon Nov 16 18:22:44 2009
New Revision: 880890

URL: http://svn.apache.org/viewvc?rev=880890&view=rev
Log:
LUCENENET-262 Lucene.Net.Index.TestSegmentReader + Lucene.Net.Index.TestNorms + Lucene.Net.Index.TestMultiReader

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Index/TestMultiReader.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestNorms.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentReader.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestMultiReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestMultiReader.cs?rev=880890&r1=880889&r2=880890&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestMultiReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestMultiReader.cs Mon Nov 16 18:22:44 2009
@@ -28,6 +28,10 @@
 		public TestMultiReader(System.String s):base(s)
 		{
 		}
+        public TestMultiReader()
+            : base()
+        {
+        }
 		
 		protected internal override IndexReader OpenReader()
 		{

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestNorms.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestNorms.cs?rev=880890&r1=880889&r2=880890&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestNorms.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestNorms.cs Mon Nov 16 18:22:44 2009
@@ -80,7 +80,9 @@
 		public TestNorms(System.String s):base(s)
 		{
 		}
-		
+        public TestNorms() : base("")
+        {
+        }
 		[SetUp]
 		public override void  SetUp()
 		{

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestSegmentReader.cs?rev=880890&r1=880889&r2=880890&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentReader.cs Mon Nov 16 18:22:44
2009
@@ -38,6 +38,10 @@
 		public TestSegmentReader(System.String s):base(s)
 		{
 		}
+
+        public TestSegmentReader() : base("")
+        {
+        }
 		
 		//TODO: Setup the reader w/ multiple documents
 		[SetUp]
@@ -48,6 +52,13 @@
 			SegmentInfo info = DocHelper.WriteDoc(dir, testDoc);
 			reader = SegmentReader.Get(info);
 		}
+
+        [TearDown]
+        public void TearDown()
+        {
+            dir = new RAMDirectory();
+		    testDoc = new Document();
+        }
 		
 		[Test]
 		public virtual void  Test()



Mime
View raw message