You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Dan Murphy (JIRA)" <tu...@ws.apache.org> on 2007/03/28 16:04:25 UTC

[jira] Updated: (TUSCANY-1181) XSDSerializationTest is Tuscany-specific

     [ https://issues.apache.org/jira/browse/TUSCANY-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Murphy updated TUSCANY-1181:
--------------------------------

    Attachment: Tuscany-1181.patch

Rename of XSDSerialisationTest to XSDHelperTest (since it tests XSDHelper)
Added checkTypes() method that iterates through the defined types and compares the contained types match those found by using the Apache WS-Commons XmlSchema library. This should simplify later modification that tests more XSDs rather than the current single one tested...
Modifies the CTSGeneralSuite to use the renamed tests

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org