hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
main.cpp File Reference
#include <Poco/SharedPtr.h>
#include <gtest/gtest.h>
#include <sstream>
#include <iostream>
#include "LoggerStream.hpp"
#include "RealLoggable.hpp"
#include "CustomMessage.hpp"
Include dependency graph for main.cpp:

Go to the source code of this file.

Classes

class  CustomMessageTest

Namespaces

namespace  HCE
 < HCE::ServerApplication provides global variable 'HCE::database::Session' which initializes in function 'HCE::ServerApplication::initializeDataBaseSession()'

Functions

 TEST (LoggerStreamTest, defaultModeWriteToBuffer)
 TEST (LoggerStreamTest, modeWriteToStream)
 TEST (LoggerStreamTest, useEndlMamipulator)
 TEST_F (CustomMessageTest, defaultDelimiterTokens)
 TEST_F (CustomMessageTest, customDelimiterTokens)
int main (int argc, char **argv)

Variables

std::vector< std::pair
< unsigned int, std::string > > 
messages
Poco::SharedPtr
< HCE::MessagesCollection
pMessagesCollection
Poco::SharedPtr
< HCE::CustomMessage
pCustomMessage

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 125 of file main.cpp.

TEST ( LoggerStreamTest  ,
defaultModeWriteToBuffer   
)

Definition at line 50 of file main.cpp.

Here is the call graph for this function:

TEST ( LoggerStreamTest  ,
modeWriteToStream   
)

Definition at line 62 of file main.cpp.

Here is the call graph for this function:

TEST ( LoggerStreamTest  ,
useEndlMamipulator   
)

Definition at line 81 of file main.cpp.

Here is the call graph for this function:

TEST_F ( CustomMessageTest  ,
defaultDelimiterTokens   
)

Definition at line 101 of file main.cpp.

TEST_F ( CustomMessageTest  ,
customDelimiterTokens   
)

Definition at line 111 of file main.cpp.

Here is the call graph for this function:

Variable Documentation

std::vector<std::pair<unsigned int, std::string> > messages
Initial value:
{
{0, "TEST START"},
{1, "TEST DATA"},
{2, "TEST MSG"},
{3, "TEST STOP"}
}

Definition at line 24 of file main.cpp.

Poco::SharedPtr<HCE::CustomMessage> pCustomMessage

Definition at line 33 of file main.cpp.

Poco::SharedPtr<HCE::MessagesCollection> pMessagesCollection

Definition at line 32 of file main.cpp.