mirror of https://github.com/apache/lucene.git
autoprops setup
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@809516 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
325f20fc50
commit
aad563a397
|
@ -28,7 +28,6 @@ import org.apache.commons.io.IOUtils;
|
|||
import java.io.*;
|
||||
import java.util.Properties;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
/**
|
||||
* <p> Test for Loading core properties from a properties file </p>
|
||||
|
@ -43,8 +42,6 @@ public class TestSolrCoreProperties extends AbstractSolrTestCase {
|
|||
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
// System.setProperty("foo.foo1", "f1");
|
||||
// System.setProperty("foo.foo2", "f2");
|
||||
setUpMe();
|
||||
System.setProperty("solr.solr.home", getHomeDir());
|
||||
System.setProperty("solr.data.dir", getDataDir());
|
||||
|
@ -71,7 +68,6 @@ public class TestSolrCoreProperties extends AbstractSolrTestCase {
|
|||
}
|
||||
|
||||
|
||||
|
||||
File homeDir;
|
||||
File confDir;
|
||||
|
||||
|
@ -135,7 +131,6 @@ public class TestSolrCoreProperties extends AbstractSolrTestCase {
|
|||
}
|
||||
|
||||
|
||||
|
||||
private void copyFile(File src, File dst) throws IOException {
|
||||
BufferedReader in = new BufferedReader(new FileReader(src));
|
||||
Writer out = new FileWriter(dst);
|
||||
|
|
Loading…
Reference in New Issue