From 40fccaea18a645f9aa91812b92c354c986e35dc2 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Fri, 15 Jun 2007 04:36:29 +0000 Subject: [PATCH] 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 --- .../solr/{ => highlight}/HighlighterTest.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) rename src/test/org/apache/solr/{ => highlight}/HighlighterTest.java (97%) diff --git a/src/test/org/apache/solr/HighlighterTest.java b/src/test/org/apache/solr/highlight/HighlighterTest.java similarity index 97% rename from src/test/org/apache/solr/HighlighterTest.java rename to src/test/org/apache/solr/highlight/HighlighterTest.java index 7619ac033e2..f8251c4ce60 100755 --- a/src/test/org/apache/solr/HighlighterTest.java +++ b/src/test/org/apache/solr/highlight/HighlighterTest.java @@ -15,33 +15,34 @@ * limitations under the License. */ -package org.apache.solr; - -import org.apache.solr.request.*; -import org.apache.solr.util.*; -import org.apache.solr.schema.*; +package org.apache.solr.highlight; 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 * Best Practices for using AbstractSolrTestCase */ public class HighlighterTest extends AbstractSolrTestCase { - public String getSchemaFile() { return "schema.xml"; } - public String getSolrConfigFile() { return "solrconfig.xml"; } + @Override public String getSchemaFile() { return "schema.xml"; } + @Override public String getSolrConfigFile() { return "solrconfig.xml"; } + @Override public void setUp() throws Exception { // if you override setUp or tearDown, you better call // the super classes version super.setUp(); } + + @Override public void tearDown() throws Exception { // if you override setUp or tearDown, you better call // the super classes version super.tearDown(); - } public void testTermVecHighlight() {