blob: edfaf0bced4f8a23ce6cbc8c12c31ee8597437f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "../application.hpp"
#include <gmock/gmock.h>
class FakeApplication : public Application {
Q_OBJECT
public:
explicit FakeApplication(int &argc, char *argv[]) : Application(argc, argv) {}
~FakeApplication() override = default;
MOCK_METHOD(bool, registerPlugin, (const QString &), (override));
MOCK_METHOD(RekonqWindow *, newWindow, (), (override));
MOCK_METHOD(RekonqView *, newView, (const QUrl &, RekonqWindow *), (override));
};
|