hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ReducerFunctionalObjectTest.cpp File Reference
#include <gtest/gtest.h>
#include "ReducerFunctionalObject.hpp"
#include "SphinxResultSorterIf.hpp"
#include "SphinxResultData.hpp"
#include "EncodeDecodeBase64.hpp"
#include "ReducingInputMessage.hpp"
#include "SphinxResultCompareUtils.hpp"
#include <vector>
#include <Poco/Thread.h>
Include dependency graph for ReducerFunctionalObjectTest.cpp:

Go to the source code of this file.

Classes

class  ReducerFunctionalObjectTest

Functions

std::string buildJsonReducingInputMessage (int milliseconds_ttl)
 TEST_F (ReducerFunctionalObjectTest, taskCompleteByNodeCount)
 TEST_F (ReducerFunctionalObjectTest, taskCompleteByTTLParam)
 TEST_F (ReducerFunctionalObjectTest, taskCompleteByTaskTTL)
 TEST_F (ReducerFunctionalObjectTest, taskNotCompleteByTTLParam)
 TEST_F (ReducerFunctionalObjectTest, taskNotCompleteByTaskTTL)
 TEST_F (ReducerFunctionalObjectTest, cleanupByTTLParam)
 TEST_F (ReducerFunctionalObjectTest, cleanupByTaskTTL)
 TEST_F (ReducerFunctionalObjectTest, NotCleanupByTaskParam)
 TEST_F (ReducerFunctionalObjectTest, NotCleanupByTaskTTL)
 TEST_F (ReducerFunctionalObjectTest, ExceededByTTLParam)
 TEST_F (ReducerFunctionalObjectTest, exceededByTaskTTL)
 TEST_F (ReducerFunctionalObjectTest, NotExceededByTaskTTL)
 TEST_F (ReducerFunctionalObjectTest, NotExceededByTTLParam)
 TEST_F (ReducerFunctionalObjectTest, NoExpiredTasksInTTLQueue)
 TEST_F (ReducerFunctionalObjectTest, ExpiredTasksInTTLQueue)
 TEST_F (ReducerFunctionalObjectTest, RejectTerminateTaskAdd)
 TEST_F (ReducerFunctionalObjectTest, AddTaskAfterCleanupTTLQueue)

Function Documentation

std::string buildJsonReducingInputMessage ( int  milliseconds_ttl)

Definition at line 27 of file ReducerFunctionalObjectTest.cpp.

Here is the call graph for this function:

TEST_F ( ReducerFunctionalObjectTest  ,
taskCompleteByNodeCount   
)

Definition at line 62 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
taskCompleteByTTLParam   
)

Definition at line 67 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
taskCompleteByTaskTTL   
)

Definition at line 72 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
taskNotCompleteByTTLParam   
)

Definition at line 78 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
taskNotCompleteByTaskTTL   
)

Definition at line 83 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
cleanupByTTLParam   
)

Definition at line 88 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
cleanupByTaskTTL   
)

Definition at line 95 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
NotCleanupByTaskParam   
)

Definition at line 102 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
NotCleanupByTaskTTL   
)

Definition at line 107 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
ExceededByTTLParam   
)

Definition at line 114 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
exceededByTaskTTL   
)

Definition at line 126 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
NotExceededByTaskTTL   
)

Definition at line 139 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
NotExceededByTTLParam   
)

Definition at line 152 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
NoExpiredTasksInTTLQueue   
)

Definition at line 164 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
ExpiredTasksInTTLQueue   
)

Definition at line 173 of file ReducerFunctionalObjectTest.cpp.

TEST_F ( ReducerFunctionalObjectTest  ,
RejectTerminateTaskAdd   
)

Definition at line 186 of file ReducerFunctionalObjectTest.cpp.

Here is the call graph for this function:

TEST_F ( ReducerFunctionalObjectTest  ,
AddTaskAfterCleanupTTLQueue   
)

Definition at line 198 of file ReducerFunctionalObjectTest.cpp.

Here is the call graph for this function: