diff options
author | heiko tietze <tietze.heiko@gmail.com> | 2018-05-12 12:00:25 +0200 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@gmail.com> | 2018-05-13 08:37:15 +0200 |
commit | 8bdd059a1d64a1818ee0093d7a512fe38c4e2b20 (patch) | |
tree | 25573c7dcb9079604bdef9cc9ba4690b4d957a62 /vcl | |
parent | 1f6af5c409105562edf2a034f4841c1aeb5a38b5 (diff) |
Icon themes clean-up
Industrial and Oxygen removed because of no maintainer,
limited coverage, outdated design, and no SVG support
Legacy themes will be available as extension
Change-Id: I8f9c7bff6a180e3c151404b644a514eae4efcba8
Reviewed-on: https://gerrit.libreoffice.org/54158
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qa/cppunit/app/test_IconThemeInfo.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/vcl/qa/cppunit/app/test_IconThemeInfo.cxx b/vcl/qa/cppunit/app/test_IconThemeInfo.cxx index e93c841824c5..df6f22014528 100644 --- a/vcl/qa/cppunit/app/test_IconThemeInfo.cxx +++ b/vcl/qa/cppunit/app/test_IconThemeInfo.cxx @@ -30,7 +30,7 @@ class IconThemeInfoTest : public CppUnit::TestFixture ImagesZipIsNotValid(); void - ImagesOxygenZipIsValid(); + ImagesColibreZipIsValid(); void ThemeIdIsDetectedFromFileNameWithUnderscore(); @@ -46,7 +46,7 @@ class IconThemeInfoTest : public CppUnit::TestFixture CPPUNIT_TEST(UpperCaseDisplayNameIsReturnedForNonDefaultId); CPPUNIT_TEST(ThemeIdIsDetectedFromFileNameWithUnderscore); CPPUNIT_TEST(ImagesZipIsNotValid); - CPPUNIT_TEST(ImagesOxygenZipIsValid); + CPPUNIT_TEST(ImagesColibreZipIsValid); CPPUNIT_TEST(ExceptionIsThrownWhenIdCannotBeDetermined1); CPPUNIT_TEST(ExceptionIsThrownWhenIdCannotBeDetermined2); @@ -70,26 +70,26 @@ IconThemeInfoTest::ImagesZipIsNotValid() } void -IconThemeInfoTest::ImagesOxygenZipIsValid() +IconThemeInfoTest::ImagesColibreZipIsValid() { - OUString const id("file://images_oxygen.zip"); + OUString const id("file://images_colibre.zip"); bool valid = vcl::IconThemeInfo::UrlCanBeParsed(id); - CPPUNIT_ASSERT_EQUAL_MESSAGE("images_oxygen.zip is a valid theme name", true, valid); + CPPUNIT_ASSERT_EQUAL_MESSAGE("images_colibre.zip is a valid theme name", true, valid); } void IconThemeInfoTest::ThemeIdIsDetectedFromFileNameWithUnderscore() { - OUString const fname("images_oxygen.zip"); + OUString const fname("images_colibre.zip"); OUString sname = vcl::IconThemeInfo::FileNameToThemeId(fname); - CPPUNIT_ASSERT_EQUAL_MESSAGE("'oxygen' theme id is returned for 'images_oxygen.zip'", OUString("oxygen"), sname); + CPPUNIT_ASSERT_EQUAL_MESSAGE("'colibre' theme id is returned for 'images_colibre.zip'", OUString("colibre"), sname); } void IconThemeInfoTest::ExceptionIsThrownWhenIdCannotBeDetermined1() { bool thrown = false; - OUString const fname("images_oxygen"); + OUString const fname("images_colibre"); try { vcl::IconThemeInfo::FileNameToThemeId(fname); } @@ -103,7 +103,7 @@ void IconThemeInfoTest::ExceptionIsThrownWhenIdCannotBeDetermined2() { bool thrown = false; - OUString const fname("image_oxygen.zip"); + OUString const fname("image_colibre.zip"); try { vcl::IconThemeInfo::FileNameToThemeId(fname); } |