diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-27 06:48:39 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-27 06:48:39 +0000 |
commit | 9929499adfc1da1790bc35e613ca5d870a634ae8 (patch) | |
tree | 193790194812eec7152c1f3d4f5aaa4caa78d718 | |
parent | 6dd8d6a5652b2301a65f97dee17b5b0b9cfb038b (diff) |
Update validation assertions to use new MonitorRuntimeException
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@798040 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
2 files changed, 2 insertions, 2 deletions
diff --git a/branches/sca-java-1.5.1/itest/validation/src/test/java/calculator/warning/DuplicateReferenceNameTestCase.java b/branches/sca-java-1.5.1/itest/validation/src/test/java/calculator/warning/DuplicateReferenceNameTestCase.java index 94e11f9590..61c30913cf 100644 --- a/branches/sca-java-1.5.1/itest/validation/src/test/java/calculator/warning/DuplicateReferenceNameTestCase.java +++ b/branches/sca-java-1.5.1/itest/validation/src/test/java/calculator/warning/DuplicateReferenceNameTestCase.java @@ -54,7 +54,7 @@ public class DuplicateReferenceNameTestCase extends TestCase { node.start(); calculatorService = ((SCAClient)node).getService(CalculatorService.class, "CalculatorServiceComponent"); } catch (ServiceRuntimeException ex) { - if (ex.getMessage().equals("org.osoa.sca.ServiceRuntimeException: Duplicate component reference name: Component = CalculatorServiceComponent Reference = addService")){ + if (ex.getMessage().equals("org.apache.tuscany.sca.monitor.MonitorRuntimeException: Duplicate component reference name: Component = CalculatorServiceComponent Reference = addService")){ duplicateReferenceException = true; } } diff --git a/branches/sca-java-1.5.1/itest/validation/src/test/java/calculator/warning/XSDValidationTestCase.java b/branches/sca-java-1.5.1/itest/validation/src/test/java/calculator/warning/XSDValidationTestCase.java index 60b08764c1..91c7e41e9e 100644 --- a/branches/sca-java-1.5.1/itest/validation/src/test/java/calculator/warning/XSDValidationTestCase.java +++ b/branches/sca-java-1.5.1/itest/validation/src/test/java/calculator/warning/XSDValidationTestCase.java @@ -60,7 +60,7 @@ public class XSDValidationTestCase extends TestCase { public void testCalculator() throws Exception { - assertEquals("org.osoa.sca.ServiceRuntimeException: Unexpected <binding> element found. It should appear inside a <service> or <reference> element.", startUpException.getMessage()); + assertEquals("org.apache.tuscany.sca.monitor.MonitorRuntimeException: Unexpected <binding> element found. It should appear inside a <service> or <reference> element.", startUpException.getMessage()); } |