summaryrefslogtreecommitdiff
path: root/basegfx/test/genericclipper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 14:20:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 14:20:46 +0200
commit6414f7e5333b68840537be1576ec7068f01061ba (patch)
treefbc2bf0949467e18147ed9d34232bd3ce897e8c4 /basegfx/test/genericclipper.cxx
parentcc18a06a5abca3f336d2263fc8248368c08635e4 (diff)
loplugin:cppunitassertequals: basegfx
Change-Id: I942634a688d7728bb21c3ce9bd530e07467cb7c5
Diffstat (limited to 'basegfx/test/genericclipper.cxx')
-rw-r--r--basegfx/test/genericclipper.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/basegfx/test/genericclipper.cxx b/basegfx/test/genericclipper.cxx
index b16b19ac3c4b..a345b0eb3f0c 100644
--- a/basegfx/test/genericclipper.cxx
+++ b/basegfx/test/genericclipper.cxx
@@ -97,8 +97,8 @@ public:
OUString aValid=OUString::createFromAscii(pValidSvgD);
- CPPUNIT_ASSERT_MESSAGE(pName,
- basegfx::tools::exportToSvgD(aRes, true, true, false) == aValid);
+ CPPUNIT_ASSERT_EQUAL_MESSAGE(pName,
+ aValid, basegfx::tools::exportToSvgD(aRes, true, true, false));
}
void validateOr()
@@ -136,10 +136,11 @@ public:
tools::importFromSvgD(aInputPoly, aInput, false, nullptr);
tools::importFromSvgD(aValidPoly, aValid, false, nullptr);
- CPPUNIT_ASSERT_MESSAGE(
+ CPPUNIT_ASSERT_EQUAL_MESSAGE(
pName,
+ aValid,
basegfx::tools::exportToSvgD(
- tools::solveCrossovers(aInputPoly), true, true, false) == aValid);
+ tools::solveCrossovers(aInputPoly), true, true, false));
}
void checkCrossoverSolver()