junit.framework.ComparisonFailure: expected:<<[?xml version="1.0" standalone="no"?><]a><b>1</b><b>2</b></...> but was:<<[]a><b>1</b><b>2</b></...>

Google Groups | Andreas Reichel | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: Timestamp vs. Java Date/Timestamp

    Google Groups | 4 years ago | Andreas Reichel
    junit.framework.ComparisonFailure: expected:<<[?xml version="1.0" standalone="no"?><]a><b>1</b><b>2</b></...> but was:<<[]a><b>1</b><b>2</b></...>

    Root Cause Analysis

    1. junit.framework.ComparisonFailure

      expected:<<[?xml version="1.0" standalone="no"?><]a><b>1</b><b>2</b></...> but was:<<[]a><b>1</b><b>2</b></...>

      at org.postgresql.test.jdbc4.XmlTest.testWrite()
    2. org.postgresql.test
      XmlTest.testDomWrite
      1. org.postgresql.test.jdbc4.XmlTest.testWrite(XmlTest.java:188)
      2. org.postgresql.test.jdbc4.XmlTest.testDomWrite(XmlTest.java:197)
      2 frames