From 17cdd3a46bab5d35272471f86a3b1cfe896f08a4 Mon Sep 17 00:00:00 2001 From: Steven Rowe Date: Mon, 18 Feb 2013 08:59:15 +0000 Subject: [PATCH] IntelliJ configuration fixes: - Make FacetTestCase abstract so that the IntelliJ test runner doesn't try to execute its tests under the facet module test run configuration - In the facet module configuration, drop source directory facet/src/examples/ and add source directory facet/src/resources/ - Add -Xmx256m to the Lucene core test run configuration to avoid OOM in a couple tests - Add resource pattern 'test-files:*' to .idea/compiler.xml, so that all files under */src/test-files/, regardless of file name/extension, will be copied over to the test output directory (previously .js files under solr/src/test-files/ were being excluded) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447154 13f79535-47bb-0310-9956-ffa450edef68 --- dev-tools/idea/.idea/compiler.xml | 1 + dev-tools/idea/.idea/workspace.xml | 2 +- dev-tools/idea/lucene/facet/facet.iml | 2 +- .../facet/src/test/org/apache/lucene/facet/FacetTestCase.java | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-tools/idea/.idea/compiler.xml b/dev-tools/idea/.idea/compiler.xml index 892573d0af2..006fea16c1c 100644 --- a/dev-tools/idea/.idea/compiler.xml +++ b/dev-tools/idea/.idea/compiler.xml @@ -3,6 +3,7 @@ + diff --git a/dev-tools/idea/.idea/workspace.xml b/dev-tools/idea/.idea/workspace.xml index 265715d54f9..579bdb4ade0 100644 --- a/dev-tools/idea/.idea/workspace.xml +++ b/dev-tools/idea/.idea/workspace.xml @@ -8,7 +8,7 @@ diff --git a/dev-tools/idea/lucene/facet/facet.iml b/dev-tools/idea/lucene/facet/facet.iml index 4eaadf5a298..8da5b5da794 100644 --- a/dev-tools/idea/lucene/facet/facet.iml +++ b/dev-tools/idea/lucene/facet/facet.iml @@ -6,7 +6,7 @@ - + diff --git a/lucene/facet/src/test/org/apache/lucene/facet/FacetTestCase.java b/lucene/facet/src/test/org/apache/lucene/facet/FacetTestCase.java index 1de435b07e8..31e79edbf14 100644 --- a/lucene/facet/src/test/org/apache/lucene/facet/FacetTestCase.java +++ b/lucene/facet/src/test/org/apache/lucene/facet/FacetTestCase.java @@ -35,7 +35,7 @@ import org.junit.BeforeClass; * limitations under the License. */ -public class FacetTestCase extends LuceneTestCase { +public abstract class FacetTestCase extends LuceneTestCase { private static final IntEncoder[] ENCODERS = new IntEncoder[] { new SortingIntEncoder(new UniqueValuesIntEncoder(new VInt8IntEncoder())),