diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-02-22 21:28:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-02-23 07:04:09 +0000 |
commit | dc96de7c62e1e6f37ec485f3f0f564a00f3d01f4 (patch) | |
tree | 2f22076b18079daa2f79021463818de6facd71e4 /svl | |
parent | 6d404f9ccad3ac6a7ffb83876ae7a656bc2d4547 (diff) |
Extend loplugin:cppunitassertequals to more argument types
Change-Id: Ic2990ebc2e4a9a36dcd3f90c5f634ca7dd225d52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147491
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/qa/unit/svl.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index 29bbde9b999d..a64abd5fa89f 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1859,16 +1859,16 @@ void Test::testStandardColorIntegrity() CPPUNIT_ASSERT_EQUAL( size_t(NF_KEY_LASTCOLOR) - size_t(NF_KEY_FIRSTCOLOR) + 1, nMaxDefaultColors ); CPPUNIT_ASSERT_EQUAL( nMaxDefaultColors, rStandardColors.size() ); // Colors must follow same order as in sEnglishKeyword - CPPUNIT_ASSERT_EQUAL( rStandardColors[0], COL_BLACK ); - CPPUNIT_ASSERT_EQUAL( rStandardColors[1], COL_LIGHTBLUE ); - CPPUNIT_ASSERT_EQUAL( rStandardColors[2], COL_LIGHTGREEN ); - CPPUNIT_ASSERT_EQUAL( rStandardColors[3], COL_LIGHTCYAN ); - CPPUNIT_ASSERT_EQUAL( rStandardColors[4], COL_LIGHTRED ); - CPPUNIT_ASSERT_EQUAL( rStandardColors[5], COL_LIGHTMAGENTA ); - CPPUNIT_ASSERT_EQUAL( rStandardColors[6], COL_BROWN ); - CPPUNIT_ASSERT_EQUAL( rStandardColors[7], COL_GRAY ); - CPPUNIT_ASSERT_EQUAL( rStandardColors[8], COL_YELLOW ); - CPPUNIT_ASSERT_EQUAL( rStandardColors[9], COL_WHITE ); + CPPUNIT_ASSERT_EQUAL( COL_BLACK, rStandardColors[0] ); + CPPUNIT_ASSERT_EQUAL( COL_LIGHTBLUE, rStandardColors[1] ); + CPPUNIT_ASSERT_EQUAL( COL_LIGHTGREEN, rStandardColors[2] ); + CPPUNIT_ASSERT_EQUAL( COL_LIGHTCYAN, rStandardColors[3] ); + CPPUNIT_ASSERT_EQUAL( COL_LIGHTRED, rStandardColors[4] ); + CPPUNIT_ASSERT_EQUAL( COL_LIGHTMAGENTA, rStandardColors[5] ); + CPPUNIT_ASSERT_EQUAL( COL_BROWN, rStandardColors[6] ); + CPPUNIT_ASSERT_EQUAL( COL_GRAY, rStandardColors[7] ); + CPPUNIT_ASSERT_EQUAL( COL_YELLOW, rStandardColors[8] ); + CPPUNIT_ASSERT_EQUAL( COL_WHITE, rStandardColors[9] ); } void Test::testColorNamesConversion() |