diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-11-28 08:47:03 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-11-28 08:51:08 +0000 |
commit | de76813c8421fd900e0d57038d28e8be693e33be (patch) | |
tree | d99b90ed99e1c42f0bd7ad4bef35770bce521720 /tests/unit/greeter-test.cpp | |
parent | 22d45854cb2c7a6374d6dfc631d684d01fcc9063 (diff) | |
download | ayatana-indicator-display-de76813c8421fd900e0d57038d28e8be693e33be.tar.gz ayatana-indicator-display-de76813c8421fd900e0d57038d28e8be693e33be.tar.bz2 ayatana-indicator-display-de76813c8421fd900e0d57038d28e8be693e33be.zip |
Fork from Ubuntus' indicator-display project.
Diffstat (limited to 'tests/unit/greeter-test.cpp')
-rw-r--r-- | tests/unit/greeter-test.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/greeter-test.cpp b/tests/unit/greeter-test.cpp index bfa88e8..61880f6 100644 --- a/tests/unit/greeter-test.cpp +++ b/tests/unit/greeter-test.cpp @@ -70,7 +70,7 @@ protected: // set a watcher to look for our mock greeter to appear bool owned {}; QDBusServiceWatcher watcher( - DBusNames::UnityGreeter::NAME, + DBusNames::Greeter::NAME, m_dbus_runner->sessionConnection() ); QObject::connect( @@ -83,7 +83,7 @@ protected: QVariantMap parameters; parameters["IsActive"] = QVariant(is_active); m_dbus_mock->registerTemplate( - DBusNames::UnityGreeter::NAME, + DBusNames::Greeter::NAME, GREETER_TEMPLATE, parameters, QDBusConnection::SessionBus @@ -116,7 +116,7 @@ TEST_F(GreeterFixture, ActiveServiceStartsBeforeWatcher) start_greeter_service(is_active); - UnityGreeter greeter; + Greeter greeter; ASSERT_PROPERTY_EQ_EVENTUALLY(expected, greeter.state()); } @@ -126,7 +126,7 @@ TEST_F(GreeterFixture, WatcherStartsBeforeActiveService) constexpr bool is_active {true}; constexpr Greeter::State expected {Greeter::State::ACTIVE}; - UnityGreeter greeter; + Greeter greeter; start_greeter_service(is_active); @@ -140,7 +140,7 @@ TEST_F(GreeterFixture, InactiveServiceStartsBeforeWatcher) start_greeter_service(is_active); - UnityGreeter greeter; + Greeter greeter; ASSERT_PROPERTY_EQ_EVENTUALLY(expected, greeter.state()); } @@ -150,7 +150,7 @@ TEST_F(GreeterFixture, WatcherStartsBeforeInactiveService) constexpr bool is_active {false}; constexpr Greeter::State expected {Greeter::State::INACTIVE}; - UnityGreeter greeter; + Greeter greeter; start_greeter_service(is_active); |