Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1100

Dynamic Type tests are needed to ensure that all XSD datatypes are supported

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Java-SDO-Next
    • Fix Version/s: Java-SDO-beta1
    • Labels:
      None
    • Environment:
      Java 1.4.2 or later

      Description

      Dynamic Type tests are needed. This JIRA is used to contribute test cases that use xsd and xml to define Type objects. Another JIRA will be used for test cases that use DataObjects to define the Type objects.

      1. 1100.patch
        36 kB
        Dan Murphy
      2. dynamicTypesFromSchema.jar
        6 kB
        Paul Golick
      3. dynamicTypesFromSchemaCTS_patch.txt
        3 kB
        Paul Golick
      4. dynamicTypesFromSchemaCTS.jar
        6 kB
        Paul Golick

        Activity

        Hide
        golick Paul Golick added a comment -

        This jar contains test code:
        one java file with JUnit test cases,
        one xsd file with XML Schema definitions for the test cases, and
        three xml files for testing XML Schema primitive datatypes, derived datatypes, and assorted complex datatypes.

        Show
        golick Paul Golick added a comment - This jar contains test code: one java file with JUnit test cases, one xsd file with XML Schema definitions for the test cases, and three xml files for testing XML Schema primitive datatypes, derived datatypes, and assorted complex datatypes.
        Hide
        frankb Frank Budinsky added a comment -

        Is this test Tuscany-specific? If not, we should probably put it into the CTS instead of in the impl project.

        Show
        frankb Frank Budinsky added a comment - Is this test Tuscany-specific? If not, we should probably put it into the CTS instead of in the impl project.
        Hide
        golick Paul Golick added a comment -

        I put them in the implementation test directories because the tests are simple and brief enough to be run as build verification tests.

        Show
        golick Paul Golick added a comment - I put them in the implementation test directories because the tests are simple and brief enough to be run as build verification tests.
        Hide
        golick Paul Golick added a comment -

        As written, this test case is Tuscany-specific since it relies on SDOUtil to obtain a new HelperContext. Would you like a version that can be put in the CTS ?

        Show
        golick Paul Golick added a comment - As written, this test case is Tuscany-specific since it relies on SDOUtil to obtain a new HelperContext. Would you like a version that can be put in the CTS ?
        Hide
        frankb Frank Budinsky added a comment -

        Dan Murphy mentioned to me that there already is a very similar test in the CTS - donated by Robbie.

        I think the three of you need to sync up and figure out how best to leverage the CTS for Tuscany/SDO BVT.

        Thanks,
        Frank.

        Show
        frankb Frank Budinsky added a comment - Dan Murphy mentioned to me that there already is a very similar test in the CTS - donated by Robbie. I think the three of you need to sync up and figure out how best to leverage the CTS for Tuscany/SDO BVT. Thanks, Frank.
        Hide
        golick Paul Golick added a comment -

        Robbie had asked me to write the test cases.

        dynamicTypesFromSchemaCTS.jar contains new files to be added.
        dynamicTypesFromSchemaCTS_patch.txt cotains patch text for existing files.
        Both of these files are for expansion or application from the tuscany\java directory.

        Show
        golick Paul Golick added a comment - Robbie had asked me to write the test cases. dynamicTypesFromSchemaCTS.jar contains new files to be added. dynamicTypesFromSchemaCTS_patch.txt cotains patch text for existing files. Both of these files are for expansion or application from the tuscany\java directory.
        Hide
        murphdg Dan Murphy added a comment -

        Making slight mod to add Apache License info - otherwise seem fine...

        Show
        murphdg Dan Murphy added a comment - Making slight mod to add Apache License info - otherwise seem fine...
        Hide
        murphdg Dan Murphy added a comment -

        Added Apache License Info... need to reassign jira to CTS category....

        Show
        murphdg Dan Murphy added a comment - Added Apache License Info... need to reassign jira to CTS category....
        Hide
        murphdg Dan Murphy added a comment -

        (incidently, although there are some tests that fluff up various dataobjects from xsd/xml they don't do it for the same purpose so doesn't appear to be any overlap with what is already in CTS)

        Show
        murphdg Dan Murphy added a comment - (incidently, although there are some tests that fluff up various dataobjects from xsd/xml they don't do it for the same purpose so doesn't appear to be any overlap with what is already in CTS)
        Hide
        gwinn Geoff Winn added a comment -

        Patch applied

        Show
        gwinn Geoff Winn added a comment - Patch applied
        Hide
        golick Paul Golick added a comment -

        I have verified this issue is fixed in revision 509219. Please close this issue.

        Show
        golick Paul Golick added a comment - I have verified this issue is fixed in revision 509219. Please close this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            golick Paul Golick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development