diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-02-21 14:07:38 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-03-12 18:15:53 +0100 |
commit | 47b8e030f07d013a9fcb459522f3b22016c9b287 (patch) | |
tree | d69ef0fd2c50c9fd53cc946ad628b6c1a408f629 /chart2 | |
parent | ce589388b4c18b67253a973e5952cd3962ac4223 (diff) |
qa: call ProcessEventsToIdle inside dispatchCommand
Change-Id: I909e6f334f4a659282141a97ccb3ffdea6ecc364
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147397
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148643
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/qa/extras/uichart.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chart2/qa/extras/uichart.cxx b/chart2/qa/extras/uichart.cxx index ec250f80bb27..4b5db209a742 100644 --- a/chart2/qa/extras/uichart.cxx +++ b/chart2/qa/extras/uichart.cxx @@ -47,16 +47,13 @@ void Chart2UiChartTest::testCopyPasteToNewSheet(uno::Reference<chart::XChartDocu comphelper::makePropertyValue("ToObject", aObjectName), }; dispatchCommand(mxComponent, ".uno:GoToObject", aPropertyValues); - Scheduler::ProcessEventsToIdle(); dispatchCommand(mxComponent, ".uno:Copy", {}); - Scheduler::ProcessEventsToIdle(); // create a new document load("private:factory/scalc"); dispatchCommand(mxComponent, ".uno:Paste", {}); - Scheduler::ProcessEventsToIdle(); uno::Reference<chart2::XChartDocument> xChartDoc2 = getChartDocFromSheet(0, mxComponent); CPPUNIT_ASSERT(xChartDoc2.is()); @@ -140,16 +137,13 @@ CPPUNIT_TEST_FIXTURE(Chart2UiChartTest, testTdf151091) comphelper::makePropertyValue("ToObject", OUString("Object 1")), }; dispatchCommand(mxComponent, ".uno:GoToObject", aPropertyValues); - Scheduler::ProcessEventsToIdle(); dispatchCommand(mxComponent, ".uno:Copy", {}); - Scheduler::ProcessEventsToIdle(); // create a new writer document load("private:factory/swriter"); dispatchCommand(mxComponent, ".uno:Paste", {}); - Scheduler::ProcessEventsToIdle(); aSeriesList = getWriterChartColumnDescriptions(mxComponent); |