junit.framework.ComparisonFailure

expected:<user@e[]mail.com > but was:<user@e[ee]mail.com >


Solutions on the web738

Solution icon of stackoverflow
expected:<user@e[]mail.com > but was:<user@e[ee]mail.com >

Solution icon of web
expected:<E...> but was:<e...>

Solution icon of github
null expected:<aahg(link: i)e> but was:<aahg(link: )e>

Solution icon of jboss
via JBoss Issue Tracker by Juraci Paixão Kröhling, 1 year ago
expe cted:&lt;...�e o�...&gt; but was:&lt;...?e o?...&gt;

Solution icon of googlegroups
/mule_test_delete_me/mule_home/lib/user/, file://tmp/mule_test_delete_me/mule_home/lib/mule/, file://tmp/mule_test_delete_me/mule_home/lib/opt/] expected:<......> but was:<.../...>

Solution icon of apache
via harmony-alerts by nomail@intel.com, 1 year ago
Content not as expected: is package test1; public class E { private boolean foo() { return (boolean) Boolean.TRUE; } } Differs at pos 75: eturn ^(boole expected: package test1; public class E { private boolean foo() { return Boolean.TRUE; } } expected:&lt;......&gt; but was:&lt;...(boolean) ...&gt;

Solution icon of web
via apache.org by Unknown author, 1 year ago
Content not as expected: is package test1; public class E { private boolean foo() { return (boolean) Boolean.TRUE; } } Differs at pos 75: eturn ^(boole expected: package test1; public class E { private boolean foo() { return Boolean.TRUE; } } expected:&lt;......&gt; but was:&lt;...(boolean) ...&gt;

Solution icon of github
via GitHub by tobykurien
, 1 year ago
expected:<> but was:<null>

Solution icon of apache
via jackrabbit-oak-dev by Apache Jenkins Server, 1 year ago
expected:<[[]]> but was:<[]>

Solution icon of sourceforge
expected: but was:

Stack trace

  • junit.framework.ComparisonFailure: expected:<user@e[]mail.com > but was:<user@e[ee]mail.com > at junit.framework.Assert.assertEquals(Assert.java:85) at junit.framework.Assert.assertEquals(Assert.java:91) at com.zoser.android.activities.ParentActivityTest.testMailValidFail(ParentActivityTest.java:58) at java.lang.reflect.Method.invoke(Native Method) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37) at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59) at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1996)

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

24 times, 1 year ago
3 times, 1 month ago
4 times, 2 months ago
2 times, 3 months ago
2 times, 8 months ago
4 more bugmates