sw/qa/extras/tiledrendering/tiledrendering.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 1e7ab86a20a6ebe3709958869ede96a443a50a62 Author: Julien Nabet <serval2...@yahoo.fr> Date: Wed Feb 28 07:37:15 2018 +0100 loplugin:cppunitassertequals in tiledrendering (sw/qa) Since https://cgit.freedesktop.org/libreoffice/core/commit/?id=3c3e07b51fb09d09cfef54193f93b07304f4ccda Change-Id: Iec43809719c71f856aa4a89ffbf40473c48b2fe1 Reviewed-on: https://gerrit.libreoffice.org/50488 Reviewed-by: pranavk <pran...@collabora.co.uk> Tested-by: pranavk <pran...@collabora.co.uk> diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx index b3cdea7541f7..c876839fc31a 100644 --- a/sw/qa/extras/tiledrendering/tiledrendering.cxx +++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx @@ -952,10 +952,10 @@ void SwTiledRenderingTest::testShapeViewCursors() Scheduler::ProcessEventsToIdle(); // Make sure that aView1 gets a view-only cursor notification, while // aView2 gets a real cursor notification. - CPPUNIT_ASSERT(aView1.m_aOwnCursor == aLastOwnCursor1); + CPPUNIT_ASSERT_EQUAL(aView1.m_aOwnCursor, aLastOwnCursor1); CPPUNIT_ASSERT(aView1.m_bViewCursorInvalidated && aLastViewCursor1 != aView1.m_aViewCursor); CPPUNIT_ASSERT(aView2.m_bOwnCursorInvalidated && aLastOwnCursor2 != aView2.m_aOwnCursor); - CPPUNIT_ASSERT(aLastViewCursor2 == aView2.m_aViewCursor); + CPPUNIT_ASSERT_EQUAL(aLastViewCursor2, aView2.m_aViewCursor); mxComponent->dispose(); mxComponent.clear(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits