rename TeeSinkTokenTest so that ant test actually runs it

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780268 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-05-30 14:05:18 +00:00
parent c2aafb2f99
commit 6d89eea88a
1 changed files with 3 additions and 3 deletions

View File

@ -32,14 +32,14 @@ import java.util.List;
/**
* 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 @@ public class TeeSinkTokenTest extends LuceneTestCase {
*
* @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++) {