/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

  1. #ifndef NEBUTEST_MOCKPHYSICALRACKFACTORY_H_
  2. #define NEBUTEST_MOCKPHYSICALRACKFACTORY_H_
  3. #include "gmock/gmock.h"
  4. #include "nebu/topology/physicalRackFactory.h"
  5. namespace nebu
  6. {
  7. namespace test
  8. {
  9. class MockPhysicalRackFactory : public nebu::common::PhysicalRackFactory
  10. {
  11. public:
  12. MockPhysicalRackFactory() : PhysicalRackFactory() { };
  13. // virtual ~MockPhysicalRackFactory() { };
  14. MOCK_CONST_METHOD1(parseXML, nebu::common::Traits<nebu::common::PhysicalRack>::Ptr(const tinyxml2::XMLElement *elem));
  15. private:
  16. };
  17. }
  18. }
  19. #endif