You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2005/07/11 17:23:31 UTC
svn commit: r210145 - in /incubator/jackrabbit/trunk/core: maven.xml
project.xml
Author: mreutegg
Date: Mon Jul 11 08:23:29 2005
New Revision: 210145
URL: http://svn.apache.org/viewcvs?rev=210145&view=rev
Log:
JCR-117: Test cases not fully initialized at first run
Modified:
incubator/jackrabbit/trunk/core/maven.xml
incubator/jackrabbit/trunk/core/project.xml
Modified: incubator/jackrabbit/trunk/core/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/maven.xml?rev=210145&r1=210144&r2=210145&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/maven.xml (original)
+++ incubator/jackrabbit/trunk/core/maven.xml Mon Jul 11 08:23:29 2005
@@ -170,4 +170,21 @@
basedir="target/test-classes"
includes="org/apache/jackrabbit/core/JackrabbitRepositoryStub.class"/>
</goal>
+
+ <!--
+ Run Jackrabbit init tests first.
+ -->
+ <preGoal name="test:test">
+ <attainGoal name="jackrabbit:test-init"/>
+ </preGoal>
+
+ <!--
+ Runs the init test cases to fill the repository with data for
+ read-only tests.
+ -->
+ <goal name="jackrabbit:test-init">
+ <j:set var="testcase" value="org.apache.jackrabbit.init.TestAll"/>
+ <attainGoal name="test:single"/>
+ </goal>
+
</project>
Modified: incubator/jackrabbit/trunk/core/project.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/project.xml?rev=210145&r1=210144&r2=210145&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/project.xml (original)
+++ incubator/jackrabbit/trunk/core/project.xml Mon Jul 11 08:23:29 2005
@@ -127,6 +127,9 @@
<includes>
<include>**/*TestAll.java</include>
</includes>
+ <excludes>
+ <exclude>**/init/*</exclude>
+ </excludes>
<resources>
<resource>
<directory>applications/test</directory>