[
https://issues.apache.org/jira/browse/TUSCANY-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kelvin Goodson resolved TUSCANY-1181.
-------------------------------------
Resolution: Fixed
Resolved at 530359: I applied Dan's patch, but took the liberty of reversing
the logic in the checkTypes method as per the comment above and in the method.
This revealed another test failure which was fixed up by adding a
setup/teardown method to handle refreshing the scope between tests. Doing this
also allowed me to remove the @Ignore comment from the test of doing a
duplicate define.
> XSDSerializationTest is Tuscany-specific
> ----------------------------------------
>
> Key: TUSCANY-1181
> URL: https://issues.apache.org/jira/browse/TUSCANY-1181
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Community Test Suite
> Reporter: Andy Grove
> Attachments: Tuscany-1181.patch
>
>
> XSDSerializationTest contains assertions like the following that expect 2
> types to be created from simple.xsd, which just contains a single type called
> "Quote".
> assertEquals("XSDHelper.define() did not create the expected number of
> Types", 2, types.size());
> Presumably the current assertion is based on DocumentRoot being in the types
> list.
> It would be better to check that the "Quote" type is in the list rather than
> just checking the size of the list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]