aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRatchanan Srirattanamet <ratchanan@ubports.com>2023-12-07 00:19:08 +0700
committerRatchanan Srirattanamet <ratchanan@ubports.com>2023-12-07 00:22:12 +0700
commitf494eae6a5d5acd7b84437e5e251c6e3ff6f83a8 (patch)
treefa34e53d52b234dac5847486a625467b5219624e
parent18d92e36d1d08affd20ae905f6a9efdb139af170 (diff)
downloadayatana-indicator-power-f494eae6a5d5acd7b84437e5e251c6e3ff6f83a8.tar.gz
ayatana-indicator-power-f494eae6a5d5acd7b84437e5e251c6e3ff6f83a8.tar.bz2
ayatana-indicator-power-f494eae6a5d5acd7b84437e5e251c6e3ff6f83a8.zip
tests/test-notify: remove unused hint variable
This variable becomes unused in "commit" 2cb851b018c5 [1], and doesn't seem to be used anywhere else in the code. Remove it. [1] 2cb851b018c5 ("add tests to confirm that the DBus object's PowerLevel property changes at the right times (and only at the right times) when the battery is draining"), which is part of this merge proposal on Launchpad: https://code.launchpad.net/~charlesk/indicator-power/lp-1296431-low-power-snap-decisions/+merge/233744
-rw-r--r--tests/test-notify.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-notify.cc b/tests/test-notify.cc
index 12a80fb..9fdb577 100644
--- a/tests/test-notify.cc
+++ b/tests/test-notify.cc
@@ -72,8 +72,6 @@ protected:
static constexpr char const * METHOD_GET_INFO {"GetServerInformation"};
static constexpr char const * SIGNAL_CLOSED {"NotificationClosed"};
- static constexpr char const * HINT_TIMEOUT {"x-lomiri-snap-decisions-timeout"};
-
protected:
void SetUp()