Community
Participate
Working Groups
The nightly build has two JUnit failures, on Linux only: http://download.eclipse.org/eclipse/downloads/drops/N20110131-2000/testresults/html/org.eclipse.ui.tests_linux.gtk.x86_6.0.html testSupport2: expected:<org.eclipse.ui.statushandlers.StatusAdapter@daa38f> but was:<null> junit.framework.AssertionFailedError: expected:<org.eclipse.ui.statushandlers.StatusAdapter@daa38f> but was:<null> at org.eclipse.ui.tests.statushandlers.StatusDialogManagerTest.testSupport2(StatusDialogManagerTest.java:434) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416) and testBug274867: unit.framework.AssertionFailedError: null at org.eclipse.ui.tests.statushandlers.StatusDialogManagerTest.testBug274867(StatusDialogManagerTest.java:704) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416) (Note: the "testBug274867" actually refers to the bug 275867 ; I've updated the method name in CVS Head.) It seems that the test failures were caused by the message dialog not showing up for those two tests. Tests pass fine for me on WinXP machine.
(In reply to comment #0) > Tests pass fine for me on WinXP machine. Same. I had to run the entire suite before delivering some bug fixes and it was all green.
Tests failed again in N20110207-2000 with the same stack traces for testBug275867, testSupport2 and the new failure testSelfClosure again related to the status handler: junit.framework.AssertionFailedError: null at org.eclipse.ui.tests.statushandlers.SupportTrayTest.testSelfClosure(SupportTrayTest.java:142) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416)
I'll check this this week.
Exception in testSelfClosure is caused by TrayDialog (comments mine): //focusControl may be null! Control focusControl = shell.getDisplay().getFocusControl(); if (isContained(shell, focusControl)) { private boolean isContained(Control container, Control control) { Composite parent; // control.getParent() throws NPE while ((parent = control.getParent()) != null) {
The error happens when the test machine is busy - the dialog is not visible when the checking happens. There is more tests that can fail, although there is no effect on the end user.
The M7 is done.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.