summaryrefslogtreecommitdiff
path: root/tests
diff options
authorWilliam Hua <william.hua@canonical.com>2014-04-18 01:08:05 +1200
committerWilliam Hua <william.hua@canonical.com>2014-04-18 01:08:05 +1200
commit37fc8ba650ee6f212f037acb7795868772b5ce84 (patch)
tree6d17849184af3152e86d0eee16f386bd2414dc1b /tests
parentf7e3e1d0ad86546879981ebeeceb18902fe1bb55 (diff)
Rip everything out and start anew.
(bzr r3781.3.2)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_lockscreen_controller.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_lockscreen_controller.cpp b/tests/test_lockscreen_controller.cpp
index 55add06bc..fc54b7153 100644
--- a/tests/test_lockscreen_controller.cpp
+++ b/tests/test_lockscreen_controller.cpp
@@ -52,16 +52,17 @@ const unsigned TICK_DURATION = 10 * 1000;
struct MockShield : AbstractShield
{
MockShield()
- : AbstractShield(nullptr, nullptr, 0, false)
+ : AbstractShield(nullptr, nullptr, nullptr, 0, false)
{}
MOCK_CONST_METHOD0(IsIndicatorOpen, bool());
MOCK_METHOD0(CheckCapsLockPrompt, void());
+ MOCK_METHOD0(ActivatePanel, void());
};
struct ShieldFactoryMock : ShieldFactoryInterface
{
- nux::ObjectPtr<AbstractShield> CreateShield(session::Manager::Ptr const&, indicator::Indicators::Ptr const&, int, bool) override
+ nux::ObjectPtr<AbstractShield> CreateShield(session::Manager::Ptr const&, indicator::Indicators::Ptr const&, Accelerators::Ptr const&, int, bool) override
{
return nux::ObjectPtr<AbstractShield>(new MockShield());
}