update appman mock in launcher test
commit8bb95a9fb3285ca5dd454fa1e2597bceff0dc676
authorDaniel d'Andrada <daniel.dandrada@canonical.com>
dateWed 7 Dec 2016, 09:30 (10 years ago)
parent8db2798
tests/plugins/Unity/Launcher/launchermodeltest.cpp+3−1
@@ -33,6 +33,8 @@
3333
3434#include <glib.h>
3535
36+namespace unityapi = unity::shell::application;
37+
3638// This is a mock, specifically to test the LauncherModel
3739class MockApp: public unity::shell::application::ApplicationInfoInterface
3840{
@@ -99,7 +101,7 @@ public:
99101 }
100102 return nullptr;
101103 }
102− unity::shell::application::ApplicationInfoInterface *findApplicationWithSurface(unity::shell::application::MirSurfaceInterface* surface) override {
104+ unityapi::ApplicationInfoInterface *findApplicationWithSurface(unityapi::MirSurfaceInterface* surface) const override {
103105 return nullptr;
104106 }
105107 unity::shell::application::ApplicationInfoInterface *startApplication(const QString &, const QStringList &) override { return nullptr; }