8 #include <gtest/gtest.h>
9 #include <Poco/SharedPtr.h>
15 using namespace HCE::reduce_types;
16 using namespace HCE::reduce_convertors;
26 string body =
"test body";
27 int processingErrorCode = 0;
28 string processingErrorMsg =
"OK";
29 int processingElapsedTime = 120;
32 processingErrorCode, processingErrorMsg, processingElapsedTime));
36 reducingOutputMessage.assign(NULL);
48 string json = pocoJSONReducingOutputMessageConvertor.
convertToJSONFrom(reducingOutputMessage);
50 SharedPtr<ReducingOutputMessage> restoredReducingOutputMessage =
54 *restoredReducingOutputMessage.get()));