junit.framework.ComparisonFailure: Content not as expected: is package test; public class E<T> { private final String s; private T t; private T t2; void setT(T t) { this.t = t; } } Differs at pos 92: ivate ^T t2; expected: package test; public class E<T> { private final String s; private T t; private final T t2; void setT(T t) { this.t = t; } } expected:<...final ...> but was:<......>

harmony-alerts | nomail@intel.com | 9 years ago
  1. 0

    [build-test alert] BUILD FAILED Linux x86: eut

    apache.org | 11 months ago
    junit.framework.ComparisonFailure: Content not as expected: is package test; public class E<T> { private final String s; private T t; private T t2; void setT(T t) { this.t = t; } } Differs at pos 92: ivate ^T t2; expected: package test; public class E<T> { private final String s; private T t; private final T t2; void setT(T t) { this.t = t; } } expected:<...final ...> but was:<......>
  2. 0

    [build-test alert] BUILD FAILED Linux x86: eut

    harmony-alerts | 9 years ago | nomail@intel.com
    junit.framework.ComparisonFailure: Content not as expected: is package test; public class E<T> { private final String s; private T t; private T t2; void setT(T t) { this.t = t; } } Differs at pos 92: ivate ^T t2; expected: package test; public class E<T> { private final String s; private T t; private final T t2; void setT(T t) { this.t = t; } } expected:<...final ...> but was:<......>
  3. 0

    Android Test Project JUnit Failure Trace Not Showing Expected + Actual

    Stack Overflow | 4 years ago | chinabuffet
    junit.framework.ComparisonFailure: expected:<...t> but was:<...>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [build-test alert] BUILD FAILED Linux x86: eut

    harmony-alerts | 9 years ago | nomail@intel.com
    junit.framework.ComparisonFailure: Content not as expected: is package test1; public class E { private boolean foo() { return (boolean) Boolean.TRUE; } } Differs at pos 75: eturn ^(boole expected: package test1; public class E { private boolean foo() { return Boolean.TRUE; } } expected:<......> but was:<...(boolean) ...>
  6. 0

    [build-test alert] BUILD FAILED Linux x86: eut

    apache.org | 11 months ago
    junit.framework.ComparisonFailure: Content not as expected: is package test1; public class E { private boolean foo() { return (boolean) Boolean.TRUE; } } Differs at pos 75: eturn ^(boole expected: package test1; public class E { private boolean foo() { return Boolean.TRUE; } } expected:<......> but was:<...(boolean) ...>

    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. junit.framework.ComparisonFailure

      Content not as expected: is package test; public class E<T> { private final String s; private T t; private T t2; void setT(T t) { this.t = t; } } Differs at pos 92: ivate ^T t2; expected: package test; public class E<T> { private final String s; private T t; private final T t2; void setT(T t) { this.t = t; } } expected:<...final ...> but was:<......>

      at org.eclipse.jdt.testplugin.StringAsserts.assertEqualString()
    2. org.eclipse.jdt
      CleanUpTest.testAddFinalBug134676_2
      1. org.eclipse.jdt.testplugin.StringAsserts.assertEqualString(StringAsserts.java:72)
      2. org.eclipse.jdt.testplugin.StringAsserts.assertEqualStringsIgnoreOrder(StringAsserts.java:124)
      3. org.eclipse.jdt.ui.tests.quickfix.QuickFixTest.assertEqualStringsIgnoreOrder(QuickFixTest.java:132)
      4. org.eclipse.jdt.ui.tests.quickfix.CleanUpTest.assertRefactoringResultAsExpected(CleanUpTest.java:203)
      5. org.eclipse.jdt.ui.tests.quickfix.CleanUpTest.testAddFinalBug134676_2(CleanUpTest.java:5252)
      5 frames
    3. Java RT
      VMReflection.invokeMethod
      1. java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
      1 frame
    4. JUnit
      TestSetup.run
      1. junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      2. junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      3. junit.extensions.TestSetup.run(TestSetup.java:23)
      4. junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      5. junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      6. junit.extensions.TestSetup.run(TestSetup.java:23)
      7. junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      8. junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      9. junit.extensions.TestSetup.run(TestSetup.java:23)
      9 frames
    5. org.eclipse.test
      UITestApplication$3.run
      1. org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330)
      2. org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:204)
      3. org.eclipse.test.UITestApplication$3.run(UITestApplication.java:188)
      3 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3141)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2843)
      4 frames
    7. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
      3. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
      3 frames
    8. Eclipse UI
      IDEApplication.run
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      2. org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
      2 frames
    9. org.eclipse.test
      UITestApplication.run
      1. org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:131)
      2. org.eclipse.test.UITestApplication.run(UITestApplication.java:58)
      2 frames
    10. Eclipse Core
      PlatformActivator$1.run
      1. org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      1 frame
    11. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      4 frames
    12. Java RT
      VMReflection.invokeMethod
      1. java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
      1 frame
    13. Equinox
      Main.main
      1. org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
      2. org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      3. org.eclipse.core.launcher.Main.run(Main.java:977)
      4. org.eclipse.core.launcher.Main.main(Main.java:952)
      4 frames
    14. Java RT
      VMReflection.invokeMethod
      1. java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
      1 frame
    15. org.apache.harmony
      JarRunner.main
      1. org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
      1 frame