Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2014-02-05 13:30:18 +0000
committervlorenzo2014-02-05 13:30:18 +0000
commitee25be1c436bc050b797dc1d376d0783d0ef1b8a (patch)
tree194ade12172a15af99ebfc95db153001ce7e6689
parenta4e6dec57fa72cfa143e35ba60deda3eeb1a7f2f (diff)
downloadorg.eclipse.papyrus-ee25be1c436bc050b797dc1d376d0783d0ef1b8a.tar.gz
org.eclipse.papyrus-ee25be1c436bc050b797dc1d376d0783d0ef1b8a.tar.xz
org.eclipse.papyrus-ee25be1c436bc050b797dc1d376d0783d0ef1b8a.zip
Try to fix OpenTableTest on hudson
-rw-r--r--tests/junit/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/tests/OpenTableTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/junit/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/tests/OpenTableTest.java b/tests/junit/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/tests/OpenTableTest.java
index 3b7cc60e667..8a3f4af1b66 100644
--- a/tests/junit/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/tests/OpenTableTest.java
+++ b/tests/junit/plugins/sysml/nattable/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/tests/OpenTableTest.java
@@ -52,7 +52,7 @@ public class OpenTableTest extends AbstractEditorIntegrationTest {
TransactionalEditingDomain editingDomain = editor.getServicesRegistry().getService(TransactionalEditingDomain.class);
editingDomain.getCommandStack().execute(new GMFtoEMFCommandWrapper(new OpenDiagramCommand(editingDomain, requirementTable)));
//to refresh the table content
- while(Display.getDefault().readAndDispatch());
+// while(!Display.getDefault().isDisposed() && Display.getDefault().readAndDispatch());
tableEditor = editor.getActiveEditor();
Assert.assertTrue(tableEditor instanceof NatTableEditor);
INattableModelManager manager = (INattableModelManager)tableEditor.getAdapter(INattableModelManager.class);

Back to the top