Petals CDK

Unable to run unit tests under windows

Details

  • Type: Bug Bug
  • Status: New New
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 5.1
  • Fix Version/s: None
  • Component/s: Build
  • Security Level: Public
  • Description:
    Hide

    When we run the unit tests of the CDK (and the EIP component too) under Windows XP, a delimiter is different after the xml first line (why?). i tried to change it with a lot of procedures...but no one success. If you delete the xml header, the same problem occurs.
    Of course, the unit tests successes under Linux .
    It's not very important, but to trace this issue may be helpfull for some developers.
    An example of file not matching the "equals" method into the tests:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsnebm:NotifyContent xmlns:wsnebm="http://www.ebmwebsourcing.com/WS-BaseNotification/NotifyContent">
    <wsnebm:params>
    <wsnebm:param>contractReference1</wsnebm:param>
    </wsnebm:params>
    </wsnebm:NotifyContent>

    Show
    When we run the unit tests of the CDK (and the EIP component too) under Windows XP, a delimiter is different after the xml first line (why?). i tried to change it with a lot of procedures...but no one success. If you delete the xml header, the same problem occurs. Of course, the unit tests successes under Linux . It's not very important, but to trace this issue may be helpfull for some developers. An example of file not matching the "equals" method into the tests: <?xml version="1.0" encoding="UTF-8"?> <wsnebm:NotifyContent xmlns:wsnebm="http://www.ebmwebsourcing.com/WS-BaseNotification/NotifyContent"> <wsnebm:params> <wsnebm:param>contractReference1</wsnebm:param> </wsnebm:params> </wsnebm:NotifyContent>
  • Environment:
    Widows XP, jdk 1.6

Activity

Hide
Frédéric Gardes added a comment - Fri, 24 Sep 2010 - 09:11:24 +0200

I can't put it on the minor level :someone can give me the rights?

Show
Frédéric Gardes added a comment - Fri, 24 Sep 2010 - 09:11:24 +0200 I can't put it on the minor level :someone can give me the rights?
Hide
Christophe DENEUX added a comment - Fri, 24 Sep 2010 - 09:35:16 +0200

XMLUnit should be used to compare 2 XMLs, for example to take into account encoding, CDATA, aliasing, ...

Show
Christophe DENEUX added a comment - Fri, 24 Sep 2010 - 09:35:16 +0200 XMLUnit should be used to compare 2 XMLs, for example to take into account encoding, CDATA, aliasing, ...
Christophe DENEUX made changes - Fri, 24 Sep 2010 - 09:35:47 +0200
Field Original Value New Value
Component/s Build [ 10093 ]
Priority Major [ 3 ]
Hide
Christophe DENEUX added a comment - Fri, 24 Sep 2010 - 09:37:41 +0200

I set the major level because these tests can't be considered as reliable

Show
Christophe DENEUX added a comment - Fri, 24 Sep 2010 - 09:37:41 +0200 I set the major level because these tests can't be considered as reliable



People

Dates

  • Created:
    Fri, 24 Sep 2010 - 09:10:43 +0200
    Updated:
    Fri, 24 Sep 2010 - 09:37:41 +0200