From f8593f2b833839ede5a3f438f55b0668ab4a0b64 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sun, 29 May 2011 13:50:55 +0000 Subject: [PATCH] Oops, fix the tests --- tests/mock_playlistmanager.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/mock_playlistmanager.h b/tests/mock_playlistmanager.h index b4ffa226d..085e02d49 100644 --- a/tests/mock_playlistmanager.h +++ b/tests/mock_playlistmanager.h @@ -35,9 +35,9 @@ public: MOCK_METHOD0(InvalidateDeletedSongs, void()); MOCK_METHOD0(RemoveDeletedSongs, void()); - MOCK_CONST_METHOD1(selection, const QItemSelection&(int)); - MOCK_CONST_METHOD0(current_selection, const QItemSelection&()); - MOCK_CONST_METHOD0(active_selection, const QItemSelection&()); + MOCK_CONST_METHOD1(selection, QItemSelection(int)); + MOCK_CONST_METHOD0(current_selection, QItemSelection()); + MOCK_CONST_METHOD0(active_selection, QItemSelection()); MOCK_CONST_METHOD1(name, QString(int)); MOCK_CONST_METHOD0(task_manager, TaskManager*());