You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by va...@apache.org on 2009/03/31 20:23:42 UTC

svn commit: r760561 - in /tuscany/branches/sca-java-1.x/itest/contribution-jee/src/test: java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java resources/repository/helloworld-ejb.ear

Author: vamsic007
Date: Tue Mar 31 18:23:42 2009
New Revision: 760561

URL: http://svn.apache.org/viewvc?rev=760561&view=rev
Log:
TUSCANY-2935 Integration tests for Java EE contribution processing
Added missing test resource.

Added:
    tuscany/branches/sca-java-1.x/itest/contribution-jee/src/test/resources/repository/helloworld-ejb.ear   (with props)
Modified:
    tuscany/branches/sca-java-1.x/itest/contribution-jee/src/test/java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java

Modified: tuscany/branches/sca-java-1.x/itest/contribution-jee/src/test/java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/itest/contribution-jee/src/test/java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java?rev=760561&r1=760560&r2=760561&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/itest/contribution-jee/src/test/java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java (original)
+++ tuscany/branches/sca-java-1.x/itest/contribution-jee/src/test/java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java Tue Mar 31 18:23:42 2009
@@ -51,7 +51,7 @@
     private static final String JAR_CONTRIBUTION = "/repository/helloworld-service.jar";
     private static final String EJB_JAR_CONTRIBUTION = "/repository/helloworld-ejb.jar";
     private static final String EJB_JAR_W_DEPLOYABLE_CONTRIBUTION = "/repository/helloworld-ejb-w-dep.jar";
-    private static final String WAR_CONTRIBUTION = "/repository/helloworld-web.war";
+    private static final String WAR_CONTRIBUTION = "/repository/helloworld-servlet.war";
     private static final String WAR_W_DEPLOYABLE_CONTRIBUTION = "/repository/helloworld-web-w-dep.war";
     private static final String EAR_CONTRIBUTION = "/repository/helloworld-ejb.ear";
 
@@ -82,6 +82,7 @@
      * This method tests a non Java EE contribution.
      */
     @Test
+//    @Ignore
     public void testContributeJAR() throws Exception {
         URL contributionLocation = getClass().getResource(JAR_CONTRIBUTION);
         String contributionId = CONTRIBUTION_001_ID;
@@ -93,6 +94,7 @@
      * This method tests an EJB jar as a contribution.
      */
     @Test
+//    @Ignore
     public void testContributeEJBJAR() throws Exception {
         URL contributionLocation = getClass().getResource(EJB_JAR_CONTRIBUTION);
         String contributionId = CONTRIBUTION_001_ID;
@@ -119,6 +121,7 @@
      * This method tests an EJB jar with sca-contribution.xml as a contribution.
      */
     @Test
+//    @Ignore
     public void testContributeEJBJARwDeployable() throws Exception {
         URL contributionLocation = getClass().getResource(EJB_JAR_W_DEPLOYABLE_CONTRIBUTION);
         String contributionId = CONTRIBUTION_001_ID;
@@ -156,6 +159,7 @@
      * This method tests WAR as a contribution.
      */
     @Test
+    //@Ignore
     public void testContributeWAR() throws Exception {
         URL contributionLocation = getClass().getResource(WAR_CONTRIBUTION);
         String contributionId = CONTRIBUTION_001_ID;
@@ -186,6 +190,7 @@
      * This method tests WAR with sca-contribution.xml as a contribution.
      */
     @Test
+//    @Ignore
     public void testContributeWARwDeployable() throws Exception {
         URL contributionLocation = getClass().getResource(WAR_W_DEPLOYABLE_CONTRIBUTION);
         String contributionId = CONTRIBUTION_001_ID;
@@ -231,7 +236,7 @@
      * This method test EAR as a contribution.
      */
     @Test
-    @Ignore
+//    @Ignore
     public void testContributeEAR() throws Exception {
         URL contributionLocation = getClass().getResource(EAR_CONTRIBUTION);
         String contributionId = CONTRIBUTION_001_ID;

Added: tuscany/branches/sca-java-1.x/itest/contribution-jee/src/test/resources/repository/helloworld-ejb.ear
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/itest/contribution-jee/src/test/resources/repository/helloworld-ejb.ear?rev=760561&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tuscany/branches/sca-java-1.x/itest/contribution-jee/src/test/resources/repository/helloworld-ejb.ear
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream