lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject cvs commit: jakarta-lucene/src/test/org/apache/lucene/queryParser TestQueryParser.java
Date Thu, 24 Jan 2002 19:03:52 GMT
cutting     02/01/24 11:03:52

  Modified:    src/test/org/apache/lucene/analysis TestAnalyzers.java
               src/test/org/apache/lucene/queryParser TestQueryParser.java
  Log:
  Renamed NullTokenizer and Analyzer to WhitespaceTokenizer and Analyzer.
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-lucene/src/test/org/apache/lucene/analysis/TestAnalyzers.java
  
  Index: TestAnalyzers.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/analysis/TestAnalyzers.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestAnalyzers.java	17 Jan 2002 02:49:22 -0000	1.2
  +++ TestAnalyzers.java	24 Jan 2002 19:03:52 -0000	1.3
  @@ -101,7 +101,7 @@
     }
   
     public void testNull() throws Exception {
  -    Analyzer a = new NullAnalyzer();
  +    Analyzer a = new WhitespaceAnalyzer();
       assertAnalyzesTo(a, "foo bar FOO BAR", 
                        new String[] { "foo", "bar", "FOO", "BAR" });
       assertAnalyzesTo(a, "foo      bar .  FOO <> BAR", 
  
  
  
  1.8       +1 -1      jakarta-lucene/src/test/org/apache/lucene/queryParser/TestQueryParser.java
  
  Index: TestQueryParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/queryParser/TestQueryParser.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TestQueryParser.java	17 Jan 2002 02:49:22 -0000	1.7
  +++ TestQueryParser.java	24 Jan 2002 19:03:52 -0000	1.8
  @@ -178,7 +178,7 @@
     }
   
     public void testPunct() throws Exception {
  -    Analyzer a = new NullAnalyzer();
  +    Analyzer a = new WhitespaceAnalyzer();
       assertQueryEquals("a&b", a, "a&b");
       assertQueryEquals("a&&b", a, "a&&b");
       assertQueryEquals(".NET", a, ".NET");
  
  
  

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message