/test/mocks/mockPhysicalRackFactory.h
https://github.com/deltaforge/nebu-common-cpp · C Header · 28 lines · 18 code · 9 blank · 1 comment · 0 complexity · 5d8da7683533f41c9fc57ebb0fe8e5c4 MD5 · raw file
- #ifndef NEBUTEST_MOCKPHYSICALRACKFACTORY_H_
- #define NEBUTEST_MOCKPHYSICALRACKFACTORY_H_
- #include "gmock/gmock.h"
- #include "nebu/topology/physicalRackFactory.h"
- namespace nebu
- {
- namespace test
- {
- class MockPhysicalRackFactory : public nebu::common::PhysicalRackFactory
- {
- public:
- MockPhysicalRackFactory() : PhysicalRackFactory() { };
- // virtual ~MockPhysicalRackFactory() { };
- MOCK_CONST_METHOD1(parseXML, nebu::common::Traits<nebu::common::PhysicalRack>::Ptr(const tinyxml2::XMLElement *elem));
- private:
- };
- }
- }
- #endif