Author: kelvingoodson
Date: Tue Jul 27 13:29:37 2010
New Revision: 979690
URL: http://svn.apache.org/viewvc?rev=979690&view=rev
Log:
make ASM10003 test case pass by updating expected error message in line with
the model changes introduced in TUSANY-3630
Modified:
tuscany/otest/newlayout/tuscany-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
Modified:
tuscany/otest/newlayout/tuscany-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
URL:
http://svn.apache.org/viewvc/tuscany/otest/newlayout/tuscany-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=979690&r1=979689&r2=979690&view=diff
==============================================================================
---
tuscany/otest/newlayout/tuscany-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
(original)
+++
tuscany/otest/newlayout/tuscany-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
Tue Jul 27 13:29:37 2010
@@ -78,7 +78,7 @@ ASM_8019=org.oasisopen.sca.ServiceRuntim
ASM_9002=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1]
- Multiple bindings with the same name for a service: Service = Service1
Binding name = Fred
ASM_9005=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_ASM_9005Component1] - [ASM90005] The SCA binding Service1 on component
TEST_ASM_9005Component1 service Service1 should not have a URI and the URI is
currently set to http://example/bar
ASM_10001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_10001,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***ASM_10001***.zip!/META-INF/definitions.xml] - [ASM10001,POL30002]
Duplicate intent {http://docs.oasis-open.org/ns/opencsa/scatests/200903}Fred
found in domain
-ASM_10003=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_10003,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***ASM_10003***.zip!/META-INF/definitions.xml] - XMLSchema validation
error occured in: Test_ASM_10003.composite ,line = ***, column = ***, Message =
cvc-complex-type.2.4.a: Invalid content was found starting with element
'component'. One of
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":intent,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":policySet,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":bindingType,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":implementationType,
WC[##other:"http://docs.oasis-open.org/ns/opencsa/sca/200912"]}' is expected.
+ASM_10003=org.oasisopen.sca.ServiceRuntimeException: [Contribution: ASM_10003,
Artifact: META-INF/definitions.xml, Definitions:
jar:file:***ASM_10003***.zip!/META-INF/definitions.xml] - XMLSchema validation
error occured in: Test_ASM_10003.composite ,line = ***, column = ***, Message =
cvc-complex-type.2.4.a: Invalid content was found starting with element
'component'. One of
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":intent,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":policySet,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":bindingType,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":implementationType,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":externalAttachment,
WC[##other:"http://docs.oasis-open.org/ns/opencsa/sca/200912"]}' is expected.
ASM_12003=org.apache.tuscany.sca.contribution.processor.ContributionResolveException:
Invalid interface when resolving
ASM_12007=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component: TestComponent1,
Composite:
{http://docs.oasis-open.org/ns/opencsa/scatests/2009032}TestComposite5,
Component: TestComposite5TestComponent1] - [ASM50004,JCA30002,JCI80001]
Component service interface incompatible with implementation service interface:
Component = TestComposite5TestComponent1 Service = Service1 Operations called
operation2 are not compatible Operation argument types source =
{http://www.w3.org/2001/XMLSchema}int target =
{http://www.w3.org/2001/XMLSchema}string don't match for output types|||
ASM_12008=org.oasisopen.sca.ServiceRuntimeException: [Composite:
{http://docs.oasis-open.org/ns/opencsa/sca/200912}, Component:
TEST_ASM_12008TestComponent1, Composite:
{http://docs.oasis-open.org/ns/opencsa/scatests/2009032}TestComposite5,
Component: TestComposite5TestComponent1] - [ASM50004,JCA30002,JCI80001]
Component service interface incompatible with implementation service interface:
Component = TestComposite5TestComponent1 Service = Service1 Operations called
operation2 are not compatible Operation argument types source =
{http://www.w3.org/2001/XMLSchema}int target =
{http://www.w3.org/2001/XMLSchema}string don't match for output types|||