You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org> on 2008/05/26 16:01:55 UTC

[jira] Created: (TUSCANY-2340) Databinding integration tests

Databinding integration tests
-----------------------------

                 Key: TUSCANY-2340
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2340
             Project: Tuscany
          Issue Type: Test
          Components: Java SCA Integration Tests
            Reporter: Vamsavardhana Reddy
             Fix For: Java-SCA-Next


I have been trying out a few tests with databindings and am hitting some TransformationExceptions.  I thought it is better I post the tests I am creating to the JIRA so that others can take a look at these tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TUSCANY-2340) Databinding integration tests

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng reassigned TUSCANY-2340:
-------------------------------------

    Assignee: Raymond Feng

> Databinding integration tests
> -----------------------------
>
>                 Key: TUSCANY-2340
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2340
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Integration Tests
>            Reporter: Vamsavardhana Reddy
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2340.patch
>
>
> I have been trying out a few tests with databindings and am hitting some TransformationExceptions.  I thought it is better I post the tests I am creating to the JIRA so that others can take a look at these tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TUSCANY-2340) Databinding integration tests

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-2340.
-----------------------------------

    Resolution: Fixed

Patch applied under r660648. Thanks Vamsi for the patch!

> Databinding integration tests
> -----------------------------
>
>                 Key: TUSCANY-2340
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2340
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Integration Tests
>            Reporter: Vamsavardhana Reddy
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2340-new.patch, TUSCANY-2340.patch
>
>
> I have been trying out a few tests with databindings and am hitting some TransformationExceptions.  I thought it is better I post the tests I am creating to the JIRA so that others can take a look at these tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TUSCANY-2340) Databinding integration tests

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy closed TUSCANY-2340.
----------------------------------------


> Databinding integration tests
> -----------------------------
>
>                 Key: TUSCANY-2340
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2340
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Integration Tests
>            Reporter: Vamsavardhana Reddy
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2340-new.patch, TUSCANY-2340.patch
>
>
> I have been trying out a few tests with databindings and am hitting some TransformationExceptions.  I thought it is better I post the tests I am creating to the JIRA so that others can take a look at these tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TUSCANY-2340) Databinding integration tests

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy updated TUSCANY-2340:
-----------------------------------------

    Attachment: TUSCANY-2340.patch

TUSCANY-2340.patch: A few tests with array, List, ArrayList, Map and HashMap.  The WS Binding test is failing with TransformationExceptions (given below), so I have annotated it with @Ignore.

org.apache.tuscany.sca.databinding.TransformationException: com.sun.xml.bind.v2.
runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
java.util.List is an interface, and JAXB can't handle interfaces.
        this problem is related to the following location:
                at java.util.List
java.util.List does not have a no-arg default constructor.
        this problem is related to the following location:
                at java.util.List

A similar exception is thrown for Map.

Among other observations, in case of WS binding, an empty list and an empty map is being passed to the ArrayList and HashMap related tests.

> Databinding integration tests
> -----------------------------
>
>                 Key: TUSCANY-2340
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2340
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Integration Tests
>            Reporter: Vamsavardhana Reddy
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2340.patch
>
>
> I have been trying out a few tests with databindings and am hitting some TransformationExceptions.  I thought it is better I post the tests I am creating to the JIRA so that others can take a look at these tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TUSCANY-2340) Databinding integration tests

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy updated TUSCANY-2340:
-----------------------------------------

    Attachment: TUSCANY-2340-new.patch

TUSCANY-2340-new.patch: Splits each service method invocation into a separate test method.  Marked the tests that are failing or resulting in an error with @Ignore.  Please ignore TUSCANY-2340.patch.  

> Databinding integration tests
> -----------------------------
>
>                 Key: TUSCANY-2340
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2340
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Integration Tests
>            Reporter: Vamsavardhana Reddy
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2340-new.patch, TUSCANY-2340.patch
>
>
> I have been trying out a few tests with databindings and am hitting some TransformationExceptions.  I thought it is better I post the tests I am creating to the JIRA so that others can take a look at these tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.