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
This commit is contained in:
@@ -178,9 +178,11 @@ public class ScAccessiblePreviewTable extends TestCase {
|
|||||||
// but some toolbar button - this will indirectly
|
// but some toolbar button - this will indirectly
|
||||||
// trigger a table event but only from VCL main loop
|
// trigger a table event but only from VCL main loop
|
||||||
utils.waitForEventIdle(Param.getMSF());
|
utils.waitForEventIdle(Param.getMSF());
|
||||||
|
// sadly it turns out that idle is not enough...
|
||||||
|
Thread.sleep(500);
|
||||||
} catch (com.sun.star.lang.IndexOutOfBoundsException ibe) {
|
} catch (com.sun.star.lang.IndexOutOfBoundsException ibe) {
|
||||||
log.println("ScAccessiblePreviewTable: IndexOutOfBoundsException from pressZoom.doAccessibleAction(0)");
|
log.println("ScAccessiblePreviewTable: IndexOutOfBoundsException from pressZoom.doAccessibleAction(0)");
|
||||||
}
|
} catch (InterruptedException ex) {}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user