diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/rekonqwindow_mock.hpp | 1 | ||||
-rw-r--r-- | src/test/test_rekonqwindow.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/test/rekonqwindow_mock.hpp b/src/test/rekonqwindow_mock.hpp index 403237d4..7ec30d88 100644 --- a/src/test/rekonqwindow_mock.hpp +++ b/src/test/rekonqwindow_mock.hpp @@ -10,7 +10,6 @@ public: explicit FakeWindow(QWidget *parent = nullptr) : RekonqWindow(parent) {} ~FakeWindow() override = default; - MOCK_METHOD(RekonqView *, currentView, (), (override)); MOCK_METHOD(int, addView, (RekonqView *), (override)); MOCK_METHOD(void, loadUrl, (rekonq::DefaultUrl, rekonq::OpenType), (override)); MOCK_METHOD(void, loadUrl, (const QUrl &, rekonq::OpenType), (override)); diff --git a/src/test/test_rekonqwindow.cpp b/src/test/test_rekonqwindow.cpp index 9e90cd94..46c63e53 100644 --- a/src/test/test_rekonqwindow.cpp +++ b/src/test/test_rekonqwindow.cpp @@ -11,7 +11,6 @@ using ::testing::ReturnArg; TEST(RekonqWindow, mock_shortcuts) { FakeWindow window; - EXPECT_CALL(window, currentView).Times(0); EXPECT_CALL(window, addView).Times(0); EXPECT_CALL(window, loadUrl(Matcher<rekonq::DefaultUrl>(_), _)).Times(0); EXPECT_CALL(window, loadUrl(Matcher<const QUrl &>(_), _)).Times(0); |