diff options
author | Ted Gould <ted@gould.cx> | 2015-02-17 08:48:07 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2015-02-17 08:48:07 -0600 |
commit | 913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd (patch) | |
tree | 4dd4f31154e28f799fed4f7f7da7111915914944 /tests/indicator-test.cc | |
parent | 1b0c78a1bd4237a920a569a64efe6bd006e4a9ca (diff) | |
parent | 0b6f800a6e99e6485508aef14f666a7aa51a2f6d (diff) | |
download | ayatana-indicator-sound-913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd.tar.gz ayatana-indicator-sound-913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd.tar.bz2 ayatana-indicator-sound-913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd.zip |
Grabbing the notification mock
Diffstat (limited to 'tests/indicator-test.cc')
-rw-r--r-- | tests/indicator-test.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc index 636db1d..97c4948 100644 --- a/tests/indicator-test.cc +++ b/tests/indicator-test.cc @@ -22,6 +22,7 @@ #include "indicator-fixture.h" #include "accounts-service-mock.h" +#include "notifications-mock.h" class IndicatorTest : public IndicatorFixture { @@ -32,6 +33,7 @@ protected: } std::shared_ptr<AccountsServiceMock> as; + std::shared_ptr<NotificationsMock> notification; virtual void SetUp() override { @@ -45,12 +47,16 @@ protected: as = std::make_shared<AccountsServiceMock>(); addMock(*as); + notification = std::make_shared<NotificationsMock>(); + addMock(*notification); + IndicatorFixture::SetUp(); } virtual void TearDown() override { as.reset(); + notification.reset(); IndicatorFixture::TearDown(); } |