diff options
Diffstat (limited to 'branches/sca-java-1.5.1/itest')
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()); } |