From eb7dd64a18cf8d1a6ad99171989f9ae57eaa1681 Mon Sep 17 00:00:00 2001 From: nash Date: Mon, 27 Jul 2009 07:21:04 +0000 Subject: 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 --- .../sca/vtest/assembly/component/ComponentReferenceTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'branches/sca-java-1.5.1/vtest/assembly/component/src/test/java') 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; } -- cgit v1.2.3