org.junit.ComparisonFailure: expected:<[[1<>5, 5<>2, 1<>2, 5<>1, 2<>1, 1<>1, 5<>9]]> but was:<[[5<>1, 2<>5, 2<>5, 2<>1, 1<>2, 1<>1, 9<>2, 9<>5]]>

htmlunit | illicitonion | 5 years ago
  1. 0

    [PATCH]getElementsByTagNameNS searches under documentElement

    htmlunit | 5 years ago | illicitonion
    org.junit.ComparisonFailure: expected:<[[1<>5, 5<>2, 1<>2, 5<>1, 2<>1, 1<>1, 5<>9]]> but was:<[[5<>1, 2<>5, 2<>5, 2<>1, 1<>2, 1<>1, 9<>2, 9<>5]]>
  2. 0

    JUnit error while comparing two XML's after transformation

    Stack Overflow | 1 year ago | Sonu
    org.junit.ComparisonFailure: Line: 0: Current output does not match with expected output expected result[0]: <?xml version="1.0" encoding="iso-8859-1"?><ROOT> current result[0]: <?xml version="1.0" encoding="iso-8859-1"?> expected:<...oding="iso-8859-1"?>[<ROOT>]> but was:<...oding="iso-8859-1"?>[]>
  3. 0

    Two DocumenterTest failures

    GitHub | 1 year ago | Nava2
    org.junit.ComparisonFailure: Failed at:44 expected:<[<p class="description"><a href="http://try.umple.org?text=here%20is%20an%20example%20to%20consider">Load the above code into UmpleOnline</a></p>]> but was:<[]>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    mvn install -Pit See https://studio.atlassian.com/builds/browse/APL-B35IT-1 AppLinksRedirectsToWebSudoTest : Applinks prompts for password when ajax fails (applinksPromptsForPasswordWhenAjaxFails) History org.junit.ComparisonFailure: After WebSudo we should redirect back to the AppLinks page expected:<http://dom[U-12-31-39-0E-78-F]2:5990/refapp/plugin...> but was:<http://dom[u-12-31-39-0e-78-f]2:5990/refapp/plugin...> at org.junit.Assert.assertEquals(Assert.java:123) at it.com.atlassian.applinks.refapp_refapp.AppLinksRedirectsToWebSudoTest.applinksPromptsForPasswordWhenAjaxFails(AppLinksRedirectsToWebSudoTest.java:65) 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) (24 more lines...) AppLinksRedirectsToWebSudoTest : Applinks redirects to login initially when not authenticated (applinksRedirectsToLoginInitiallyWhenNotAuthenticated) History org.junit.ComparisonFailure: After login we should redirect back to the AppLinks page expected:<http://dom[U-12-31-39-0E-78-F]2:5990/refapp/plugin...> but was:<http://dom[u-12-31-39-0e-78-f]2:5990/refapp/plugin...> at org.junit.Assert.assertEquals(Assert.java:123) at it.com.atlassian.applinks.refapp_refapp.AppLinksRedirectsToWebSudoTest.applinksRedirectsToLoginInitiallyWhenNotAuthenticated(AppLinksRedirectsToWebSudoTest.java:89) 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) (24 more lines...)

    Ecosystem JIRA | 6 years ago | Adrien Ragot
    org.junit.ComparisonFailure: After WebSudo we should redirect back to the AppLinks page expected:<http://dom[U-12-31-39-0E-78-F]2:5990/refapp/plugin...> but was:<http://dom[u-12-31-39-0e-78-f]2:5990/refapp/plugin...>
  6. 0

    Running Lombok Tests

    Google Groups | 7 months ago | Derek Peirce
    org.junit.ComparisonFailure: Difference in ToStringConfiguration.java on line 8 expected:<[ public @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.lang.String toString() ]> but was:<[]>

    7 unregistered visitors
    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:<[[1<>5, 5<>2, 1<>2, 5<>1, 2<>1, 1<>1, 5<>9]]> but was:<[[5<>1, 2<>5, 2<>5, 2<>1, 1<>2, 1<>1, 9<>2, 9<>5]]>

      at org.junit.Assert.assertEquals()
    2. JUnit
      Assert.assertEquals
      1. org.junit.Assert.assertEquals(Assert.java:123)
      1 frame
    3. HtmlUnit
      NativeArrayTest.sort
      1. com.gargoylesoftware.htmlunit.WebTestCase.assertEquals(WebTestCase.java:360)
      2. com.gargoylesoftware.htmlunit.WebTestCase.assertEquals(WebTestCase.java:347)
      3. com.gargoylesoftware.htmlunit.WebDriverTestCase.verifyAlerts(WebDriverTestCase.java:527)
      4. com.gargoylesoftware.htmlunit.WebDriverTestCase.loadPageWithAlerts2(WebDriverTestCase.java:513)
      5. com.gargoylesoftware.htmlunit.WebDriverTestCase.loadPageWithAlerts2(WebDriverTestCase.java:473)
      6. com.gargoylesoftware.htmlunit.javascript.NativeArrayTest.sort(NativeArrayTest.java:58)
      6 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    5. JUnit
      RunAfters.evaluate
      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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      6 frames
    6. HtmlUnit
      BrowserStatement.evaluate
      1. com.gargoylesoftware.htmlunit.BrowserStatement.evaluateSolo(BrowserStatement.java:69)
      2. com.gargoylesoftware.htmlunit.BrowserStatement.evaluate(BrowserStatement.java:50)
      2 frames
    7. JUnit
      ParentRunner.run
      1. org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      9. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      10. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      11. org.junit.runners.Suite.runChild(Suite.java:128)
      12. org.junit.runners.Suite.runChild(Suite.java:24)
      13. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      14. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      15. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      16. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      17. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      18. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      19. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      19 frames
    8. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    9. JUnit3 Runner
      RemoteTestRunner.main
      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)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames