From 47cb8396ed8b45189c38990a27e3145f5a61c6b4 Mon Sep 17 00:00:00 2001 From: nash Date: Sun, 13 Sep 2009 21:58:19 +0000 Subject: Copy r797997, r798040 and r798050 changes from 1.5.1 branch to 1.x branch git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814392 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.x/vtest/assembly/component/src') diff --git a/branches/sca-java-1.x/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentReferenceTestCase.java b/branches/sca-java-1.x/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentReferenceTestCase.java index d62d10965a..5dd1969016 100644 --- a/branches/sca-java-1.x/vtest/assembly/component/src/test/java/org/apache/tuscany/sca/vtest/assembly/component/ComponentReferenceTestCase.java +++ b/branches/sca-java-1.x/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