summaryrefslogtreecommitdiff
path: root/tests
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2016-04-25 17:00:32 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2016-04-25 17:00:32 +0200
commit43b91424b4e3dbfc4acead80788cd6be170fb4bb (patch)
treecdbc34125ab74b87b18c8aca4adc648075fccc9d /tests
parentf0f743c677b4cb328c3315d86a250ade170a0d5f (diff)
SwitcherView: get rid of the unused signals
(bzr r4105.6.2)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_switcher_controller.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_switcher_controller.cpp b/tests/test_switcher_controller.cpp
index e63a80213..5160f8ba9 100644
--- a/tests/test_switcher_controller.cpp
+++ b/tests/test_switcher_controller.cpp
@@ -278,7 +278,7 @@ TEST_F(TestSwitcherController, ShowHideSwitcherFading)
Mock::VerifyAndClearExpectations(mock_window_.GetPointer());
}
-TEST_F(TestSwitcherController, TestRightClickedReceived)
+TEST_F(TestSwitcherController, TestDetailActivationRequest)
{
controller_->Show(ShowMode::ALL, SortMode::LAUNCHER_ORDER, icons_);
@@ -287,8 +287,7 @@ TEST_F(TestSwitcherController, TestRightClickedReceived)
ASSERT_FALSE(model->detail_selection());
- view->switcher_mouse_up.emit(-1, 3);
- view->switcher_mouse_down.emit(-1, 3);
+ view->switcher_start_detail.emit();
ASSERT_TRUE(model->detail_selection());
}