From 82e2aac2fcdb768a9bbc0e4749933dc1c7028ab9 Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Tue, 27 Feb 2018 21:27:53 +0530 Subject: Fix build, for real this time Add a few missing processEventsToIdle()'s in the tests. Let's disable one of the assertion until I figure out what's going on. Change-Id: I82cbe443b4013d4402151ddae4b06044dfb394bd (cherry picked from commit 25ca8af596342ed254eb793ad1b8d47a86be4d40) --- libreofficekit/qa/unit/tiledrendering.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'libreofficekit') diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx index 885bfda09bc4..16f34e731c7a 100644 --- a/libreofficekit/qa/unit/tiledrendering.cxx +++ b/libreofficekit/qa/unit/tiledrendering.cxx @@ -143,6 +143,7 @@ void TiledRenderingTest::testDocumentTypes( Office* pOffice ) CPPUNIT_ASSERT_EQUAL(LOK_DOCTYPE_TEXT, static_cast(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#"; -- cgit