hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TestUtils.hpp
Go to the documentation of this file.
1 #ifndef TESTUTILS_H_
2 #define TESTUTILS_H_
3 
7 #include "Exceptions.hpp"
8 #include <Poco/SharedPtr.h>
9 #include <string>
10 
11 using namespace HCE;
12 using namespace HCE::reduce_types;
13 using namespace HCE::reduce;
14 using namespace Poco;
15 using namespace std;
16 
18  ReducingBaseMessage& second);
19 
21  ReducingInputMessage& second);
22 
24  ReducingOutputMessage& second);
25 
26 SharedPtr<ReducingOutputMessage> buildEtalonFrom(types::MessageType managerType,
27  int ttl, string& json);
28 
29 SharedPtr<ReducingOutputMessage> buildEtalonFrom(NotFoundByKeyException& e);
30 
31 SharedPtr<ReducingInputMessage> buildReducingInputMessage(types::MessageType managerType,
32  int ttl, string& json);
33 
34 
35 #endif /* TESTUTILS_H_ */