You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2010/05/11 23:15:20 UTC

svn commit: r943296 - in /lucene/dev/branches/branch_3x/lucene: contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/ src/test/org/apache/lucene/queryParser/

Author: rmuir
Date: Tue May 11 21:15:19 2010
New Revision: 943296

URL: http://svn.apache.org/viewvc?rev=943296&view=rev
Log:
re-enable some disabled tests

Modified:
    lucene/dev/branches/branch_3x/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/TestMultiFieldQPHelper.java
    lucene/dev/branches/branch_3x/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/TestMultiFieldQueryParserWrapper.java
    lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/queryParser/TestMultiFieldQueryParser.java

Modified: lucene/dev/branches/branch_3x/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/TestMultiFieldQPHelper.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/TestMultiFieldQPHelper.java?rev=943296&r1=943295&r2=943296&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/TestMultiFieldQPHelper.java (original)
+++ lucene/dev/branches/branch_3x/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/TestMultiFieldQPHelper.java Tue May 11 21:15:19 2010
@@ -48,17 +48,17 @@ import org.apache.lucene.util.LuceneTest
 public class TestMultiFieldQPHelper extends LuceneTestCase {
 
   /**
-   * test stop words arsing for both the non static form, and for the
+   * test stop words parsing for both the non static form, and for the
    * corresponding static form (qtxt, fields[]).
    */
-  public void tesStopwordsParsing() throws Exception {
+  public void testStopwordsParsing() throws Exception {
     assertStopQueryEquals("one", "b:one t:one");
     assertStopQueryEquals("one stop", "b:one t:one");
     assertStopQueryEquals("one (stop)", "b:one t:one");
     assertStopQueryEquals("one ((stop))", "b:one t:one");
-    assertStopQueryEquals("stop", null);
-    assertStopQueryEquals("(stop)", null);
-    assertStopQueryEquals("((stop))", null);
+    assertStopQueryEquals("stop", "");
+    assertStopQueryEquals("(stop)", "");
+    assertStopQueryEquals("((stop))", "");
   }
 
   // verify parsing of query using a stopping analyzer

Modified: lucene/dev/branches/branch_3x/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/TestMultiFieldQueryParserWrapper.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/TestMultiFieldQueryParserWrapper.java?rev=943296&r1=943295&r2=943296&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/TestMultiFieldQueryParserWrapper.java (original)
+++ lucene/dev/branches/branch_3x/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/TestMultiFieldQueryParserWrapper.java Tue May 11 21:15:19 2010
@@ -49,10 +49,10 @@ import org.apache.lucene.util.LuceneTest
 public class TestMultiFieldQueryParserWrapper extends LuceneTestCase {
 
   /**
-   * test stop words arsing for both the non static form, and for the
+   * test stop words parsing for both the non static form, and for the
    * corresponding static form (qtxt, fields[]).
    */
-  public void tesStopwordsParsing() throws Exception {
+  public void testStopwordsParsing() throws Exception {
     assertStopQueryEquals("one", "b:one t:one");
     assertStopQueryEquals("one stop", "b:one t:one");
     assertStopQueryEquals("one (stop)", "b:one t:one");

Modified: lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/queryParser/TestMultiFieldQueryParser.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/queryParser/TestMultiFieldQueryParser.java?rev=943296&r1=943295&r2=943296&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/queryParser/TestMultiFieldQueryParser.java (original)
+++ lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/queryParser/TestMultiFieldQueryParser.java Tue May 11 21:15:19 2010
@@ -43,9 +43,9 @@ import org.apache.lucene.util.LuceneTest
  */
 public class TestMultiFieldQueryParser extends LuceneTestCase {
 
-  /** test stop words arsing for both the non static form, and for the 
+  /** test stop words parsing for both the non static form, and for the 
    * corresponding static form (qtxt, fields[]). */
-  public void tesStopwordsParsing() throws Exception {
+  public void testStopwordsParsing() throws Exception {
     assertStopQueryEquals("one", "b:one t:one");  
     assertStopQueryEquals("one stop", "b:one t:one");  
     assertStopQueryEquals("one (stop)", "b:one t:one");