You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2009/12/21 20:34:48 UTC

svn commit: r892940 - in /incubator/lucene.net/trunk/C#/src/Test: Search/ Search/Function/ Search/Spans/ Util/

Author: digy
Date: Mon Dec 21 19:34:47 2009
New Revision: 892940

URL: http://svn.apache.org/viewvc?rev=892940&view=rev
Log:
Some XML documentation Clean up

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestFieldScoreQuery.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestOrdValues.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/SampleComparable.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestBasics.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs
    incubator/lucene.net/trunk/C#/src/Test/Util/LocalizedTestCase.cs
    incubator/lucene.net/trunk/C#/src/Test/Util/LuceneTestCase.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/CheckHits.cs?rev=892940&r1=892939&r2=892940&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs Mon Dec 21 19:34:47 2009
@@ -68,7 +68,7 @@
 		/// <summary> Tests that a query matches the an expected set of documents using a
 		/// HitCollector.
 		/// 
-		/// <p>
+		/// <p/>
 		/// Note that when using the HitCollector API, documents will be collected
 		/// if they "match" regardless of what their score is.
 		/// <p/>
@@ -146,7 +146,7 @@
 		
 		/// <summary> Tests that a query matches the an expected set of documents using Hits.
 		/// 
-		/// <p>
+		/// <p/>
 		/// Note that when using the Hits API, documents will only be returned
 		/// if they have a positive normalized score.
 		/// <p/>

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestFieldScoreQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Function/TestFieldScoreQuery.cs?rev=892940&r1=892939&r2=892940&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestFieldScoreQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestFieldScoreQuery.cs Mon Dec 21 19:34:47 2009
@@ -31,13 +31,13 @@
 {
 	
 	/// <summary> Test FieldScoreQuery search.
-	/// <p>
+	/// <p/>
 	/// Tests here create an index with a few documents, each having
 	/// an int value indexed  field and a float value indexed field.
 	/// The values of these fields are later used for scoring.
-	/// <p>
+	/// <p/>
 	/// The rank tests use Hits to verify that docs are ordered (by score) as expected.
-	/// <p>
+	/// <p/>
 	/// The exact score tests use TopDocs top to verify the exact score.  
 	/// </summary>
     [TestFixture]

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestOrdValues.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Function/TestOrdValues.cs?rev=892940&r1=892939&r2=892940&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestOrdValues.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestOrdValues.cs Mon Dec 21 19:34:47 2009
@@ -31,13 +31,13 @@
 {
 	
 	/// <summary> Test search based on OrdFieldSource and ReverseOrdFieldSource.
-	/// <p>
+	/// <p/>
 	/// Tests here create an index with a few documents, each having
 	/// an indexed "id" field.
 	/// The ord values of this field are later used for scoring.
-	/// <p>
+	/// <p/>
 	/// The order tests use Hits to verify that docs are ordered as expected.
-	/// <p>
+	/// <p/>
 	/// The exact score tests use TopDocs top to verify the exact score.  
 	/// </summary>
     [TestFixture]

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/SampleComparable.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/SampleComparable.cs?rev=892940&r1=892939&r2=892940&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/SampleComparable.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/SampleComparable.cs Mon Dec 21 19:34:47 2009
@@ -32,17 +32,17 @@
 	/// It implements a comparable for "id" sort of values which
 	/// consist of an alphanumeric part and a numeric part, such as:
 	/// <p/>
-	/// <P>ABC-123, A-1, A-7, A-100, B-99999
+	/// ABC-123, A-1, A-7, A-100, B-99999
 	/// <p/>
-	/// <p>Such values cannot be sorted as strings, since A-100 needs
+	/// Such values cannot be sorted as strings, since A-100 needs
 	/// to come after A-7.
 	/// <p/>
-	/// <p>It could be argued that the "ids" should be rewritten as
+	/// <p/>It could be argued that the "ids" should be rewritten as
 	/// A-0001, A-0100, etc. so they will sort as strings.  That is
 	/// a valid alternate way to solve it - but
 	/// this is only supposed to be a simple test case.
 	/// <p/>
-	/// <p>Created: Apr 21, 2004 5:34:47 PM
+	/// Created: Apr 21, 2004 5:34:47 PM
 	/// 
 	/// 
 	/// </summary>

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=892940&r1=892939&r2=892940&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 Dec 21 19:34:47 2009
@@ -41,11 +41,11 @@
 	
 	/// <summary> Tests basic search capabilities.
 	/// 
-	/// <p>Uses a collection of 1000 documents, each the english rendition of their
+	/// <p/>Uses a collection of 1000 documents, each the english rendition of their
 	/// document number.  For example, the document numbered 333 has text "three
 	/// hundred thirty three".
 	/// 
-	/// <p>Tests are each a single query, and its hits are checked to ensure that
+	/// <p/>Tests are each a single query, and its hits are checked to ensure that
 	/// all and only the correct documents are returned, thus providing end-to-end
 	/// testing of the indexing and search code.
 	/// 
@@ -358,8 +358,8 @@
 		}
 		
 		/// <summary>Skips to the first match beyond the current, whose document number is
-		/// greater than or equal to <i>target</i>. <p>Returns true iff there is such
-		/// a match.  <p>Behaves as if written: <pre>
+		/// greater than or equal to <i>target</i>. <p/>Returns true iff there is such
+		/// a match.  <p/>Behaves as if written: <pre>
 		/// boolean skipTo(int target) {
 		/// do {
 		/// if (!next())

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=892940&r1=892939&r2=892940&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs Mon Dec 21 19:34:47 2009
@@ -53,10 +53,9 @@
 		/// <summary> Similarity to eliminate tf, idf and lengthNorm effects to
 		/// isolate test case.
 		/// 
-		/// <p>
+		/// <p/>
 		/// same as TestRankingSimilarity in TestRanking.zip from
 		/// http://issues.apache.org/jira/browse/LUCENE-323
-		/// <p/>
 		/// </summary>
 		[Serializable]
 		private class TestSimilarity:DefaultSimilarity

Modified: incubator/lucene.net/trunk/C#/src/Test/Util/LocalizedTestCase.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Util/LocalizedTestCase.cs?rev=892940&r1=892939&r2=892940&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Util/LocalizedTestCase.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Util/LocalizedTestCase.cs Mon Dec 21 19:34:47 2009
@@ -23,11 +23,10 @@
 {
 	
 	/// <summary> Base test class for Lucene test classes that test Locale-sensitive behavior.
-	/// <p>
+	/// <p/>
 	/// This class will run tests under the default Locale, but then will also run
 	/// tests under all available JVM locales. This is helpful to ensure tests will
 	/// not fail under a different environment.
-	/// <p/>
 	/// </summary>
 	public class LocalizedTestCase:LuceneTestCase
 	{

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=892940&r1=892939&r2=892940&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Util/LuceneTestCase.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Util/LuceneTestCase.cs Mon Dec 21 19:34:47 2009
@@ -29,14 +29,13 @@
 {
 	
 	/// <summary> Base class for all Lucene unit tests.  
-	/// <p>
+	/// <p/>
 	/// Currently the
 	/// only added functionality over JUnit's TestCase is
 	/// asserting that no unhandled exceptions occurred in
 	/// threads launched by ConcurrentMergeScheduler and asserting sane
 	/// FieldCache usage athe moment of tearDown.
 	/// <p/>
-	/// <p>
 	/// If you
 	/// override either <code>setUp()</code> or
 	/// <code>tearDown()</code> in your unit test, make sure you
@@ -76,7 +75,7 @@
 		}
 		
 		/// <summary> Forcible purges all cache entries from the FieldCache.
-		/// <p>
+		/// <p/>
 		/// This method will be called by tearDown to clean up FieldCache.DEFAULT.
 		/// If a (poorly written) test has some expectation that the FieldCache
 		/// will persist across test methods (ie: a static IndexReader) this 
@@ -129,11 +128,10 @@
 		
 		/// <summary> Asserts that FieldCacheSanityChecker does not detect any 
 		/// problems with FieldCache.DEFAULT.
-		/// <p>
+		/// <p/>
 		/// If any problems are found, they are logged to System.err 
 		/// (allong with the msg) when the Assertion is thrown.
 		/// <p/>
-		/// <p>
 		/// This method is called by tearDown after every test method, 
 		/// however IndexReaders scoped inside test methods may be garbage 
 		/// collected prior to this method being called, causing errors to