org.junit.ComparisonFailure: expected:<...IN_REFACTORING,-1],[[Input]Page,Previe&w >,-1],...> but was:<...IN_REFACTORING,-1],[[Preview]Page,Previe&w >,-1],...>

GitHub | reprogrammer | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The navigation history attribute captures a wrong page name

    GitHub | 6 years ago | reprogrammer
    org.junit.ComparisonFailure: expected:<...IN_REFACTORING,-1],[[Input]Page,Previe&w >,-1],...> but was:<...IN_REFACTORING,-1],[[Preview]Page,Previe&w >,-1],...>
  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:<...IN_REFACTORING,-1],[[Input]Page,Previe&w >,-1],...> but was:<...IN_REFACTORING,-1],[[Preview]Page,Previe&w >,-1],...>

    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.logsShouldBeCorrect
    1. edu.illinois.codingspectator.ui.tests.DescriptorComparator.assertMatches(DescriptorComparator.java:48)
    2. edu.illinois.codingspectator.ui.tests.RefactoringLogChecker.assertMatch(RefactoringLogChecker.java:41)
    3. edu.illinois.codingspectator.ui.tests.RefactoringTest.doLogsShouldBeCorrect(RefactoringTest.java:135)
    4. edu.illinois.codingspectator.ui.tests.RefactoringTest.logsShouldBeCorrect(RefactoringTest.java:174)
    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.runNotIgnored(BlockJUnit4ClassRunner.java:79)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
    8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    13. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    14. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    14 frames
  6. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    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