lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r418837 - in /incubator/lucene.net/trunk/C#/src/Test: Analysis/ Index/ Index/Store/ QueryParser/ Search/ Search/Regex/ Search/Spans/
Date Mon, 03 Jul 2006 20:16:52 GMT
Author: aroush
Date: Mon Jul  3 13:16:50 2006
New Revision: 418837

URL: http://svn.apache.org/viewvc?rev=418837&view=rev
Log:
Replaced "[TestFixtureSetUp]" to "[SetUp]" and "[FixtureTearDown]" to "[TearDown]"

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Analysis/TestKeywordAnalyzer.cs
    incubator/lucene.net/trunk/C#/src/Test/Analysis/TestStopAnalyzer.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestFSDirectory.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestRAMDirectory.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestDocumentWriter.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldInfos.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldsReader.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestMultiReader.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestParallelReader.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentMerger.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentReader.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentTermDocs.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestTermVectorsReader.cs
    incubator/lucene.net/trunk/C#/src/Test/Index/TestTermVectorsWriter.cs
    incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestQueryParser.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/Regex/TestRegexQuery.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestBasics.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpans.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpansAdvanced.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpansAdvanced2.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestBoolean2.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanMinShouldMatch.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanOr.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestConstantScoreRangeQuery.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestCustomSearcherSort.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestFilteredQuery.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiPhraseQuery.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiSearcherRanking.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiThreadTermVectors.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestPhraseQuery.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestQueryTermVector.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestRangeQuery.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestSort.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestTermVectors.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Analysis/TestKeywordAnalyzer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Analysis/TestKeywordAnalyzer.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Analysis/TestKeywordAnalyzer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Analysis/TestKeywordAnalyzer.cs Mon Jul  3 13:16:50
2006
@@ -34,7 +34,7 @@
 		private RAMDirectory directory;
 		private IndexSearcher searcher;
 		
