diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-26 13:33:18 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-26 13:33:18 +0000 |
commit | 5beb25c1e0965d5fa7877ae7107badff2e0b6035 (patch) | |
tree | 2182b18952f76b6ed016b54aaeb894a74dd20633 /branches/sca-java-1.x/itest | |
parent | aef1e52d6377f18516371655c32125c68bac0cce (diff) |
Add a namespace to the missing component type composite
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@758631 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/itest')
2 files changed, 4 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/itest/validation/src/main/resources/impl/osgi/MissingComponentTypeFile/osgitest.composite b/branches/sca-java-1.x/itest/validation/src/main/resources/impl/osgi/MissingComponentTypeFile/osgitest.composite index 0d1861f2f5..9b3adc4828 100644 --- a/branches/sca-java-1.x/itest/validation/src/main/resources/impl/osgi/MissingComponentTypeFile/osgitest.composite +++ b/branches/sca-java-1.x/itest/validation/src/main/resources/impl/osgi/MissingComponentTypeFile/osgitest.composite @@ -18,6 +18,7 @@ * under the License. --> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + targetNamespace="http://tuscany.apache.org/validation" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="OSGiTestComposite"> diff --git a/branches/sca-java-1.x/itest/validation/src/test/java/impl/osgi/MissingComponentTypeFileTestCase.java b/branches/sca-java-1.x/itest/validation/src/test/java/impl/osgi/MissingComponentTypeFileTestCase.java index e6ee9d42fe..1939455192 100644 --- a/branches/sca-java-1.x/itest/validation/src/test/java/impl/osgi/MissingComponentTypeFileTestCase.java +++ b/branches/sca-java-1.x/itest/validation/src/test/java/impl/osgi/MissingComponentTypeFileTestCase.java @@ -44,6 +44,8 @@ public class MissingComponentTypeFileTestCase extends TestCase { customDomain.loadContribution("src/main/resources/impl/osgi/MissingComponentTypeFile/osgitest.composite", "TestContribution", "src/main/resources/impl/osgi/MissingComponentTypeFile/"); } catch (Exception ex){ + System.out.println(ex.toString()); + ex.printStackTrace(); //throw ex; } } @@ -59,6 +61,6 @@ public class MissingComponentTypeFileTestCase extends TestCase { Problem problem = ((DefaultMonitorImpl)monitor).getLastLoggedProblem(); assertNotNull(problem); - assertEquals("MissingComponentTypeFile", problem.getMessageId()); + assertEquals("MissingComponentTypeFile", problem.getMessageId()); } } |