diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-09-18 09:57:29 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-18 09:57:29 +0300 |
commit | 1b1e327cb73491c17972a33a07c3c9beafe7f938 (patch) | |
tree | 57fa4bc121fc2e172db42288fec7cdd7ff95399c /src/test | |
parent | Add Bookmarks toolbar (diff) | |
download | rekonq-1b1e327cb73491c17972a33a07c3c9beafe7f938.tar.xz |
Add Navigation and Tab toolbars
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); |