diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-02-28 07:37:15 +0100 |
---|---|---|
committer | pranavk <pranavk@collabora.co.uk> | 2018-02-28 07:55:13 +0100 |
commit | 1e7ab86a20a6ebe3709958869ede96a443a50a62 (patch) | |
tree | dd42c561d3bf37cd8615f20e46a3130084c74575 /sw | |
parent | e2cb154195fdc2ffccdb6f5e87cae8b29640b3eb (diff) |
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 <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/tiledrendering/tiledrendering.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |