You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ar...@apache.org on 2008/08/08 04:41:57 UTC

svn commit: r683804 - /incubator/lucene.net/trunk/C#/src/Test/Util/LuceneTestCase.cs

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