lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r564965 - in /incubator/lucene.net/trunk/C#/src/Test: Index/TestIndexWriter.cs Index/TestNorms.cs Index/TestParallelTermEnum.cs Search/TestTermScorer.cs Store/TestLock.cs
Date Sat, 11 Aug 2007 20:12:47 GMT
Author: aroush
Date: Sat Aug 11 13:12:46 2007
New Revision: 564965

URL: http://svn.apache.org/viewvc?view=rev&rev=564965
Log:
Some test methods had the wrong signature so they weren't running.

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexWriter.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestNorms.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestParallelTermEnum.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestTermScorer.cs
    incubator/lucene.net/trunk/C#/src/Test/Store/TestLock.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexWriter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestIndexWriter.cs?view=diff&rev=564965&r1=564964&r2=564965
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexWriter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexWriter.cs Sat Aug 11 13:12:46 2007
@@ -535,8 +535,7 @@
             Assert.IsTrue(maxDiskUsage <= 2 * startDiskUsage, "optimized used too much
temporary space: starting usage was " + startDiskUsage + " bytes; max temp usage was " + maxDiskUsage
+ " but should have been " + (2 * startDiskUsage) + " (= 2X starting usage)");
         }
 		
-        [Test]
-        private System.String ArrayToString(System.String[] l)
+        public System.String ArrayToString(System.String[] l)
         {
             System.String s = "";
             for (int i = 0; i < l.Length; i++)

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?view=diff&rev=564965&r1=564964&r2=564965
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestNorms.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestNorms.cs Sat Aug 11 13:12:46 2007
@@ -76,14 +76,14 @@
 		
 		
         [SetUp]
-		protected internal virtual void  SetUp()
+		public virtual void  SetUp()
 		{
 			similarityOne = new SimilarityOne(this);
 			anlzr = new StandardAnalyzer();
 		}
 		
         [TearDown]
-		protected internal virtual void  TearDown()
+		public virtual void  TearDown()
 		{
 		}
 		

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestParallelTermEnum.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestParallelTermEnum.cs?view=diff&rev=564965&r1=564964&r2=564965
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestParallelTermEnum.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestParallelTermEnum.cs Sat Aug 11 13:12:46
2007
@@ -36,7 +36,7 @@
 		private IndexReader ir2;
 		
         [SetUp]
-		protected internal virtual void  SetUp()
+		public virtual void  SetUp()
 		{
 			Lucene.Net.Documents.Document doc;
 			
@@ -66,7 +66,7 @@
 		}
 		
         [TearDown]
-		protected internal virtual void  TearDown()
+		public virtual void  TearDown()
 		{
 			ir1.Close();
 			ir2.Close();

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestTermScorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestTermScorer.cs?view=diff&rev=564965&r1=564964&r2=564965
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestTermScorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestTermScorer.cs Sat Aug 11 13:12:46 2007
@@ -70,7 +70,7 @@
 		
 
 		[SetUp]
-		protected internal virtual void  SetUp()
+		public virtual void  SetUp()
 		{
 			directory = new RAMDirectory();
 			
@@ -88,7 +88,7 @@
 		}
 		
         [TearDown]
-		protected internal virtual void  TearDown()
+		public virtual void  TearDown()
 		{
 			
 		}

Modified: incubator/lucene.net/trunk/C#/src/Test/Store/TestLock.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Store/TestLock.cs?view=diff&rev=564965&r1=564964&r2=564965
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Store/TestLock.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Store/TestLock.cs Sat Aug 11 13:12:46 2007
@@ -73,7 +73,7 @@
 
 using NUnit.Framework;
 
-namespace Lucene.Net.store
+namespace Lucene.Net.Store
 {
 	
     [TestFixture]



Mime
View raw message