Salome HOME
Fix #1596: export XAO
[modules/shaper.git] / src / ModelHighAPI / Mock / MockModelAPI_AttributeSelection.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 #ifndef MockModelAPI_AttributeSelection_H_
4 #define MockModelAPI_AttributeSelection_H_
5
6 #include <gmock/gmock.h>
7
8 #include <ModelAPI_AttributeSelection.h>
9
10 class MockModelAPI_AttributeSelection : public ModelAPI_AttributeSelection {
11  public:
12   MOCK_METHOD3(setValue,
13       void(const ResultPtr& theContext, const std::shared_ptr<GeomAPI_Shape>& theSubShape,
14            const bool theTemporarily));
15   MOCK_METHOD0(value,
16       std::shared_ptr<GeomAPI_Shape>());
17   MOCK_METHOD0(context,
18       ResultPtr());
19   MOCK_METHOD0(update,
20       bool());
21   MOCK_METHOD1(namingName,
22       std::string(const std::string& theDefaultValue));
23   MOCK_METHOD0(Id,
24       int());
25   MOCK_METHOD2(selectSubShape,
26       void(const std::string& theType, const std::string& theSubShapeName));
27   MOCK_METHOD0(isInvalid,
28       bool());
29 };
30
31 #endif // MockModelAPI_AttributeSelection_H_