lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r780268 - in /lucene/java/trunk/src/test/org/apache/lucene/analysis: TeeSinkTokenTest.java TestTeeTokenFilter.java
Date Sat, 30 May 2009 14:05:19 GMT
Author: mikemccand
Date: Sat May 30 14:05:18 2009
New Revision: 780268

URL: http://svn.apache.org/viewvc?rev=780268&view=rev
Log:
rename TeeSinkTokenTest so that ant test actually runs it

Added:
    lucene/java/trunk/src/test/org/apache/lucene/analysis/TestTeeTokenFilter.java
      - copied, changed from r780261, lucene/java/trunk/src/test/org/apache/lucene/analysis/TeeSinkTokenTest.java
Removed:
    lucene/java/trunk/src/test/org/apache/lucene/analysis/TeeSinkTokenTest.java

Copied: lucene/java/trunk/src/test/org/apache/lucene/analysis/TestTeeTokenFilter.java (from
r780261, lucene/java/trunk/src/test/org/apache/lucene/analysis/TeeSinkTokenTest.java)
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/analysis/TestTeeTokenFilter.java?p2=lucene/java/trunk/src/test/org/apache/lucene/analysis/TestTeeTokenFilter.java&p1=lucene/java/trunk/src/test/org/apache/lucene/analysis/TeeSinkTokenTest.java&r1=780261&r2=780268&rev=780268&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/analysis/TeeSinkTokenTest.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/analysis/TestTeeTokenFilter.java Sat May
30 14:05:18 2009
@@ -32,14 +32,14 @@
 /**
  * tests for the TeeTokenFilter and SinkTokenizer
  */
-public class TeeSinkTokenTest extends LuceneTestCase {
+public class TestTeeTokenFilter extends LuceneTestCase {
   protected StringBuffer buffer1;
   protected StringBuffer buffer2;
   protected String[] tokens1;
   protected String[] tokens2;
 
 
-  public TeeSinkTokenTest(String s) {
+  public TestTeeTokenFilter(String s) {
     super(s);
   }
 
@@ -167,7 +167,7 @@
    *
    * @throws Exception
    */
-  public void testPerformance() throws Exception {
+  public void doTestPerformance() throws Exception {
     int[] tokCount = {100, 500, 1000, 2000, 5000, 10000};
     int[] modCounts = {1, 2, 5, 10, 20, 50, 100, 200, 500};
     for (int k = 0; k < tokCount.length; k++) {



Mime
View raw message