summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2018-04-12 18:02:46 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2018-04-15 13:47:20 +0200
commit9709309557dfb134e2efccc34ee72c0800aa92e7 (patch)
tree3c7d3388b009fd6ef9bc745993d2f696708b0fdb /vcl
parente19ef55c0bee49cf39832c36d82e3fc767289411 (diff)
Remove tango_testing from repository
Abandonned project Change-Id: I72a80658aa868ca445c4122c32d0c744b340c828 Reviewed-on: https://gerrit.libreoffice.org/52790 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/cppunit/app/test_IconThemeInfo.cxx13
-rw-r--r--vcl/source/app/IconThemeInfo.cxx5
2 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 3ab740e5bc15..b6053745a01a 100644
--- a/vcl/qa/cppunit/app/test_IconThemeInfo.cxx
+++ b/vcl/qa/cppunit/app/test_IconThemeInfo.cxx
@@ -39,9 +39,6 @@ class IconThemeInfoTest : public CppUnit::TestFixture
DisplayNameForHicontrastIsHighContrast();
void
- DisplayNameForTango_testingIsTangoTesting();
-
- void
ExceptionIsThrownWhenIdCannotBeDetermined1();
void
@@ -54,7 +51,6 @@ class IconThemeInfoTest : public CppUnit::TestFixture
CPPUNIT_TEST(ImagesZipIsNotValid);
CPPUNIT_TEST(ImagesOxygenZipIsValid);
CPPUNIT_TEST(DisplayNameForHicontrastIsHighContrast);
- CPPUNIT_TEST(DisplayNameForTango_testingIsTangoTesting);
CPPUNIT_TEST(ExceptionIsThrownWhenIdCannotBeDetermined1);
CPPUNIT_TEST(ExceptionIsThrownWhenIdCannotBeDetermined2);
@@ -130,15 +126,6 @@ IconThemeInfoTest::DisplayNameForHicontrastIsHighContrast()
CPPUNIT_ASSERT_EQUAL(expected, displayName);
}
-void
-IconThemeInfoTest::DisplayNameForTango_testingIsTangoTesting()
-{
- OUString const id("tango_testing");
- OUString const 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);
diff --git a/vcl/source/app/IconThemeInfo.cxx b/vcl/source/app/IconThemeInfo.cxx
index 0a6b4f159b03..12899ee18b2a 100644
--- a/vcl/source/app/IconThemeInfo.cxx
+++ b/vcl/source/app/IconThemeInfo.cxx
@@ -21,8 +21,6 @@ const OUStringLiteral vcl::IconThemeInfo::HIGH_CONTRAST_ID("hicontrast");
namespace {
static const OUStringLiteral HIGH_CONTRAST_DISPLAY_NAME("High Contrast");
-static const OUStringLiteral TANGO_TESTING_ID("tango_testing");
-static const OUStringLiteral TANGO_TESTING_DISPLAY_NAME("Tango Testing");
static const OUStringLiteral BREEZE_DARK_ID("breeze_dark");
static const OUStringLiteral BREEZE_DARK_DISPLAY_NAME("Breeze Dark");
static const OUStringLiteral SIFR_DARK_ID("sifr_dark");
@@ -131,9 +129,6 @@ IconThemeInfo::ThemeIdToDisplayName(const OUString& themeId)
if (themeId.equalsIgnoreAsciiCase(HIGH_CONTRAST_ID)) {
return HIGH_CONTRAST_DISPLAY_NAME;
}
- else if (themeId.equalsIgnoreAsciiCase(TANGO_TESTING_ID)) {
- return TANGO_TESTING_DISPLAY_NAME;
- }
else if (themeId.equalsIgnoreAsciiCase(BREEZE_DARK_ID)) {
return BREEZE_DARK_DISPLAY_NAME;
}