SOLR-360 -- removing static JUnit references

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577437 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2007-09-19 20:33:03 +00:00
parent 11ec236ebf
commit da32f1d023
1 changed files with 3 additions and 4 deletions

View File

@ -24,7 +24,6 @@ import java.util.List;
import org.apache.solr.client.solrj.response.QueryResponse;
import org.apache.solr.client.solrj.response.UpdateResponse;
import org.apache.solr.common.SolrInputDocument;
import org.junit.Assert;
/**
* @version $Id$
@ -58,8 +57,8 @@ public abstract class LargeVolumeTestBase extends SolrExampleTestBase
private void query(int count) throws SolrServerException, IOException {
SolrQuery query = new SolrQuery("*:*");
QueryResponse response = gserver.query(query);
Assert.assertEquals(0, response.getStatus());
Assert.assertEquals(count, response.getResults().getNumFound());
assertEquals(0, response.getStatus());
assertEquals(count, response.getResults().getNumFound());
}
public class DocThread extends Thread {
@ -103,7 +102,7 @@ public abstract class LargeVolumeTestBase extends SolrExampleTestBase
} catch (Exception e) {
e.printStackTrace();
Assert.fail( getName() + "---" + e.getMessage() );
fail( getName() + "---" + e.getMessage() );
}
}
}