summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Kriese2011-10-19 03:26:05 (EDT)
committerSteffen Kriese2011-10-19 03:26:05 (EDT)
commitb15a8ed4a9bc0b3c0025282cddc8b1967e111676 (patch)
treeb77ffc2e468d04d08be64bea132e2888da1e4c87
parenta1c6f030c682818b304b96022527ba2640d417d8 (diff)
downloadorg.eclipse.riena-b15a8ed4a9bc0b3c0025282cddc8b1967e111676.zip
org.eclipse.riena-b15a8ed4a9bc0b3c0025282cddc8b1967e111676.tar.gz
org.eclipse.riena-b15a8ed4a9bc0b3c0025282cddc8b1967e111676.tar.bz2
uncommented strange display creation in AbstractRidgetTestCase
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/AbstractRidgetTestCase.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/AbstractRidgetTestCase.java b/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/AbstractRidgetTestCase.java
index d347d2d..e9dd9db 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/AbstractRidgetTestCase.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/AbstractRidgetTestCase.java
@@ -77,13 +77,14 @@ public abstract class AbstractRidgetTestCase extends RienaTestCase {
protected void setUp() throws Exception {
super.setUp();
- Display display = Display.getDefault();
- if (null != display) {
- display.close();
- display.dispose();
-
- }
- display = new Display();
+ final Display display = Display.getDefault();
+ // FIXME uncommented to fix test failures on buildserver
+ // if (null != display) {
+ // display.close();
+ // display.dispose();
+ //
+ // }
+ // display = new Display();
final Realm realm = SWTObservables.getRealm(display);
assertNotNull(realm);
ReflectionUtils.invokeHidden(realm, "setDefault", realm);