junit.framework.ComparisonFailure: expected:<testRunStarted(3) testStarted(2,testAdd(pack.ATestCase)) testFailed(2,2,testAdd(pack.ATestCase)) testEnded(2,testAdd(pack.ATestCase)) testStarted(3,testDivideByZero(pack.ATestCase)) testFailed(1,3,testDivideByZero(pack.ATestCase)) testEnded(3,testDivideByZero(pack.ATestCase)) testStarted(4,testEquals(pack.ATestCase)) testFailed(2,4,testEquals(pack.ATestCase)) testEnded(4,testEquals(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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via apache.org by Unknown author, 1 year ago
)) testEnded(3,testDivideByZero(pack.ATestCase)) testStarted(4,testEquals(pack.ATestCase)) testFailed(2,4,testEquals(pack.ATestCase)) testEnded(4,testEquals(pack.ATestCase)) testRunEnded() > but was:<>
via harmony-alerts by nomail@intel.com, 1 year ago
)) testEnded(3,testDivideByZero(pack.ATestCase)) testStarted(4,testEquals(pack.ATestCase)) testFailed(2,4,testEquals(pack.ATestCase)) testEnded(4,testEquals(pack.ATestCase)) testRunEnded() > but was:<>
junit.framework.ComparisonFailure: expected:<testRunStarted(3) testStarted(2,testAdd(pack.ATestCase)) testFailed(2,2,testAdd(pack.ATestCase)) testEnded(2,testAdd(pack.ATestCase)) testStarted(3,testDivideByZero(pack.ATestCase)) testFailed(1,3,testDivideByZero(pack.ATestCase)) testEnded(3,testDivideByZero(pack.ATestCase)) testStarted(4,testEquals(pack.ATestCase)) testFailed(2,4,testEquals(pack.ATestCase)) testEnded(4,testEquals(pack.ATestCase)) testRunEnded() > but was:<>
at org.eclipse.jdt.junit.tests.TestRunListenerTest.runTest(TestRunListenerTest.java:152)
at org.eclipse.jdt.junit.tests.TestRunListenerTest.testSimpleTest(TestRunListenerTest.java:257)
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.

Write tip

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