[Libreoffice-commits] core.git: sd/qa
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 23 22:56:33 UTC 2021
sd/qa/unit/tiledrendering/tiledrendering.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit f36baa475515fd08b53c4a677e8fbd5cf0fec0a1
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Tue Mar 23 14:53:05 2021 +0100
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Tue Mar 23 23:55:47 2021 +0100
Revert "Remove this unreliable check."
This reverts commit cb0dfff9a49530f348223e1df54762a3da61aa51.
Change-Id: I10434f0cab65825532b2adff9a0961067d3dba7b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112996
Tested-by: Tamás Zolnai <tamas.zolnai at collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 107fc9364680..d553dfce610f 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -1061,6 +1061,9 @@ void SdTiledRenderingTest::testCursorViews()
// text edit in the first view.
ViewCallback aView2;
SfxLokHelper::setView(nView1);
+ // This failed: the second view didn't get a lock notification, even if the
+ // first view already started text edit.
+ CPPUNIT_ASSERT(aView2.m_bViewLock);
aView2.m_bTilesInvalidated = false;
pXImpressDocument->postKeyEvent(LOK_KEYEVENT_KEYINPUT, 'x', 0);
pXImpressDocument->postKeyEvent(LOK_KEYEVENT_KEYUP, 'x', 0);
More information about the Libreoffice-commits
mailing list