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


Solutions on the web189

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

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 github
expected:<> but was:<>

Solution icon of googlegroups
via Google Groups by Mike Lischke, 5 days ago
expected:<...> but was:<...?Line2>

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

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

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

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

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

Solution icon of apache
via jackrabbit-oak-dev by Apache Jenkins Server, 1 year ago
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, 3 months ago
4 times, 4 months ago
2 times, 5 months ago
2 times, 10 months ago
4 more bugmates