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...>

GitHub | reprogrammer | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Some of the UI tests fail when run with other tests

    GitHub | 6 years ago | reprogrammer
    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...>
  2. 0

    Test failure in Windows 7: ConfigTest.testGetDir()

    GitHub | 6 years ago | martincastell
    org.junit.ComparisonFailure: expected:<target[/]indexes> but was:<target[\]indexes>
  3. 0

    CustomerRegisterValidateTest#testCustomerRegisterRequiredValidate is failed when locale is English(en).

    GitHub | 3 years ago | kazuki43zoo
    org.junit.ComparisonFailure: expected:<Job [ ]is required.> but was:<Job []is required.>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    2 tests failing on Mac build, not in Travis (Linux)

    GitHub | 3 years ago | nimeacuerdo
    org.junit.ComparisonFailure: expected:<...atrixColorFilter<1,0[,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,]0>> but was:<...atrixColorFilter<1,0[0,0,00,0,00,0,00,0,00,0,00,1,00,0,00,0,00, 0,00,0,00,0,00,1,00,0,00,0,00,0,00,0,00,0,00,1,00,0,0]0>>
  6. 0

    FNFileTest fails (on Mac OS X)

    GitHub | 6 years ago | hhverweij
    org.junit.ComparisonFailure: expected:&lt;/[private/]var/folders/9l/9loui...&gt; but was:&lt;/[]var/folders/9l/9loui...&gt;
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. 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()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.assertEquals(Assert.java:123)
    2. org.junit.Assert.assertEquals(Assert.java:145)
    2 frames
  3. edu.illinois.codingspectator
    RefactoringTest.refactoringShouldBeLogged
    1. edu.illinois.codingspectator.ui.tests.DescriptorComparator.assertMatches(DescriptorComparator.java:26)
    2. edu.illinois.codingspectator.ui.tests.RefactoringLogChecker.assertMatch(RefactoringLogChecker.java:35)
    3. edu.illinois.codingspectator.ui.tests.RefactoringTest.doRefactoringShouldBeLogged(RefactoringTest.java:86)
    4. edu.illinois.codingspectator.ui.tests.RefactoringTest.refactoringShouldBeLogged(RefactoringTest.java:125)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    5. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    7. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    8. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    9. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    10. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    11. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    12. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    13. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    14. org.junit.runners.Suite.runChild(Suite.java:128)
    15. org.junit.runners.Suite.runChild(Suite.java:24)
    16. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    17. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    18. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    19. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    20. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    21. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    21 frames
  6. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
    1 frame
  7. JUnit3 Runner
    RemoteTestRunner.run
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    4 frames
  8. org.eclipse.swtbot
    UITestApplication.runTests
    1. org.eclipse.swtbot.eclipse.core.RemotePluginTestRunner.main(RemotePluginTestRunner.java:64)
    2. org.eclipse.swtbot.eclipse.core.UITestApplication.runTests(UITestApplication.java:117)
    2 frames
  9. Workbench
    WorkbenchTestable$1.run
    1. org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:71)
    1 frame
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame