blob: 27b7711ac686974a1bf8708b2f3ff96b71315521 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include "../rekonqwindow.hpp"
#include <gmock/gmock.h>
class FakeWindow : public RekonqWindow {
Q_OBJECT
public:
explicit FakeWindow(QWidget *parent = nullptr) : RekonqWindow(parent) {}
~FakeWindow() override = default;
MOCK_METHOD(int, addView, (RekonqView *), (override));
MOCK_METHOD(void, loadDefaultUrl, (rekonq::DefaultUrl, rekonq::OpenType), (override));
MOCK_METHOD(void, loadRequestedUrl, (const QUrl &, rekonq::OpenType), (override));
};
|