jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r591280 - in /jackrabbit/trunk/jackrabbit-core: ./ src/test/java/org/apache/jackrabbit/core/integration/init/ src/test/java/org/apache/jackrabbit/init/
Date Fri, 02 Nov 2007 09:25:46 GMT
Author: jukka
Date: Fri Nov  2 02:25:45 2007
New Revision: 591280

URL: http://svn.apache.org/viewvc?rev=591280&view=rev
Log:
JCR-1203: Reorganize core test suite
    - Moved initialization code to o.a.j.core.integration.init
    - Use the integration test phases for tests

Added:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/
      - copied from r591240, jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/init/
Removed:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/TestAll.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/init/
Modified:
    jackrabbit/trunk/jackrabbit-core/pom.xml
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/ExportDocViewTestData.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/NodeTestData.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/PropertyTestData.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/QueryTestData.java

Modified: jackrabbit/trunk/jackrabbit-core/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/pom.xml?rev=591280&r1=591279&r2=591280&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-core/pom.xml Fri Nov  2 02:25:45 2007
@@ -191,9 +191,10 @@
         <executions>
           <execution>
             <id>do_init</id>
+            <phase>pre-integration-test</phase>
             <configuration>
               <includes>
-                <include>**/init/*</include>
+                <include>org/apache/jackrabbit/core/integration/init/*TestData.java</include>
               </includes>
               <excludes>
                 <exclude>**/*TestAll.java</exclude>
@@ -205,6 +206,7 @@
           </execution>
           <execution>
             <id>do_test</id>
+            <phase>integration-test</phase>
             <configuration>
               <excludes>
                 <exclude>**/init/*</exclude>

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/ExportDocViewTestData.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/ExportDocViewTestData.java?rev=591280&r1=591240&r2=591280&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/ExportDocViewTestData.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/ExportDocViewTestData.java
Fri Nov  2 02:25:45 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.init;
+package org.apache.jackrabbit.core.integration.init;
 
 import org.apache.jackrabbit.test.AbstractJCRTest;
 

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/NodeTestData.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/NodeTestData.java?rev=591280&r1=591240&r2=591280&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/NodeTestData.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/NodeTestData.java
Fri Nov  2 02:25:45 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.init;
+package org.apache.jackrabbit.core.integration.init;
 
 import javax.jcr.RepositoryException;
 import javax.jcr.Node;

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/PropertyTestData.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/PropertyTestData.java?rev=591280&r1=591240&r2=591280&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/PropertyTestData.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/PropertyTestData.java
Fri Nov  2 02:25:45 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.init;
+package org.apache.jackrabbit.core.integration.init;
 
 import org.apache.jackrabbit.test.AbstractJCRTest;
 

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/QueryTestData.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/QueryTestData.java?rev=591280&r1=591240&r2=591280&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/QueryTestData.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/init/QueryTestData.java
Fri Nov  2 02:25:45 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.init;
+package org.apache.jackrabbit.core.integration.init;
 
 import org.apache.jackrabbit.test.AbstractJCRTest;
 



Mime
View raw message