summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-19 12:12:55 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-19 12:16:57 +0100
commitc94cf0cf5f10edb45a74a58c95c306b0d271645b (patch)
treefc94709df95021028b6a1deee69066280d9f55bd /qadevOOo
parentfdd958b8a3f3bda0b39959cb4ac3184ae232e279 (diff)
qadevOOo: sadly XToolkit::processEventsToIdle doesn't fix...
... the ScAccessiblePreviewTable test, somehow the event still doesn't fire in time, let's add an arbitrary sleep too. Change-Id: I97ab658e61b33455e8623ba0fd861e2018aa3af6
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java
index 7844b3ceae94..fece4f3d1786 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePreviewTable.java
@@ -178,9 +178,11 @@ public class ScAccessiblePreviewTable extends TestCase {
// but some toolbar button - this will indirectly
// trigger a table event but only from VCL main loop
utils.waitForEventIdle(Param.getMSF());
+ // sadly it turns out that idle is not enough...
+ Thread.sleep(500);
} catch (com.sun.star.lang.IndexOutOfBoundsException ibe) {
log.println("ScAccessiblePreviewTable: IndexOutOfBoundsException from pressZoom.doAccessibleAction(0)");
- }
+ } catch (InterruptedException ex) {}
}
});