aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-10-27 16:20:10 +0200
committerRobert Tari <robert@tari.in>2021-10-27 18:10:32 +0200
commit2cefc0f4f3c12a3956b8e8383ddbc8838d21cff5 (patch)
tree71c59ca360ea91c707f0370fe6ae8c641e7ae165 /tests
parent03d55a301614654bf150f51c0e0c472fef6a904b (diff)
downloadayatana-indicator-display-2cefc0f4f3c12a3956b8e8383ddbc8838d21cff5.tar.gz
ayatana-indicator-display-2cefc0f4f3c12a3956b8e8383ddbc8838d21cff5.tar.bz2
ayatana-indicator-display-2cefc0f4f3c12a3956b8e8383ddbc8838d21cff5.zip
Raname x-canonical properties to x-ayatana
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/usb-manager-test.cpp6
-rw-r--r--tests/unit/usb-snap-test.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/integration/usb-manager-test.cpp b/tests/integration/usb-manager-test.cpp
index c17e587..2f1c51e 100644
--- a/tests/integration/usb-manager-test.cpp
+++ b/tests/integration/usb-manager-test.cpp
@@ -131,9 +131,9 @@ TEST_F(UsbManagerFixture, Allow)
QVariantMap hints;
ASSERT_TRUE(qDBusArgumentToMap(args.at(6), hints));
ASSERT_EQ(3, hints.size());
- ASSERT_TRUE(hints.contains("x-canonical-private-affirmative-tint"));
- ASSERT_TRUE(hints.contains("x-canonical-non-shaped-icon"));
- ASSERT_TRUE(hints.contains("x-canonical-snap-decisions"));
+ ASSERT_TRUE(hints.contains("x-ayatana-private-affirmative-tint"));
+ ASSERT_TRUE(hints.contains("x-ayatana-non-shaped-icon"));
+ ASSERT_TRUE(hints.contains("x-ayatana-snap-decisions"));
}
notificationsSpy.clear();
diff --git a/tests/unit/usb-snap-test.cpp b/tests/unit/usb-snap-test.cpp
index 2be4b27..a740265 100644
--- a/tests/unit/usb-snap-test.cpp
+++ b/tests/unit/usb-snap-test.cpp
@@ -112,9 +112,9 @@ TEST_F(UsbSnapFixture, TestRoundTrip)
QVariantMap hints;
ASSERT_TRUE(qDBusArgumentToMap(args.at(6), hints));
ASSERT_EQ(3, hints.size());
- ASSERT_TRUE(hints.contains("x-canonical-private-affirmative-tint"));
- ASSERT_TRUE(hints.contains("x-canonical-non-shaped-icon"));
- ASSERT_TRUE(hints.contains("x-canonical-snap-decisions"));
+ ASSERT_TRUE(hints.contains("x-ayatana-private-affirmative-tint"));
+ ASSERT_TRUE(hints.contains("x-ayatana-non-shaped-icon"));
+ ASSERT_TRUE(hints.contains("x-ayatana-snap-decisions"));
}
notificationsSpy.clear();