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:<[]>

Google Groups | Derek Peirce | 7 months ago
  1. 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:<[]>
  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

    Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec <<< FAILURE! testParseNormalVer20StartFileBuffer(org.neociclo.odetteftp.protocol.CommandExchangeBufferTest) Time elapsed: 0.007 sec <<< FAILURE! org.junit.ComparisonFailure: Invalid created buffer text. expected:<... U000000000[ 000000018000000000001700000000000000000030101N00 ]0> but was:<... U000000000[000000000000000000018000000000001700000000000000]0> at org.junit.Assert.assertEquals(Assert.java:123) at org.neociclo.odetteftp.protocol.CommandExchangeBufferTest.testParseNormalVer20StartFileBuffer(CommandExchangeBufferTest.java:212) 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:592) 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.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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:592) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

    JIRA | 7 years ago | Rafael Marins
    org.junit.ComparisonFailure: Invalid created buffer text. expected:<... U000000000[ 000000018000000000001700000000000000000030101N00 ]0> but was:<... U000000000[000000000000000000018000000000001700000000000000]0>

    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

      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:<[]>

      at org.junit.Assert.assertEquals()
    2. JUnit
      Assert.assertEquals
      1. org.junit.Assert.assertEquals(Assert.java:123)
      1 frame
    3. Project Lombok
      DirectoryRunner.run
      1. lombok.AbstractRunTests.compareContent(AbstractRunTests.java:258)
      2. lombok.AbstractRunTests.compare(AbstractRunTests.java:160)
      3. lombok.AbstractRunTests.access$0(AbstractRunTests.java:158)
      4. lombok.AbstractRunTests$1.runTest(AbstractRunTests.java:87)
      5. lombok.DirectoryRunner.run(DirectoryRunner.java:142)
      5 frames