org.junit.ComparisonFailure: expected:<...is.codingspectator.D[' - Original project: 'Prj' - Destination element: 'edu.illinois.codingspectator.D]' - Original element...> but was:<...is.codingspectator.D[estinationFile.java' - Original project: 'Prj' - Destination element: 'edu.illinois.codingspectator.DestinationFile.java]' - Original element...>

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 GitHub by reprogrammer
, 1 year ago
expected:<...is.codingspectator.D[' - Original project: 'Prj' - Destination element: 'edu.illinois.codingspectator.D]' - Original element...> but was:<...is.codingspectator.D[estinationFile.java' - Original project: 'Prj' - Destination element: 'edu.illinois.codingspectator.DestinationFile.java]' - Original element...>
via github.com by Unknown author, 2 years ago
expected:<[two]> but was:<[�]>
via GitHub by wildfly-ci
, 1 year ago
expected:<[tru]e> but was:<[fals]e>
via YouTrack by Unknown author, 2 years ago
Expected :Incorrect Actual :Special char ¿
via GitHub by birkland
, 8 months ago
expected:<[text/plain]> but was:<[application/octet-stream]>
via GitHub by forana
, 2 years ago
expected:<'"@[���������������]-test-123-0.17736978...> but was:<'"@[???????????????]-test-123-0.17736978...>
org.junit.ComparisonFailure: expected:<...is.codingspectator.D[' - Original project: 'Prj' - Destination element: 'edu.illinois.codingspectator.D]' - Original element...> but was:<...is.codingspectator.D[estinationFile.java' - Original project: 'Prj' - Destination element: 'edu.illinois.codingspectator.DestinationFile.java]' - Original element...>
at org.junit.Assert.assertEquals(Assert.java:123)
at org.junit.Assert.assertEquals(Assert.java:145)
at edu.illinois.codingspectator.ui.tests.DescriptorComparator.assertMatches(DescriptorComparator.java:26)
at edu.illinois.codingspectator.ui.tests.RefactoringLogChecker.assertMatch(RefactoringLogChecker.java:35)
at edu.illinois.codingspectator.ui.tests.RefactoringTest.doRefactoringShouldBeLogged(RefactoringTest.java:86)
at edu.illinois.codingspectator.ui.tests.RefactoringTest.refactoringShouldBeLogged(RefactoringTest.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.swtbot.eclipse.core.RemotePluginTestRunner.main(RemotePluginTestRunner.java:64)
at org.eclipse.swtbot.eclipse.core.UITestApplication.runTests(UITestApplication.java:117)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Once, 1 day ago
6 times, 1 week ago
Once, 1 week ago
12 times, 2 weeks ago
2 times, 4 weeks ago

Write tip

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