diff options
| -rw-r--r-- | tests/test_switcher_controller.h | 2 | ||||
| -rw-r--r-- | tests/test_switcher_controller_class.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_switcher_controller.h b/tests/test_switcher_controller.h index 5e35b2e59..cacde1d10 100644 --- a/tests/test_switcher_controller.h +++ b/tests/test_switcher_controller.h @@ -49,7 +49,7 @@ const unsigned TICK_DURATION = 10 * 1000; /** * A fake ApplicationWindow for verifying selection of the switcher. */ -struct FakeApplicationWindow : public ::testmocks::MockApplicationWindow::Nice +struct FakeApplicationWindow : public ::testmocks::MockApplicationWindow { typedef NiceMock<FakeApplicationWindow> Nice; FakeApplicationWindow(Window xid, uint64_t active_number = 0); diff --git a/tests/test_switcher_controller_class.cpp b/tests/test_switcher_controller_class.cpp index 807a239bc..bea4d88ac 100644 --- a/tests/test_switcher_controller_class.cpp +++ b/tests/test_switcher_controller_class.cpp @@ -26,7 +26,7 @@ using namespace unity::switcher; using namespace std::chrono; FakeApplicationWindow::FakeApplicationWindow(Window xid, uint64_t active_number) - : MockApplicationWindow::Nice(xid) + : MockApplicationWindow(xid) { SetMonitor(-1); auto standalone_window = std::make_shared<StandaloneWindow>(window_id()); |
