cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] Commented: (CXF-2353) JAXRSClientServerSpringBookTest systest failure with ibm jdk
Date Thu, 23 Jul 2009 14:57:14 GMT


Sergey Beryozkin commented on CXF-2353:

Hi Peter

the problem with some of those tests is that they do the string comparison, ideally they'd
need to be converted to use restful client api.

Can you please just update 3 specific tests to this one  :

WebClient client = WebClient.create(endpointAddress, Collections.singletonList(new AegisElementProvider()));
Book book = client.accept("application/xml").get(Book.class);
// check book fields

the 4th test reads directly from the socket, just update it to check for the oocurence of
some string, that test is more about checking that an arbitrary HTTP method can be supported

thanks, Sergey

> JAXRSClientServerSpringBookTest systest failure with ibm jdk
> ------------------------------------------------------------
>                 Key: CXF-2353
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>         Environment: ibm jdk 5
>            Reporter: Peter Jones
> Four of the tests in JAXRSClientServerSpringBookTest check for a specific string contained
in expected_add_book_aegis.txt:
> <ns1:Book xmlns:ns1="" xmlns:ns2=""
ns2:type="ns1:Book"><ns1:id>124</ns1:id><ns1:name>CXF in Action - 2</ns1:name></ns1:Book>
> however, with the ibm jdk 5, the order of the id and name elements are switched in the
actual result.  I'll update the test to check for a different expected result when using the
ibm jdk, unless of course someone suggests that the ordering should be of any significance

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

View raw message