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

openxava | apolomachine | 2 years ago
  1. 0

    Problemas con las pruebas en JUNIT

    openxava | 2 years ago | apolomachine
    junit.framework.ComparisonFailure: valor inesperado para date expected:<26/01/[]15> but was:<26/01/[20]15>
  2. 0

    No consigo pasar los test de los ejemplos del libro.

    openxava | 4 years ago | rumpelstisien
    junit.framework.ComparisonFailure: Unexpected value for product.description expected:<[Peopleware: Productive Projects and Teams]> but was:<[]>
  3. 0

    Problemas JUnit Capítulo 6 Página 79 Libro

    openxava | 6 years ago | trapagual
    junit.framework.ComparisonFailure: valor inesperado para number expected:<> but was:<>**
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CTS android.core.vm-tests-tf tests failure

    Google Groups | 4 years ago | vijay kumar
    junit.framework.ComparisonFailure: ANDROID_DATA=/data/local/tmp/vm-tests dalvikvm -Xint:portable -Xmx512M -Xss32K -Djava.io.tmpdir=/data/local/tm p/vm-tests -classpath /data/local/tmp/vm-tests/dot/junit/dexcore.jar:/data/local/tmp/vm-tests/dot/junit/opcodes/add_float_2addr/Main_testB9.jar:/ data/local/tmp/vm-tests/dot/junit/opcodes/add_float_2addr/d/T_add_float_2addr_1.jar dot.junit.opcodes.add_float_2addr.Main_testB9 expected:<[]> b ut was:<[Segmentation fault ]>
  6. 0

    JUnit - How to aggregate differences instead of asserting just the first difference ?

    Google Groups | 1 decade ago | tomjbr....@bloglines.com
    junit.framework.ComparisonFailure: my message expected:<...> but was:<...d>

  1. marcelojaf 24 times, last 6 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. junit.framework.ComparisonFailure

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

    at junit.framework.Assert.assertEquals()
  2. JUnit
    Assert.assertEquals
    1. junit.framework.Assert.assertEquals(Assert.java:81)
    1 frame
  3. org.openxava.tests
    ModuleTestBase.assertValue
    1. org.openxava.tests.ModuleTestBase.assertValue(ModuleTestBase.java:1193)
    1 frame
  4. org.openxava.invoicing
    InvoiceTest.testCreateInvoice
    1. org.openxava.invoicing.tests.InvoiceTest.verifyDefaultValues(InvoiceTest.java:31)
    2. org.openxava.invoicing.tests.InvoiceTest.testCreateInvoice(InvoiceTest.java:18)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:622)
    4 frames
  6. JUnit
    TestSuite.run
    1. junit.framework.TestCase.runTest(TestCase.java:164)
    2. junit.framework.TestCase.runBare(TestCase.java:130)
    3. junit.framework.TestResult$1.protect(TestResult.java:106)
    4. junit.framework.TestResult.runProtected(TestResult.java:124)
    5. junit.framework.TestResult.run(TestResult.java:109)
    6. junit.framework.TestCase.run(TestCase.java:120)
    7. junit.framework.TestSuite.runTest(TestSuite.java:230)
    8. junit.framework.TestSuite.run(TestSuite.java:225)
    8 frames
  7. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
    2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    6 frames