diff options
author | Robert Tari <robert@tari.in> | 2023-09-09 08:27:33 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2023-09-09 08:27:33 +0200 |
commit | cf943b8c9564a0cc8d215a7bc76a147bdd027aaf (patch) | |
tree | b72c36d0a279e44b6deeebda91ebebe5ce5ec94e /tests/integration | |
parent | 8dbb8ab50726131dd97ee87438559da6c46f3fab (diff) | |
download | ayatana-indicator-sound-cf943b8c9564a0cc8d215a7bc76a147bdd027aaf.tar.gz ayatana-indicator-sound-cf943b8c9564a0cc8d215a7bc76a147bdd027aaf.tar.bz2 ayatana-indicator-sound-cf943b8c9564a0cc8d215a7bc76a147bdd027aaf.zip |
Drop custom notification hints
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/indicator-sound-test-base.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp index c201e27..eb4ee8c 100644 --- a/tests/integration/indicator-sound-test-base.cpp +++ b/tests/integration/indicator-sound-test-base.cpp @@ -1,6 +1,6 @@ /* * Copyright 2015 Canonical Ltd. - * Copyright 2021 Robert Tari + * Copyright 2021-2023 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 @@ -72,7 +72,7 @@ void IndicatorSoundTestBase::SetUp() "GetCapabilities", "", "as", - "ret = ['actions', 'body', 'body-markup', 'icon-static', 'image/svg+xml', 'x-lomiri-private-synchronous', 'x-canonical-append', 'x-lomiri-private-icon-only', 'x-lomiri-truncation', 'x-canonical-truncation', 'private-synchronous', 'append', 'private-icon-only', 'truncation']" + "ret = ['actions', 'body', 'body-markup', 'icon-static', 'image/svg+xml', 'private-synchronous', 'append', 'private-icon-only', 'truncation']" ).waitForFinished(); int waitedTime = 0; @@ -647,14 +647,8 @@ void IndicatorSoundTestBase::checkVolumeNotification(double volume, QString cons QVariantMap hints; ASSERT_TRUE(qDBusArgumentToMap(args.at(6), hints)); ASSERT_TRUE(hints.contains("value")); - ASSERT_TRUE(hints.contains("x-lomiri-non-shaped-icon")); - ASSERT_TRUE(hints.contains("x-lomiri-value-bar-tint")); - ASSERT_TRUE(hints.contains("x-lomiri-private-synchronous")); EXPECT_EQ(volume*100, hints["value"]); - EXPECT_EQ(true, hints["x-lomiri-non-shaped-icon"]); - EXPECT_EQ(isLoud, hints["x-lomiri-value-bar-tint"]); - EXPECT_EQ(true, hints["x-lomiri-private-synchronous"]); } void IndicatorSoundTestBase::checkHighVolumeNotification(QVariantList call) |