You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2006/10/24 16:36:16 UTC

[jira] Created: (AXIS2-1490) ADB Testsuite

ADB Testsuite
-------------

                 Key: AXIS2-1490
                 URL: http://issues.apache.org/jira/browse/AXIS2-1490
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Test
          Components: adb, codegen, databinding
         Environment: any
            Reporter: Amila Chinthaka Suriarachchi


Adding test cases to test the adb-codegen module

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1490) ADB Testsuite

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1490?page=all ]

Davanum Srinivas resolved AXIS2-1490.
-------------------------------------

    Resolution: Fixed

Amila,

I checked in a change to Axiom (467563) to do the extra flushes...Checked in your patch to adb-codegen as well in revision 467564.

Thanks a ton!, you have been a great help!

-- dims



> ADB Testsuite
> -------------
>
>                 Key: AXIS2-1490
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1490
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Test
>          Components: databinding, adb, codegen
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Attachments: adb-codegen.tar
>
>
> Adding test cases to test the adb-codegen module

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1490) ADB Testsuite

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1490?page=all ]

Amila Chinthaka Suriarachchi updated AXIS2-1490:
------------------------------------------------

    Attachment: adb-codegen.tar

this patch inclues new test casses for adb-testsuite. And fixes for the found bugs. 
Earlier, the value of the default attribute (in ADBBeanTemplate.xsl) was determined by using the variable type (i.e. check the variable type is OMElement or not). In this case always default attribute value is also true for xsd:any  elements. This is wrong and I fixed it with following assemption.
default attribute is true only for type = 'xsd:anyType' elements and any attribute is true only for xsd:any elements.

I have used omElement.toStringWithConsume() to get the string representation of the omElement. But this does not output the last element correctly. So I added a patch to ADBDataSouce.java to flush the xmlStream after writting.

> ADB Testsuite
> -------------
>
>                 Key: AXIS2-1490
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1490
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Test
>          Components: databinding, adb, codegen
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Attachments: adb-codegen.tar
>
>
> Adding test cases to test the adb-codegen module

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org