diff options
author | Robert Tari <robert@tari.in> | 2021-11-03 20:07:08 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-05 13:40:52 +0100 |
commit | 89bdf3a90fb92c4794d7b25f286d34dbc4093d88 (patch) | |
tree | 5da3305e76f97cdacdbefe7c06f2bc682e128155 /tests/integration | |
parent | 8dfa72f222878d87825048d2bc1f4c4b05276d02 (diff) | |
download | ayatana-indicator-sound-89bdf3a90fb92c4794d7b25f286d34dbc4093d88.tar.gz ayatana-indicator-sound-89bdf3a90fb92c4794d7b25f286d34dbc4093d88.tar.bz2 ayatana-indicator-sound-89bdf3a90fb92c4794d7b25f286d34dbc4093d88.zip |
Rename x-canonical-value-bar-tint
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/indicator-sound-test-base.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp index f1bc33a..b92cc9f 100644 --- a/tests/integration/indicator-sound-test-base.cpp +++ b/tests/integration/indicator-sound-test-base.cpp @@ -1,5 +1,6 @@ /* * Copyright (C) 2015 Canonical, Ltd. + * Copyright (C) 2021 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -13,7 +14,9 @@ * You should have received a copy of the GNU General Public License along * with this program. If not, see <http://www.gnu.org/licenses/>. * - * Author: Xavi Garcia <xavi.garcia.mena@canonical.com> + * Authors: + * Xavi Garcia <xavi.garcia.mena@canonical.com> + * Robert Tari <robert@tari.in> */ #include "indicator-sound-test-base.h" @@ -642,12 +645,12 @@ void IndicatorSoundTestBase::checkVolumeNotification(double volume, QString cons ASSERT_TRUE(qDBusArgumentToMap(args.at(6), hints)); ASSERT_TRUE(hints.contains("value")); ASSERT_TRUE(hints.contains("x-ayatana-non-shaped-icon")); - ASSERT_TRUE(hints.contains("x-canonical-value-bar-tint")); + ASSERT_TRUE(hints.contains("x-ayatana-value-bar-tint")); ASSERT_TRUE(hints.contains("x-canonical-private-synchronous")); EXPECT_EQ(volume*100, hints["value"]); EXPECT_EQ(true, hints["x-ayatana-non-shaped-icon"]); - EXPECT_EQ(isLoud, hints["x-canonical-value-bar-tint"]); + EXPECT_EQ(isLoud, hints["x-ayatana-value-bar-tint"]); EXPECT_EQ(true, hints["x-canonical-private-synchronous"]); } |