summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorkwilliams <kwilliams@13f79535-47bb-0310-9956-ffa450edef68>2008-07-03 16:06:27 +0000
committerkwilliams <kwilliams@13f79535-47bb-0310-9956-ffa450edef68>2008-07-03 16:06:27 +0000
commitbbc83a2919e5d1d3df9a7bdedd9fc23a4c417127 (patch)
tree41817cf056350987efe90f0e2ccc6a3f1f47efda /java
parent6e69b9554162ef590f055d9f84d10642b7c3094e (diff)
Small test updates
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@673728 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/vtest/assembly/component/src/main/resources/nonuniquename.composite2
-rw-r--r--java/sca/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentTestCase.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/java/sca/vtest/assembly/component/src/main/resources/nonuniquename.composite b/java/sca/vtest/assembly/component/src/main/resources/nonuniquename.composite
index d53e2ba776..3019542091 100644
--- a/java/sca/vtest/assembly/component/src/main/resources/nonuniquename.composite
+++ b/java/sca/vtest/assembly/component/src/main/resources/nonuniquename.composite
@@ -28,6 +28,6 @@
<component name="AComponent">
<implementation.java class="org.apache.tuscany.sca.vtest.assembly.component.impl.BServiceImpl"/>
- </component>
+ </component>
</composite>
diff --git a/java/sca/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentTestCase.java b/java/sca/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentTestCase.java
index 379a19b238..2b100a0461 100644
--- a/java/sca/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentTestCase.java
+++ b/java/sca/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentTestCase.java
@@ -24,7 +24,7 @@ import junit.framework.Assert;
import org.apache.tuscany.sca.vtest.utilities.ServiceFinder;
import org.junit.Ignore;
import org.junit.Test;
-import org.osoa.sca.ConversationEndedException;
+import org.osoa.sca.ServiceRuntimeException;
/**
*
@@ -75,7 +75,7 @@ public class ComponentTestCase {
* name (required) – the name of the component. The name must be unique
* across all the components in the composite.
*/
- @Test(expected = RuntimeException.class)
+ @Test(expected = ServiceRuntimeException.class)
@Ignore("TUSCANY-2455")
public void components3() throws Exception {
initDomain("nonuniquename.composite");