[Libreoffice-commits] core.git: framework/qa

Michael Stahl mstahl at redhat.com
Thu Apr 28 11:13:56 UTC 2016


 framework/qa/complex/XTitle/CheckXTitle.java |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e2b37bfb8a991e0ed2cfd230f7f34aa36f411430
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Apr 28 13:10:34 2016 +0200

    framework: CheckXTitle still sometimes fails on WNT...
    
    ... when dispatching the .uno:CloseWin.
    
    Change-Id: Iaf0651ea7e05bd8a6629d5af6e62f5918ef241ce

diff --git a/framework/qa/complex/XTitle/CheckXTitle.java b/framework/qa/complex/XTitle/CheckXTitle.java
index adb16da..e798732 100644
--- a/framework/qa/complex/XTitle/CheckXTitle.java
+++ b/framework/qa/complex/XTitle/CheckXTitle.java
@@ -203,6 +203,8 @@ public class CheckXTitle
         prepareQueryAndDispatch( xDisProv, UNO_URL_FOR_CLOSING_PRINT_PREVIEW );
         utils.waitForEventIdle(m_xMSF);
 
+        Thread.sleep(250); // FIXME why is this needed?
+
         // close document
         xDisProv = UnoRuntime.queryInterface( XDispatchProvider.class, xModel.getCurrentController() );
         try{


More information about the Libreoffice-commits mailing list