junit.framework.ComparisonFailure: expected:<testRunStarted(1) testStarted(2,testFail(pack.ATestCase)) testFailed(2,2,testFail(pack.ATestCase)) testEnded(2,testFail(pack.ATestCase)) testRunEnded() > but was:<>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via apache.org by Unknown author, 1 year ago
expected:<testRunStarted(1) testStarted(2,testFail(pack.ATestCase)) testFailed(2,2,testFail(pack.ATestCase)) testEnded(2,testFail(pack.ATestCase)) testRunEnded() > but was:<>
via harmony-alerts by nomail@intel.com, 1 year ago
expected:<testRunStarted(1) testStarted(2,testFail(pack.ATestCase)) testFailed(2,2,testFail(pack.ATestCase)) testEnded(2,testFail(pack.ATestCase)) testRunEnded() > but was:<>
junit.framework.ComparisonFailure: expected:<testRunStarted(1) testStarted(2,testFail(pack.ATestCase)) testFailed(2,2,testFail(pack.ATestCase)) testEnded(2,testFail(pack.ATestCase)) testRunEnded() > but was:<>
at org.eclipse.jdt.junit.tests.TestRunListenerTest.runTest(TestRunListenerTest.java:152)
at org.eclipse.jdt.junit.tests.TestRunListenerTest.testFail(TestRunListenerTest.java:200)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:204)
at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:188)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3141)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:131)
at org.eclipse.test.UITestApplication.run(UITestApplication.java:58)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.