summaryrefslogtreecommitdiff
path: root/sd/qa/unit
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2021-03-23 14:53:05 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2021-03-23 23:55:47 +0100
commitf36baa475515fd08b53c4a677e8fbd5cf0fec0a1 (patch)
treee31cb2fe8b9b3d26180150026904768d04dd57d6 /sd/qa/unit
parent5e1b3e924ab3d8da3718c2a3bbd0ef812595684a (diff)
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@collabora.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sd/qa/unit')
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx3
1 files changed, 3 insertions, 0 deletions
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);