hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
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
4
#include "
ReducingBaseMessage.hpp
"
5
#include "
ReducingInputMessage.hpp
"
6
#include "
ReducingOutputMessage.hpp
"
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
17
bool
isEqualReducingBaseMessage
(
ReducingBaseMessage
& first,
18
ReducingBaseMessage
& second);
19
20
bool
isEqualReducingInputMessage
(
ReducingInputMessage
& first,
21
ReducingInputMessage
& second);
22
23
bool
isEqualReducingOutputMessage
(
ReducingOutputMessage
& first,
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_ */
sources
utils
reduceHandler
tests
TestUtils.hpp
Generated on Tue Jun 30 2015 19:42:15 for hce-node application by
1.8.1.2