junit.framework.ComparisonFailure: expected:<23/01/2012 [13]:42:59> but was:<23/01/2012 [01]:42:59>

GitHub | ebourg | 9 months 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

    TestDateConvert failures with UTC timezone

    GitHub | 9 months ago | ebourg
    junit.framework.ComparisonFailure: expected:<23/01/2012 [13]:42:59> but was:<23/01/2012 [01]:42:59>

    Root Cause Analysis

    1. junit.framework.ComparisonFailure

      expected:<23/01/2012 [13]:42:59> but was:<23/01/2012 [01]:42:59>

      at net.minidev.asm.TestDateConvert.fullTestDate()
    2. ASM helper Minidev
      TestDateConvert.testDateCANADA
      1. net.minidev.asm.TestDateConvert.fullTestDate(TestDateConvert.java:83)
      2. net.minidev.asm.TestDateConvert.testDateLocalized(TestDateConvert.java:62)
      3. net.minidev.asm.TestDateConvert.testDateCANADA(TestDateConvert.java:47)
      3 frames