| Summary: | SWTBot tests fon't seem to work in a multiple display (w/ Jenkins XVNC plugin) | ||
|---|---|---|---|
| Product: | [Technology] SWTBot | Reporter: | Mickael Istria <mistria> |
| Component: | SWTBot | Assignee: | Project Inbox <swtbot-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Mickael Istria
It looks like Display.getDefault causes troubles in multi-display X environment. I think that the lifecycle of Display in test is a bit tricky, and I've made some improvements to ensure Display is created only once for a test, and that all other places consumes directly this display by reference, or by resolving it via Display.getCurrent() - which only runs in methods annotated by @UIThread. I think the buggy behavior I reported is more the consequence of not having a window manager rather than an issue in code. I make some more tests, but this will probably be an INVALID. Confirmed as INVALID. The issue was that I did not have a window manager running on the DISPLAY hosting SWTBot. |