junit.framework.ComparisonFailure

valor inesperado para date expected:<26/01/[]15> but was:<26/01/[20]15>

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web800

  • via openxava by apolomachine
    , 11 months ago
    valor inesperado para date expected:<26/01/[]15> but was:<26/01/[20]15>
  • valor inesperado para number expected:<> but was:<>**
  • via sourceforge.net by Unknown author, 1 year ago
    expected:<[2007-11-20]> but was:<[1970-01-01]>
  • Stack trace

    • junit.framework.ComparisonFailure: valor inesperado para date expected:<26/01/[]15> but was:<26/01/[20]15> at junit.framework.Assert.assertEquals(Assert.java:81) at org.openxava.tests.ModuleTestBase.assertValue(ModuleTestBase.java:1193) at org.openxava.invoicing.tests.InvoiceTest.verifyDefaultValues(InvoiceTest.java:31) at org.openxava.invoicing.tests.InvoiceTest.testCreateInvoice(InvoiceTest.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 1 month ago
    4 times, 1 month ago
    2 times, 2 months ago
    2 times, 7 months ago
    Unknown user
    Once, 11 months ago
    3 more bugmates