-        [TestFixtureSetUp]
+        [SetUp]
 		public virtual void  SetUp()
 		{
 			directory = new RAMDirectory();

Modified: incubator/lucene.net/trunk/C#/src/Test/Analysis/TestStopAnalyzer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Analysis/TestStopAnalyzer.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Analysis/TestStopAnalyzer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Analysis/TestStopAnalyzer.cs Mon Jul  3 13:16:50
2006
@@ -26,7 +26,7 @@
 		private StopAnalyzer stop = new StopAnalyzer();
 		private System.Collections.Hashtable inValidTokens = new System.Collections.Hashtable();
 		
-        [TestFixtureSetUp]
+        [SetUp]
 		public virtual void  SetUp()
 		{
 			for (int i = 0; i < StopAnalyzer.ENGLISH_STOP_WORDS.Length; i++)

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestFSDirectory.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/Store/TestFSDirectory.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestFSDirectory.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestFSDirectory.cs Mon Jul  3 13:16:50
2006
@@ -82,7 +82,7 @@
 		
 		private System.IO.FileInfo shouldBeADirectory;
 		
-        [TestFixtureTearDown]
+        [TearDown]
 		public virtual void  TearDown()
 		{
 			if (orgApacheLuceneLockDir != null)

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestRAMDirectory.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/Store/TestRAMDirectory.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestRAMDirectory.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestRAMDirectory.cs Mon Jul  3 13:16:50
2006
@@ -49,7 +49,7 @@
 		private int docsToAdd = 500;
 		
 		// setup the index
-        [TestFixtureSetUp]
+        [SetUp]
 		public virtual void  SetUp()
 		{
 			System.String tempDir = System.IO.Path.GetTempPath();
@@ -150,7 +150,7 @@
 			searcher.Close();
 		}
 		
-        [TestFixtureTearDown]
+        [TearDown]
 		public virtual void  TearDown()
 		{
 			// cleanup 

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestCompoundFile.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs Mon Jul  3 13:16:50 2006
@@ -54,7 +54,7 @@
 		
 		private Directory dir;
 		
-		[TestFixtureSetUp]
+		[SetUp]
 		public virtual void  SetUp()
 		{
 			//dir = new RAMDirectory();

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestDoc.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs Mon Jul  3 13:16:50 2006
@@ -53,7 +53,7 @@
 		/// <summary>Set the test case. This test case needs
 		/// a few text files created in the current working directory.
 		/// </summary>
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			workDir = new System.IO.FileInfo(System.IO.Path.Combine(SupportClass.AppSettings.Get("tempDir",
"tempDir"), "TestDoc"));

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestDocumentWriter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestDocumentWriter.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestDocumentWriter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestDocumentWriter.cs Mon Jul  3 13:16:50
2006
@@ -64,13 +64,13 @@
 		private RAMDirectory dir;
 
 
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			dir = new RAMDirectory();
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
 			

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldInfos.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestFieldInfos.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldInfos.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldInfos.cs Mon Jul  3 13:16:50 2006
@@ -31,13 +31,13 @@
 		
 		private Lucene.Net.Documents.Document testDoc = new Lucene.Net.Documents.Document();
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			DocHelper.SetupDoc(testDoc);
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
 		}

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldsReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestFieldsReader.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldsReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldsReader.cs Mon Jul  3 13:16:50 2006
@@ -33,7 +33,7 @@
 		private FieldInfos fieldInfos = null;
 		
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			fieldInfos = new FieldInfos();

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=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestMultiReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestMultiReader.cs Mon Jul  3 13:16:50 2006
@@ -35,7 +35,7 @@
 		private SegmentInfos sis = new SegmentInfos();
 		
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			DocHelper.SetupDoc(doc1);

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestParallelReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestParallelReader.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestParallelReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestParallelReader.cs Mon Jul  3 13:16:50
2006
@@ -34,7 +34,7 @@
 		private Searcher parallel;
 		private Searcher single;
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			single = Single();

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentMerger.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestSegmentMerger.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentMerger.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentMerger.cs Mon Jul  3 13:16:50
2006
@@ -41,7 +41,7 @@
 		private SegmentReader reader2 = null;
 		
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			DocHelper.SetupDoc(doc1);

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=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentReader.cs Mon Jul  3 13:16:50
2006
@@ -32,7 +32,7 @@
 		private SegmentReader reader = null;
 		
 		//TODO: Setup the reader w/ multiple documents
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			DocHelper.SetupDoc(testDoc);
@@ -40,7 +40,7 @@
 			reader = SegmentReader.Get(new SegmentInfo("test", 1, dir));
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
 			

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=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentTermDocs.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentTermDocs.cs Mon Jul  3 13:16:50
2006
@@ -32,14 +32,14 @@
 		private Directory dir = new RAMDirectory();
 		
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			DocHelper.SetupDoc(testDoc);
 			DocHelper.WriteDoc(dir, testDoc);
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
 		public virtual void  TearDown()
 		{
 			

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestTermVectorsReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestTermVectorsReader.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestTermVectorsReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestTermVectorsReader.cs Mon Jul  3 13:16:50
2006
@@ -50,7 +50,7 @@
 			InitBlock();
 		}
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			for (int i = 0; i < testFields.Length; i++)
@@ -93,7 +93,7 @@
 			}
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
 			

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestTermVectorsWriter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestTermVectorsWriter.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestTermVectorsWriter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestTermVectorsWriter.cs Mon Jul  3 13:16:50
2006
@@ -39,7 +39,7 @@
 		private FieldInfos fieldInfos = new FieldInfos();
 		
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			
@@ -59,7 +59,7 @@
 			}
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
 		}

Modified: incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestQueryParser.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/QueryParser/TestQueryParser.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestQueryParser.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestQueryParser.cs Mon Jul  3 13:16:50
2006
@@ -86,7 +86,7 @@
 		{
 			
 			/// <summary>Filters LowerCaseTokenizer with StopFilter. </summary>
-			public TokenStream TokenStream(System.String fieldName, System.IO.TextReader reader)
+			public override TokenStream TokenStream(System.String fieldName, System.IO.TextReader
reader)
 			{
 				return new QPTestFilter(new LowerCaseTokenizer(reader));
 			}
@@ -111,7 +111,7 @@
 		
 		private int originalMaxClauses;
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			originalMaxClauses = BooleanQuery.GetMaxClauseCount();
@@ -369,12 +369,12 @@
 		
 		public virtual System.String GetDate(System.String s)
 		{
-			return DateField.DateToString(System.DateTime.Parse(s));    // {{Aroush-1.9}} We want
a format of "MMM d, yyy" how is it done in .NET?
+			return DateField.DateToString(System.DateTime.Parse(s));
 		}
 		
 		public virtual System.String GetLocalizedDate(int year, int month, int day)
 		{
-            return new System.DateTime(year, month, day).ToString("MMM d, yyy");       //
{{Aroush-1.9}} We want a format of "MMM d, yyy" will this do?
+            return new System.DateTime(year, month, day).ToString("MM/d/yyy");
 		}
 		
 		[Test]
@@ -571,7 +571,7 @@
 			Assert.AreEqual(query1, query2);
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
 		public virtual void  TearDown()
 		{
 			BooleanQuery.SetMaxClauseCount(originalMaxClauses);

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Regex/TestRegexQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Regex/TestRegexQuery.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Regex/TestRegexQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Regex/TestRegexQuery.cs Mon Jul  3 13:16:50
2006
@@ -44,7 +44,7 @@
             t.TestRegex1();
         }
 
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			RAMDirectory directory = new RAMDirectory();
@@ -64,7 +64,7 @@
 			}
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
 			try

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestBasics.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Spans/TestBasics.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestBasics.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestBasics.cs Mon Jul  3 13:16:50
2006
@@ -47,7 +47,7 @@
 	{
 		private IndexSearcher searcher;
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			RAMDirectory directory = new RAMDirectory();

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpans.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Spans/TestSpans.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpans.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpans.cs Mon Jul  3 13:16:50 2006
@@ -35,7 +35,7 @@
 		
 		public const System.String field = "field";
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			RAMDirectory directory = new RAMDirectory();

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpansAdvanced.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Spans/TestSpansAdvanced.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpansAdvanced.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpansAdvanced.cs Mon Jul  3 13:16:50
2006
@@ -51,7 +51,7 @@
 		protected internal const System.String FIELD_TEXT = "TEXT";
 		
 		/// <summary> Initializes the tests by adding 4 identical documents to the index.</summary>
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			
@@ -65,7 +65,7 @@
 			writer.Close();
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
 			

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpansAdvanced2.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Spans/TestSpansAdvanced2.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpansAdvanced2.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpansAdvanced2.cs Mon Jul  3 13:16:50
2006
@@ -39,7 +39,7 @@
 	{
 		
 		/// <summary> Initializes the tests by adding documents to the index.</summary>
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			base.SetUp();

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestBoolean2.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestBoolean2.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestBoolean2.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestBoolean2.cs Mon Jul  3 13:16:50 2006
@@ -64,7 +64,7 @@
 		
 		public const System.String field = "field";
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			RAMDirectory directory = new RAMDirectory();

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanMinShouldMatch.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestBooleanMinShouldMatch.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanMinShouldMatch.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanMinShouldMatch.cs Mon Jul  3
13:16:50 2006
@@ -76,7 +76,7 @@
 		public IndexReader r;
 		public IndexSearcher s;
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanOr.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestBooleanOr.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanOr.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanOr.cs Mon Jul  3 13:16:50 2006
@@ -135,7 +135,7 @@
 			Assert.AreEqual(1, Search(q2));
 		}
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			//

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestConstantScoreRangeQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestConstantScoreRangeQuery.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestConstantScoreRangeQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestConstantScoreRangeQuery.cs Mon Jul 
3 13:16:50 2006
@@ -73,7 +73,7 @@
 			Assert.AreEqual(e, a, m, SCORE_COMP_THRESH);
 		}
 		
-        [TestFixtureSetUp]
+        [SetUp]
         public virtual void  SetUp()
 		{
 			

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestCustomSearcherSort.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestCustomSearcherSort.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestCustomSearcherSort.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestCustomSearcherSort.cs Mon Jul  3 13:16:50
2006
@@ -88,7 +88,7 @@
 		}
 		
 		/// <summary> Create index and query for test cases. </summary>
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			index = GetIndex();

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestDisjunctionMaxQuery.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs Mon Jul  3 13:16:50
2006
@@ -85,7 +85,7 @@
 		public IndexReader r;
 		public IndexSearcher s;
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestFilteredQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestFilteredQuery.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestFilteredQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestFilteredQuery.cs Mon Jul  3 13:16:50
2006
@@ -76,7 +76,7 @@
 		private Query query;
 		private Filter filter;
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			directory = new RAMDirectory();
@@ -110,7 +110,7 @@
 			filter = new AnonymousClassFilter(this);
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
 			searcher.Close();

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiPhraseQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestMultiPhraseQuery.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiPhraseQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiPhraseQuery.cs Mon Jul  3 13:16:50
2006
@@ -41,7 +41,7 @@
 	{
 		
 		[Test]
-        public virtual void  TestPhrasePrefix()
+        public virtual void  TestPhrasePrefix()     // {{Aroush-1.9}} this test is failing
 		{
 			RAMDirectory indexStore = new RAMDirectory();
 			IndexWriter writer = new IndexWriter(indexStore, new SimpleAnalyzer(), true);

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiSearcherRanking.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestMultiSearcherRanking.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiSearcherRanking.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiSearcherRanking.cs Mon Jul  3 13:16:50
2006
@@ -125,7 +125,7 @@
 		}
 		
 		/// <summary> initializes multiSearcher and singleSearcher with the same document
set</summary>
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			// create MultiSearcher from two seperate searchers

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiThreadTermVectors.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestMultiThreadTermVectors.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiThreadTermVectors.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiThreadTermVectors.cs Mon Jul  3
13:16:50 2006
@@ -40,7 +40,7 @@
 		public int numThreads = 3;
 		
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			IndexWriter writer = new IndexWriter(directory, new SimpleAnalyzer(), true);

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestPhraseQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestPhraseQuery.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestPhraseQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestPhraseQuery.cs Mon Jul  3 13:16:50 2006
@@ -76,9 +76,11 @@
 		private PhraseQuery query;
 		private RAMDirectory directory;
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
+            System.Console.Out.WriteLine("Setup()");
+
 			directory = new RAMDirectory();
 			Analyzer analyzer = new AnonymousClassAnalyzer(this);
 			IndexWriter writer = new IndexWriter(directory, analyzer, true);
@@ -97,9 +99,11 @@
 			query = new PhraseQuery();
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
+            System.Console.Out.WriteLine("TearDown()");
+
 			searcher.Close();
 			directory.Close();
 		}
@@ -107,6 +111,8 @@
 		[Test]
         public virtual void  TestNotCloseEnough()
 		{
+            System.Console.Out.WriteLine("TestNotCloseEnough()");
+
 			query.SetSlop(2);
 			query.Add(new Term("field", "one"));
 			query.Add(new Term("field", "five"));
@@ -117,6 +123,8 @@
 		[Test]
         public virtual void  TestBarelyCloseEnough()
 		{
+            System.Console.Out.WriteLine("TestBarelyCloseEnough()");
+
 			query.SetSlop(3);
 			query.Add(new Term("field", "one"));
 			query.Add(new Term("field", "five"));
@@ -128,6 +136,8 @@
 		[Test]
         public virtual void  TestExact()
 		{
+            System.Console.Out.WriteLine("TestExact()");
+
 			// slop is zero by default
 			query.Add(new Term("field", "four"));
 			query.Add(new Term("field", "five"));
@@ -144,6 +154,8 @@
 		[Test]
         public virtual void  TestSlop1()
 		{
+            System.Console.Out.WriteLine("TestSlop1()");
+
 			// Ensures slop of 1 works with terms in order.
 			query.SetSlop(1);
 			query.Add(new Term("field", "one"));
@@ -165,6 +177,8 @@
 		[Test]
         public virtual void  TestOrderDoesntMatter()
 		{
+            System.Console.Out.WriteLine("TestOrderDoesntMatter()");
+
 			query.SetSlop(2); // must be at least two for reverse order match
 			query.Add(new Term("field", "two"));
 			query.Add(new Term("field", "one"));
@@ -185,6 +199,8 @@
 		[Test]
         public virtual void  TestMulipleTerms()
 		{
+            System.Console.Out.WriteLine("TestMulipleTerms()");
+
 			query.SetSlop(2);
 			query.Add(new Term("field", "one"));
 			query.Add(new Term("field", "three"));
@@ -208,6 +224,8 @@
 		[Test]
         public virtual void  TestPhraseQueryWithStopAnalyzer()
 		{
+            System.Console.Out.WriteLine("TestPhraseQueryWithStopAnalyzer()");
+
 			RAMDirectory directory = new RAMDirectory();
 			StopAnalyzer stopAnalyzer = new StopAnalyzer();
 			IndexWriter writer = new IndexWriter(directory, stopAnalyzer, true);
@@ -238,6 +256,8 @@
 		[Test]
         public virtual void  TestPhraseQueryInConjunctionScorer()
 		{
+            System.Console.Out.WriteLine("TestPhraseQueryInConjunctionScorer()");
+
 			RAMDirectory directory = new RAMDirectory();
 			IndexWriter writer = new IndexWriter(directory, new WhitespaceAnalyzer(), true);
 			
@@ -317,6 +337,8 @@
 		[Test]
         public virtual void  TestSlopScoring()
 		{
+            System.Console.Out.WriteLine("TestSlopScoring()");
+
 			Directory directory = new RAMDirectory();
 			IndexWriter writer = new IndexWriter(directory, new WhitespaceAnalyzer(), true);
 			
@@ -355,6 +377,8 @@
 		[Test]
         public virtual void  TestWrappedPhrase()
 		{
+            System.Console.Out.WriteLine("TestWrappedPhrase()");
+
 			query.Add(new Term("repeated", "first"));
 			query.Add(new Term("repeated", "part"));
 			query.Add(new Term("repeated", "second"));

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestQueryTermVector.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestQueryTermVector.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestQueryTermVector.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestQueryTermVector.cs Mon Jul  3 13:16:50
2006
@@ -24,12 +24,12 @@
 	public class TestQueryTermVector
 	{
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
 			

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestRangeQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestRangeQuery.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestRangeQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestRangeQuery.cs Mon Jul  3 13:16:50 2006
@@ -35,7 +35,7 @@
 		private int docCount = 0;
 		private RAMDirectory dir;
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			dir = new RAMDirectory();

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestSort.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestSort.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestSort.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestSort.cs Mon Jul  3 13:16:50 2006
@@ -177,7 +177,7 @@
 			return GetIndex(false, false);
 		}
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			full = GetFullIndex();

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestTermVectors.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestTermVectors.cs?rev=418837&r1=418836&r2=418837&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestTermVectors.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestTermVectors.cs Mon Jul  3 13:16:50 2006
@@ -33,7 +33,7 @@
 		private RAMDirectory directory = new RAMDirectory();
 
 		
-		[TestFixtureSetUp]
+		[SetUp]
         public virtual void  SetUp()
 		{
 			IndexWriter writer = new IndexWriter(directory, new SimpleAnalyzer(), true);
@@ -68,7 +68,7 @@
 			searcher = new IndexSearcher(directory);
 		}
 		
-		[TestFixtureTearDown]
+		[TearDown]
         public virtual void  TearDown()
 		{
 			



Mime
View raw message