The items are in a different order.  The first file has:
  description117
  description121
  display-name6
  display-name9
  icon8
  icon5

and the second one has
  description121
  description117
  display-name9
  display-name6
  icon5
  icon8

-dain

On Sep 27, 2007, at 3:57 AM, Karan Malhi wrote:

Here is the surefire report for this test. This contains the diff.
Notice the square brackets - [] showing up in the xml. These are
causing the assertEquals to fail.

---------------------------------------------------------------------- ---------

Test set: org.apache.openejb.jee.JeeTest

---------------------------------------------------------------------- ---------

Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.5
sec <<< FAILURE!

testWar(org.apache.openejb.jee.JeeTest) Time elapsed: 0.296 sec <<< FAILURE!

junit.framework.ComparisonFailure: null expected:<...scription
xml:lang="[en-US">description117</description>
    <description xml:lang="">description121</description>
    <display-name xml:lang="en-US">display-name6</display-name>
    <display-name xml:lang="">display-name9</display-name>
    <icon xml:lang="en-US" id="ID967">
        <small-icon>small-icon8</small-icon>
        <large-icon>large-icon8</large-icon>
    </icon>
    <icon xml:lang="" id="ID913">
        <small-icon>small-icon5</small-icon>
        <large-icon>large-icon5]</large-icon>
</...> but was:<...scription xml:lang="[">description121</ description>
    <description xml:lang="en-US">description117</description>
    <display-name xml:lang="">display-name9</display-name>
    <display-name xml:lang="en-US">display-name6</display-name>
    <icon xml:lang="" id="ID913">
        <small-icon>small-icon5</small-icon>
        <large-icon>large-icon5</large-icon>
    </icon>
    <icon xml:lang="en-US" id="ID967">
        <small-icon>small-icon8</small-icon>
        <large-icon>large-icon8]</large-icon>
    </...>

        at junit.framework.Assert.assertEquals(Assert.java:81)

        at junit.framework.Assert.assertEquals(Assert.java:87)

at org.apache.openejb.jee.JeeTest.marshalAndUnmarshal(JeeTest.java: 83)

        at org.apache.openejb.jee.JeeTest.testWar(JeeTest.java:55)




On 9/27/07, David Blevins <[EMAIL PROTECTED]> wrote:
Hmm...  Can you try running the test say in Eclipse or Intellij and
using a debugger to diff the xml documents?

This is likely the same issue Ashok reported and I'm almost certain
it's something trivial like whitespace or newline differences.

-David

On Sep 26, 2007, at 6:32 PM, Karan Malhi wrote:

Is the following test failing for anybody?
org.apache.openejb.jee.JeeTest

--
Karan Singh Malhi





--
Karan Singh Malhi

Reply via email to