diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-09-04 12:21:36 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-09-18 10:10:18 +0200 |
commit | 26c15dac8d5d905f946ec1362468b9897486e4c1 (patch) | |
tree | 2dd6cb2f3d10fc0b53a66caf6e1de3485ae7e22f /vcl/qa | |
parent | 98cfaa7f73d2b9609c089f17038dd8e756f11c18 (diff) |
WaE: loplugin:unreffun
Change-Id: I10553cd6e55d0c7883fcadf5cabe1fe3a25cfe55
Diffstat (limited to 'vcl/qa')
-rw-r--r-- | vcl/qa/cppunit/app/test_IconThemeInfo.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/vcl/qa/cppunit/app/test_IconThemeInfo.cxx b/vcl/qa/cppunit/app/test_IconThemeInfo.cxx index 416f8e22abc2..2a199d27793a 100644 --- a/vcl/qa/cppunit/app/test_IconThemeInfo.cxx +++ b/vcl/qa/cppunit/app/test_IconThemeInfo.cxx @@ -36,12 +36,6 @@ class IconThemeInfoTest : public CppUnit::TestFixture ThemeIdIsDetectedFromFileNameWithUnderscore(); void - DisplayNameForHicontrastIsHighContrast(); - - void - DisplayNameForTango_testingIsTangoTesting(); - - void ExceptionIsThrownWhenIdCannotBeDetermined1(); void @@ -120,24 +114,6 @@ IconThemeInfoTest::ExceptionIsThrownWhenIdCannotBeDetermined2() CPPUNIT_ASSERT_EQUAL_MESSAGE("Exception was thrown", true, thrown); } -void -IconThemeInfoTest::DisplayNameForHicontrastIsHighContrast() -{ - OUString id("hicontrast"); - OUString expected("High Contrast"); - OUString displayName = vcl::IconThemeInfo::ThemeIdToDisplayName(id); - CPPUNIT_ASSERT_EQUAL(expected, displayName); -} - -void -IconThemeInfoTest::DisplayNameForTango_testingIsTangoTesting() -{ - OUString id("tango_testing"); - OUString expected("Tango Testing"); - OUString displayName = vcl::IconThemeInfo::ThemeIdToDisplayName(id); - CPPUNIT_ASSERT_EQUAL(expected, displayName); -} - // Put the test suite in the registry CPPUNIT_TEST_SUITE_REGISTRATION(IconThemeInfoTest); |