diff --git a/MantidQt/CustomInterfaces/test/ReflMockObjects.h b/MantidQt/CustomInterfaces/test/ReflMockObjects.h index c6bed8c8ab0fc9a3f793ea96190e437c84224d5f..da375c415161efe9403a5cccb1fcc067139ffe7c 100644 --- a/MantidQt/CustomInterfaces/test/ReflMockObjects.h +++ b/MantidQt/CustomInterfaces/test/ReflMockObjects.h @@ -85,6 +85,7 @@ public: MOCK_CONST_METHOD0(getLambdaMax, std::string()); MOCK_CONST_METHOD0(getI0MonitorIndex, std::string()); MOCK_CONST_METHOD0(getProcessingInstructions, std::string()); + MOCK_CONST_METHOD0(getTransmissionRuns, std::string()); MOCK_CONST_METHOD1(setExpDefaults, void(const std::vector<std::string> &)); MOCK_CONST_METHOD1(setInstDefaults, void(const std::vector<double> &)); diff --git a/MantidQt/CustomInterfaces/test/ReflSettingsTabPresenterTest.h b/MantidQt/CustomInterfaces/test/ReflSettingsTabPresenterTest.h index 5eb7e3894b28911b5d728d07483eec3d48ae5add..41c34c41b135d546b55f34fdd075daaf52182b15 100644 --- a/MantidQt/CustomInterfaces/test/ReflSettingsTabPresenterTest.h +++ b/MantidQt/CustomInterfaces/test/ReflSettingsTabPresenterTest.h @@ -144,6 +144,9 @@ public: EXPECT_CALL(mockView, getProcessingInstructions()) .Times(Exactly(1)) .WillOnce(Return("\"3,4\"")); + EXPECT_CALL(mockView, getTransmissionRuns()) + .Times(Exactly(1)) + .WillOnce(Return("INTER00013463.nxs,INTER00013464.nxs")); auto options = presenter.getReductionOptions(); std::vector<std::string> optionsVec; @@ -166,6 +169,8 @@ public: TS_ASSERT_EQUALS(optionsVec[15], "ScaleFactor=2"); TS_ASSERT_EQUALS(optionsVec[16], "MomentumTransferStep=-0.02"); TS_ASSERT_EQUALS(optionsVec[17], "ProcessingInstructions=\"3,4\""); + TS_ASSERT_EQUALS(optionsVec[18], "FirstTransmissionRun=TRANS_INTER00013463.nxs"); + TS_ASSERT_EQUALS(optionsVec[19], "SecondTransmissionRun=TRANS_INTER00013464.nxs"); TS_ASSERT(Mock::VerifyAndClearExpectations(&mockView)); }