diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-08-22 13:40:01 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-08-22 14:09:16 +0200 |
commit | cf2c056bf0fbc6d52eaa670022016562d6f15bc3 (patch) | |
tree | e13c667146a45ca45c50f644076ef720e4f9c9bf /vcl/qa | |
parent | 0bcefcabdd86b11810b64d1166cfb2386717367b (diff) |
remove special casing for default theme in vcl
Change-Id: I4d7a37ab9b31fcce7704f07d883d6f7806f066ec
Diffstat (limited to 'vcl/qa')
-rw-r--r-- | vcl/qa/cppunit/app/test_IconThemeInfo.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vcl/qa/cppunit/app/test_IconThemeInfo.cxx b/vcl/qa/cppunit/app/test_IconThemeInfo.cxx index 723143826574..99083e5d0ffa 100644 --- a/vcl/qa/cppunit/app/test_IconThemeInfo.cxx +++ b/vcl/qa/cppunit/app/test_IconThemeInfo.cxx @@ -53,8 +53,6 @@ class IconThemeInfoTest : public CppUnit::TestFixture CPPUNIT_TEST(ThemeIdIsDetectedFromFileNameWithUnderscore); CPPUNIT_TEST(ImagesZipIsNotValid); CPPUNIT_TEST(ImagesOxygenZipIsValid); - CPPUNIT_TEST(DefaultZipIsValid); - CPPUNIT_TEST(GalaxyIsReturnedAsDisplayNameForDefaultZip); CPPUNIT_TEST(ExceptionIsThrownWhenIdCannotBeDetermined1); CPPUNIT_TEST(ExceptionIsThrownWhenIdCannotBeDetermined2); @@ -87,14 +85,6 @@ IconThemeInfoTest::ImagesOxygenZipIsValid() } void -IconThemeInfoTest::DefaultZipIsValid() -{ - OUString id("file://default.zip"); - bool valid = vcl::IconThemeInfo::UrlCanBeParsed(id); - CPPUNIT_ASSERT_EQUAL_MESSAGE("default.zip is a valid theme name", true, valid); -} - -void IconThemeInfoTest::ThemeIdIsDetectedFromFileNameWithUnderscore() { OUString fname("images_oxygen.zip"); @@ -130,14 +120,6 @@ IconThemeInfoTest::ExceptionIsThrownWhenIdCannotBeDetermined2() CPPUNIT_ASSERT_EQUAL_MESSAGE("Exception was thrown", true, thrown); } -void -IconThemeInfoTest::GalaxyIsReturnedAsDisplayNameForDefaultZip() -{ - OUString id("file://default.zip"); - IconThemeInfo i(id); - CPPUNIT_ASSERT_EQUAL_MESSAGE("default.zip is displayed as Galaxy", OUString("Galaxy"), i.GetDisplayName()); -} - // Put the test suite in the registry CPPUNIT_TEST_SUITE_REGISTRATION(IconThemeInfoTest); |