Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342003 - [Markers] Failure in marker session tests
Summary: [Markers] Failure in marker session tests
Status: CLOSED DUPLICATE of bug 275910
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.7 M7   Edit
Assignee: Dani Megert CLA
QA Contact:
URL: http://download.eclipse.org/eclipse/d...
Whiteboard:
Keywords:
Depends on: 275910
Blocks:
  Show dependency tree
 
Reported: 2011-04-06 07:41 EDT by Paul Webster CLA
Modified: 2011-04-06 11:16 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2011-04-06 07:41:37 EDT
This failed in last night's nightly build.

junit.framework.AssertionFailedError: Column sizes not restored
	at org.eclipse.ui.tests.markers.MarkersViewColumnSizeTest.testColumnRestore(MarkersViewColumnSizeTest.java:73)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62)
	at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:56)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3543)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3192)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.runApp(NonUIThreadTestApplication.java:43)
	at org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(UITestApplication.java:44)
	at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:37)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
	at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Prakash Rangaraj CLA 2011-04-06 07:47:57 EDT
Probably related to the fix for Bug# 341447?
Comment 2 Dani Megert CLA 2011-04-06 08:00:34 EDT
Could be. Let me investigate.
Comment 3 Dani Megert CLA 2011-04-06 10:11:31 EDT
Ugly! The paint event on Linux is not coming when there are 0 items (bug 275910).

I'll see whether there's a temporary workaround.
Comment 4 Dani Megert CLA 2011-04-06 10:49:43 EDT
I've added workaround for GTK that tests for client area width being 0. Similar workaround is already in TableLayout. Will watch the outcome of bug 275910 and pull out the workaround if applicable.
Comment 5 Oleg Besedin CLA 2011-04-06 11:15:03 EDT
Could you attach a patch?
Comment 6 Dani Megert CLA 2011-04-06 11:16:28 EDT
I've just reverted the code since SWT accepted and fixed bug 275910.

*** This bug has been marked as a duplicate of bug 275910 ***