"...Engineering/git@code.ornl.gov:mantidproject/mantid.git" did not exist on "08b7d3bd34da6568651d97b5a70cc12c2f5337f8"
Newer
Older
#ifndef MANTID_MDALGORITHMS_BOOLEANBINARYOPERATIONMDTEST_H_
#define MANTID_MDALGORITHMS_BOOLEANBINARYOPERATIONMDTEST_H_
#include "MantidKernel/WarningSuppressions.h"
#include "MantidMDAlgorithms/BooleanBinaryOperationMD.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
GCC_DIAG_OFF_SUGGEST_OVERRIDE
class MockBooleanBinaryOperationMD : public BooleanBinaryOperationMD {
public:
MOCK_METHOD0(initExtraProperties, void());
MOCK_METHOD2(execHistoHisto,
void(Mantid::DataObjects::MDHistoWorkspace_sptr,
Mantid::DataObjects::MDHistoWorkspace_const_sptr));
GCC_DIAG_ON_SUGGEST_OVERRIDE
class BooleanBinaryOperationMDTest : public CxxTest::TestSuite {
MockBooleanBinaryOperationMD alg;
EXPECT_CALL(alg, initExtraProperties()).Times(1);
alg.initialize();
TSM_ASSERT("Algorithm methods were called as expected",
testing::Mock::VerifyAndClearExpectations(&alg));
}
};
#endif /* MANTID_MDALGORITHMS_BOOLEANBINARYOPERATIONMDTEST_H_ */