| Summary: | [ErrorHandling] StatusDialogManagerTest test failures: testBug275867, testSupport2 | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Oleg Besedin <ob1.eclipse> |
| Component: | UI | Assignee: | Krzysztof Daniel <krzysztof.daniel> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, krzysztof.daniel, ob1.eclipse, pwebster, remy.suen |
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux-GTK | ||
| Whiteboard: | |||
| Bug Depends on: | 336682, 336684 | ||
| Bug Blocks: | |||
|
Description
Oleg Besedin
(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. |