summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-07-09 11:27:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-07-09 13:48:02 +0200
commitac7bba3cc1e13824732f5ab69af602848e4ba227 (patch)
treebd39f2e4e2617111760440a904dc3215cf458d73
parent57dfefa71070d2168df7115856f468dfc0ccaccc (diff)
add Scheduler::ProcessEventsToIdle() to test
to see if it has an effect on intermittent error of: sc/qa/unit/uicalc/uicalc.cxx(1325) : error : Assertion Test name: testTdf130614::TestBody equality assertion failed - Expected: 1 - Actual : 0 Change-Id: Icbefe0889fd4f178fd3c7d12e8c3f5c1a46c6835 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118664 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/qa/unit/uicalc/uicalc.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/qa/unit/uicalc/uicalc.cxx b/sc/qa/unit/uicalc/uicalc.cxx
index 3b3bdadbd4e2..61707d5cb02a 100644
--- a/sc/qa/unit/uicalc/uicalc.cxx
+++ b/sc/qa/unit/uicalc/uicalc.cxx
@@ -1319,6 +1319,7 @@ CPPUNIT_TEST_FIXTURE(ScUiCalcTest, testTdf130614)
// Without the fix in place, this test would have crashed here
dispatchCommand(mxComponent, ".uno:Paste", {});
+ Scheduler::ProcessEventsToIdle();
ScDrawLayer* pDrawLayer = pDoc->GetDrawLayer();
SdrPage* pPage = pDrawLayer->GetPage(0);