mirror of https://github.com/apache/lucene.git
SOLR-135: (and SOLR-225) moving highlight test to highlight directory. SOLR-225 will apply without an empty test class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547523 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2054a10ad9
commit
40fccaea18
|
@ -15,33 +15,34 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.apache.solr;
|
package org.apache.solr.highlight;
|
||||||
|
|
||||||
import org.apache.solr.request.*;
|
|
||||||
import org.apache.solr.util.*;
|
|
||||||
import org.apache.solr.schema.*;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
import org.apache.solr.util.AbstractSolrTestCase;
|
||||||
|
import org.apache.solr.util.TestHarness;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests some basic functionality of Solr while demonstrating good
|
* Tests some basic functionality of Solr while demonstrating good
|
||||||
* Best Practices for using AbstractSolrTestCase
|
* Best Practices for using AbstractSolrTestCase
|
||||||
*/
|
*/
|
||||||
public class HighlighterTest extends AbstractSolrTestCase {
|
public class HighlighterTest extends AbstractSolrTestCase {
|
||||||
|
|
||||||
public String getSchemaFile() { return "schema.xml"; }
|
@Override public String getSchemaFile() { return "schema.xml"; }
|
||||||
public String getSolrConfigFile() { return "solrconfig.xml"; }
|
@Override public String getSolrConfigFile() { return "solrconfig.xml"; }
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
// if you override setUp or tearDown, you better call
|
// if you override setUp or tearDown, you better call
|
||||||
// the super classes version
|
// the super classes version
|
||||||
super.setUp();
|
super.setUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void tearDown() throws Exception {
|
public void tearDown() throws Exception {
|
||||||
// if you override setUp or tearDown, you better call
|
// if you override setUp or tearDown, you better call
|
||||||
// the super classes version
|
// the super classes version
|
||||||
super.tearDown();
|
super.tearDown();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testTermVecHighlight() {
|
public void testTermVecHighlight() {
|
Loading…
Reference in New Issue