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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via openxava by apolomachine
, 1 year ago
valor inesperado para date expected:<26/01/[]15> but was:<26/01/[20]15>
via GitHub by vincent-zurczak
, 2 years ago
expected:<...l => { '/toto' => { [port => '3306', ip => '172.16.20.12]' }}> but was:<...l => { '/toto' => { [ip => '172.16.20.12', port => '3306]' }}>
via openxava by rumpelstisien
, 1 year ago
Unexpected value for product.description expected:<[Peopleware: Productive Projects and Teams]> but was:<[]>
via GitHub by btbouwens
, 1 year ago
File buildhelper-maven-plugin.substvars different from resource buildhelper-maven-plugin.substvars expected: maven.CompileDepends=libmaven-plugin-tools-java found: maven.CompileDepends= expected:<...aven.CompileDepends=[libmaven-plugin-tools-java]> but was:<...aven.CompileDepends=[]>
via metamodel-dev by Kasper Sørensen, 1 year ago
expected:<2010-12-24 [00]:00:00> but was:<2010-12-24 [12]:00:00>
junit.framework.ComparisonFailure: valor inesperado para date expected:<26/01/[]15> but was:<26/01/[20]15>
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)

Users with the same issue

Once, 1 month ago
3 times, 2 months ago
Once, 2 months ago
2 times, 5 months ago
3 times, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.