lucene-lucene-net-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r683804 - /incubator/lucene.net/trunk/C#/src/Test/Util/LuceneTestCase.cs
Date Fri, 08 Aug 2008 02:41:57 GMT
Author: aroush
Date: Thu Aug  7 19:41:57 2008
New Revision: 683804

URL: http://svn.apache.org/viewvc?rev=683804&view=rev
Log:
Made the class non abstract and added a dummy test so NUnit doesn't complain.

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Util/LuceneTestCase.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Util/LuceneTestCase.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Util/LuceneTestCase.cs?rev=683804&r1=683803&r2=683804&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Util/LuceneTestCase.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Util/LuceneTestCase.cs Thu Aug  7 19:41:57 2008
@@ -35,7 +35,7 @@
 	/// </summary>
 	
 	[TestFixture]
-	public abstract class LuceneTestCase
+	public /*abstract*/ class LuceneTestCase
 	{
 		
 		public LuceneTestCase() : base()
@@ -51,14 +51,11 @@
 		{
 			ConcurrentMergeScheduler.SetTestMode();
 		}
-		
-		[TearDown]
-		public virtual void  TearDown()
+
+		[Test]
+		public virtual void  TestDummy()
 		{
-			if (ConcurrentMergeScheduler.AnyUnhandledExceptions())
-			{
-				Assert.Fail("ConcurrentMergeScheduler hit unhandled exceptions");
-			}
+			// So that NUnit doesn't complain
 		}
 	}
 }
\ No newline at end of file



Mime
View raw message