PageRenderTime 31ms CodeModel.GetById 22ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 4#include "gmock/gmock.h"
 5
 6#include "nebu/topology/physicalRackFactory.h"
 7
 8namespace nebu
 9{
10	namespace test
11	{
12
13		class MockPhysicalRackFactory : public nebu::common::PhysicalRackFactory
14		{
15		public:
16			MockPhysicalRackFactory() : PhysicalRackFactory() { };
17//			virtual ~MockPhysicalRackFactory() { };
18
19			MOCK_CONST_METHOD1(parseXML, nebu::common::Traits<nebu::common::PhysicalRack>::Ptr(const	tinyxml2::XMLElement *elem));
20
21		private:
22		};
23
24	}
25}
26
27#endif
28