1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00

Increase time limits for AsyncViewerTest

This commit is contained in:
Markus Schorn 2006-09-04 12:55:18 +00:00
parent 39dbbd64b9
commit caaf796b01

View file

@ -187,7 +187,7 @@ public class AsyncViewerTest extends TestCase {
assertEquals("...", dlg.fViewer.getTree().getItem(0).getItem(0).getText());
assertEquals(3, countVisibleItems(dlg.fViewer));
Thread.sleep(400); dispatch();
Thread.sleep(500); dispatch();
assertEquals(2, countVisibleItems(dlg.fViewer));
// reset the viewer
@ -199,7 +199,7 @@ public class AsyncViewerTest extends TestCase {
assertEquals(3, countVisibleItems(dlg.fViewer));
assertEquals("...", dlg.fViewer.getTree().getItem(1).getItem(0).getText());
Thread.sleep(400); dispatch();
Thread.sleep(500); dispatch();
assertEquals(4, countVisibleItems(dlg.fViewer));
// reset the viewer
@ -207,7 +207,7 @@ public class AsyncViewerTest extends TestCase {
dlg.fViewer.setInput(root);
// wait until children are computed (for the sake of the +-sign)
Thread.sleep(600); dispatch();
Thread.sleep(700); dispatch();
dlg.fViewer.setExpandedState(a, true);
assertEquals(2, countVisibleItems(dlg.fViewer));
dlg.fViewer.setExpandedState(b, true);