mirror of https://github.com/apache/lucene.git
SOLR-362: add JUnit to Solr libraries
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@578230 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1e4355a10f
commit
b8bdf5add6
|
@ -85,11 +85,6 @@ Instructions for Building Apache Solr from Source
|
||||||
4. Navigate to that folder and issue an "ant" command to see the available options
|
4. Navigate to that folder and issue an "ant" command to see the available options
|
||||||
for building, testing, and packaging Solr.
|
for building, testing, and packaging Solr.
|
||||||
|
|
||||||
NOTE:
|
|
||||||
Solr uses JUnit (http://www.junit.org/index.htm) for unit testing. You will need
|
|
||||||
the JUnit library in your Ant classpath in order to compile and run the unit tests.
|
|
||||||
See http://ant.apache.org/manual/OptionalTasks/junit.html for instructions.
|
|
||||||
|
|
||||||
NOTE:
|
NOTE:
|
||||||
To see Solr in action, you may want to use the "ant example" command to build
|
To see Solr in action, you may want to use the "ant example" command to build
|
||||||
and package Solr into the example/webapps directory. See also example/README.txt.
|
and package Solr into the example/webapps directory. See also example/README.txt.
|
||||||
|
|
|
@ -93,8 +93,6 @@
|
||||||
<property name="junit.output.dir" location="${dest}/test-results"/>
|
<property name="junit.output.dir" location="${dest}/test-results"/>
|
||||||
<property name="junit.reports" location="${dest}/test-results/reports"/>
|
<property name="junit.reports" location="${dest}/test-results/reports"/>
|
||||||
<property name="junit.includes" value="**/Test*.java,**/*Test.java"/>
|
<property name="junit.includes" value="**/Test*.java,**/*Test.java"/>
|
||||||
<available property="junitPresent"
|
|
||||||
classname="junit.framework.TestCase" />
|
|
||||||
|
|
||||||
<!-- Macro for compilation -->
|
<!-- Macro for compilation -->
|
||||||
<macrodef name="solr-javac">
|
<macrodef name="solr-javac">
|
||||||
|
@ -385,6 +383,8 @@
|
||||||
|
|
||||||
<!-- Check that JUnit is present. -->
|
<!-- Check that JUnit is present. -->
|
||||||
<target name="checkJunitPresence">
|
<target name="checkJunitPresence">
|
||||||
|
<available property="junitPresent"
|
||||||
|
classname="junit.framework.TestCase" classpathref="compile.classpath"/>
|
||||||
<!-- no description so it doesn't show up in -projecthelp -->
|
<!-- no description so it doesn't show up in -projecthelp -->
|
||||||
<fail unless="junitPresent">
|
<fail unless="junitPresent">
|
||||||
##################################################################
|
##################################################################
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
AnyObjectId[6ecaeb83a81f541647188ca6da7ec6f41d385e1f] was removed in git history.
|
||||||
|
Apache SVN contains full history.
|
Loading…
Reference in New Issue