summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2018-02-27 20:47:55 +0530
committerJan Holesovsky <kendy@collabora.com>2018-03-01 16:19:50 +0100
commit4906218661273ae5a5502e1c460864f2b1305114 (patch)
treeddaf844ab669dbb95bb5aebb79683d5dd1380289 /libreofficekit
parent2d38885e41db37dc49fe7456ac0550a30548a6c4 (diff)
Fix tests - combination of the following commits:
Fix build cherry-picked from 83a8527a00932d9eaf1fd07654d240bd20dc4c21 Fix build, for real this time cherry-picked from 25ca8af596342ed254eb793ad1b8d47a86be4d40 Note that one of the test is disabled; need to figure out what's going on there. Change-Id: I63f287fdc048d5636435047424e8c42842e75c2c Reviewed-on: https://gerrit.libreoffice.org/50491 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/qa/unit/tiledrendering.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx
index 565eea040a93..6f3e8cbd39dd 100644
--- a/libreofficekit/qa/unit/tiledrendering.cxx
+++ b/libreofficekit/qa/unit/tiledrendering.cxx
@@ -141,6 +141,7 @@ void TiledRenderingTest::testDocumentTypes( Office* pOffice )
CPPUNIT_ASSERT_EQUAL(LOK_DOCTYPE_TEXT, static_cast<LibreOfficeKitDocumentType>(pDocument->getDocumentType()));
// This crashed.
pDocument->postUnoCommand(".uno:Bold");
+ Scheduler::ProcessEventsToIdle();
const string sPresentationDocPath = m_sSrcRoot + "/libreofficekit/qa/data/blank_presentation.odp";
const string sPresentationLockFile = m_sSrcRoot +"/libreofficekit/qa/data/.~lock.blank_presentation.odp#";