summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/itest
diff options
context:
space:
mode:
authorvamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68>2009-03-31 18:23:42 +0000
committervamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68>2009-03-31 18:23:42 +0000
commit59dd037955847bc89aad2f16a48f597a7a8c8750 (patch)
tree2dfe9b0bac23523dfadecff0f9dcba511a777e10 /branches/sca-java-1.x/itest
parent3a3ca12257393425faedcd7e2c321ff001ebae12 (diff)
TUSCANY-2935 Integration tests for Java EE contribution processing
Added missing test resource. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@760561 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/itest')
-rw-r--r--branches/sca-java-1.x/itest/contribution-jee/src/test/java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java9
-rw-r--r--branches/sca-java-1.x/itest/contribution-jee/src/test/resources/repository/helloworld-ejb.earbin0 -> 21310 bytes
2 files changed, 7 insertions, 2 deletions
diff --git a/branches/sca-java-1.x/itest/contribution-jee/src/test/java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java b/branches/sca-java-1.x/itest/contribution-jee/src/test/java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java
index 240fb103bd..598fb680aa 100644
--- a/branches/sca-java-1.x/itest/contribution-jee/src/test/java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java
+++ b/branches/sca-java-1.x/itest/contribution-jee/src/test/java/org/apache/tuscany/sca/test/contribution/jee/ContributionServiceTestCase.java
@@ -51,7 +51,7 @@ public class ContributionServiceTestCase {
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 @@ public class ContributionServiceTestCase {
* 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 @@ public class ContributionServiceTestCase {
* 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 @@ public class ContributionServiceTestCase {
* 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 @@ public class ContributionServiceTestCase {
* 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 @@ public class ContributionServiceTestCase {
* 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 @@ public class ContributionServiceTestCase {
* 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;
diff --git a/branches/sca-java-1.x/itest/contribution-jee/src/test/resources/repository/helloworld-ejb.ear b/branches/sca-java-1.x/itest/contribution-jee/src/test/resources/repository/helloworld-ejb.ear
new file mode 100644
index 0000000000..9fb1ed9d14
--- /dev/null
+++ b/branches/sca-java-1.x/itest/contribution-jee/src/test/resources/repository/helloworld-ejb.ear
Binary files differ