configmgr: fix loplugin:cppunitassertequals warnings

Change-Id: I19e197db4158939875fab0d9e51d903aa1671b37
Reviewed-on: https://gerrit.libreoffice.org/27893
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
Miklos Vajna
2016-08-05 09:17:10 +02:00
parent 7fa183cb1a
commit 99cb0d3e68

View File

@@ -156,7 +156,7 @@ void RecursiveTest::test()
css::uno::UNO_QUERY_THROW);
properties_->addPropertyChangeListener("Label", this);
step();
CPPUNIT_ASSERT(count_ == 0);
CPPUNIT_ASSERT_EQUAL(0, count_);
css::uno::Reference< css::lang::XComponent >(
properties_, css::uno::UNO_QUERY_THROW)->dispose();
}
@@ -233,7 +233,7 @@ void Test::testKeySet()
"/org.openoffice.System/L10N",
"Locale") >>=
s);
CPPUNIT_ASSERT( s == "com.sun.star.configuration.backend.LocaleBackend UILocale" );
CPPUNIT_ASSERT_EQUAL( OUString("com.sun.star.configuration.backend.LocaleBackend UILocale"), s );
}
void Test::testKeyReset()
@@ -248,7 +248,7 @@ void Test::testKeyReset()
"/org.openoffice.System/L10N",
"Locale") >>=
s);
CPPUNIT_ASSERT( s == "com.sun.star.configuration.backend.LocaleBackend Locale" );
CPPUNIT_ASSERT_EQUAL( OUString("com.sun.star.configuration.backend.LocaleBackend Locale"), s );
}
}
@@ -261,7 +261,7 @@ void Test::testSetSetMemberName()
".uno:FontworkShapeType",
"Label") >>=
s);
CPPUNIT_ASSERT( s == "Fontwork Shape" );
CPPUNIT_ASSERT_EQUAL( OUString("Fontwork Shape"), s );
css::uno::Reference< css::container::XNameAccess > access(
createUpdateAccess(
@@ -283,7 +283,7 @@ void Test::testSetSetMemberName()
".uno:FontworkShapeType",
"Label") >>=
s);
CPPUNIT_ASSERT( s == "Fontwork Style" );
CPPUNIT_ASSERT_EQUAL( OUString("Fontwork Style"), s );
}
void Test::testInsertSetMember() {