1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 #ifndef MockModelAPI_AttributeSelection_H_
4 #define MockModelAPI_AttributeSelection_H_
6 #include <gmock/gmock.h>
8 #include <ModelAPI_AttributeSelection.h>
10 class MockModelAPI_AttributeSelection : public ModelAPI_AttributeSelection {
12 MOCK_METHOD3(setValue,
13 void(const ResultPtr& theContext, const std::shared_ptr<GeomAPI_Shape>& theSubShape,
14 const bool theTemporarily));
16 std::shared_ptr<GeomAPI_Shape>());
21 MOCK_METHOD1(namingName,
22 std::string(const std::string& theDefaultValue));
25 MOCK_METHOD2(selectSubShape,
26 void(const std::string& theType, const std::string& theSubShapeName));
27 MOCK_METHOD0(isInvalid,
31 #endif // MockModelAPI_AttributeSelection_H_