Tuscany
  1. Tuscany
  2. TUSCANY-1100

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

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major 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. dynamicTypesFromSchemaCTS.jar
        6 kB
        Paul Golick
      2. dynamicTypesFromSchemaCTS_patch.txt
        3 kB
        Paul Golick
      3. dynamicTypesFromSchema.jar
        6 kB
        Paul Golick
      4. 1100.patch
        36 kB
        Dan Murphy

        Activity

        Paul Golick created issue -
        Hide
        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
        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.
        Paul Golick made changes -
        Field Original Value New Value
        Attachment dynamicTypesFromSchema.jar [ 12350702 ]
        Hide
        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
        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
        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
        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
        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
        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
        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
        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
        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
        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.
        Paul Golick made changes -
        Attachment dynamicTypesFromSchemaCTS_patch.txt [ 12350944 ]
        Attachment dynamicTypesFromSchemaCTS.jar [ 12350943 ]
        Hide
        Dan Murphy added a comment -

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

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

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

        Show
        Dan Murphy added a comment - Added Apache License Info... need to reassign jira to CTS category....
        Dan Murphy made changes -
        Attachment 1100.patch [ 12351252 ]
        Hide
        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
        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
        Geoff Winn added a comment -

        Patch applied

        Show
        Geoff Winn added a comment - Patch applied
        Geoff Winn made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Paul Golick added a comment -

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

        Show
        Paul Golick added a comment - I have verified this issue is fixed in revision 509219. Please close this issue.
        Kelvin Goodson made changes -
        Fix Version/s Java-SDO-Mx [ 12312262 ]
        Fix Version/s Java-SDO-M3 [ 12312317 ]
        Paul Golick made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        6d 19h 17m 1 Geoff Winn 15/Feb/07 16:40
        Resolved Resolved Closed Closed
        203d 23h 37m 1 Paul Golick 07/Sep/07 17:18

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development