sc/qa/unit/uicalc/uicalc.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit ac7bba3cc1e13824732f5ab69af602848e4ba227
Author: Caolán McNamara <[email protected]>
AuthorDate: Fri Jul 9 11:27:48 2021 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Fri Jul 9 13:48:02 2021 +0200
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 <[email protected]>
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);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits