summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.5.1/vtest/assembly/component/src/test/java
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2009-07-27 07:21:04 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2009-07-27 07:21:04 +0000
commiteb7dd64a18cf8d1a6ad99171989f9ae57eaa1681 (patch)
tree04b1f8f5dde2b046674540c14da1ddad3a16a365 /branches/sca-java-1.5.1/vtest/assembly/component/src/test/java
parent9929499adfc1da1790bc35e613ca5d870a634ae8 (diff)
Update validation assertions to account for wrapped MonitorRuntimeException
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@798050 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.5.1/vtest/assembly/component/src/test/java')
-rw-r--r--branches/sca-java-1.5.1/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentReferenceTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/branches/sca-java-1.5.1/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentReferenceTestCase.java b/branches/sca-java-1.5.1/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentReferenceTestCase.java
index d62d10965a..5dd1969016 100644
--- a/branches/sca-java-1.5.1/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentReferenceTestCase.java
+++ b/branches/sca-java-1.5.1/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentReferenceTestCase.java
@@ -91,7 +91,7 @@ public class ComponentReferenceTestCase {
try {
initDomain("referencename_2.composite");
} catch (ServiceRuntimeException ex){
- Assert.assertEquals("Duplicate component reference name: Component = ClientComponent2 Reference = b", ex.getMessage());
+ Assert.assertEquals("org.apache.tuscany.sca.monitor.MonitorRuntimeException: Duplicate component reference name: Component = ClientComponent2 Reference = b", ex.getMessage());
return;
}
Assert.fail();
@@ -138,7 +138,7 @@ public class ComponentReferenceTestCase {
try {
initDomain("referencename_4.composite");
} catch (ServiceRuntimeException ex){
- Assert.assertEquals("Reference not found for component reference: Component = ClientComponent1 Reference = bb", ex.getMessage());
+ Assert.assertEquals("org.apache.tuscany.sca.monitor.MonitorRuntimeException: Reference not found for component reference: Component = ClientComponent1 Reference = bb", ex.getMessage());
return;
}