Skip to content

Commit

Permalink
Re #9495 Add new help methods to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelalvarezbanos committed Mar 25, 2015
1 parent e2831a6 commit b825e7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Expand Up @@ -49,6 +49,8 @@ class MockALCBaselineModellingView : public IALCBaselineModellingView
MOCK_METHOD3(updateSectionSelector, void(size_t, double, double));

MOCK_METHOD1(displayError, void(const QString&));

MOCK_METHOD0(help, void());
};

class MockALCBaselineModellingModel : public IALCBaselineModellingModel
Expand Down
Expand Up @@ -50,6 +50,7 @@ class MockALCDataLoadingView : public IALCDataLoadingView
MOCK_METHOD1(setAvailablePeriods, void(const std::vector<std::string>&));
MOCK_METHOD0(setWaitingCursor, void());
MOCK_METHOD0(restoreCursor, void());
MOCK_METHOD0(help, void());

void requestLoading() { emit loadRequested(); }
void selectFirstRun() { emit firstRunSelected(); }
Expand Down
Expand Up @@ -50,6 +50,7 @@ class MockALCPeakFittingView : public IALCPeakFittingView
MOCK_METHOD1(setPeakPicker, void(const IPeakFunction_const_sptr&));
MOCK_METHOD1(setFunction, void(const IFunction_const_sptr&));
MOCK_METHOD3(setParameter, void(const QString&, const QString&, double));
MOCK_METHOD0(help, void());
};

class MockALCPeakFittingModel : public IALCPeakFittingModel
Expand Down

0 comments on commit b825e7b

Please sign in to comment.