hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ORMFunctionalObjectTest.cpp File Reference
#include "ORMFunctionalObjectTest.hpp"
Include dependency graph for ORMFunctionalObjectTest.cpp:

Go to the source code of this file.

Namespaces

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

Functions

void readDocuments (const std::vector< std::string > &vector_file_names, HCE::KVDB_TESTS::Document &doc)
 TEST (ORMFunctionalObject, init)
 TEST (ORMFunctionalObjectTest, put_documents)
 TEST (ORMFunctionalObjectTest, get_documents_by_id)
 TEST (ORMFunctionalObjectTest, del_documents_by_id)

Variables

Poco::SharedPtr
< HCE::ORMFunctionalObject
pOrmFuncObj

Detailed Description

Function Documentation

void readDocuments ( const std::vector< std::string > &  vector_file_names,
HCE::KVDB_TESTS::Document &  doc 
)

< Poco memoryMapped

< key section

< value section

Definition at line 28 of file ORMFunctionalObjectTest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

TEST ( ORMFunctionalObject  ,
init   
)

insert document into table if table name not exist Poco::NullPointerException is throw

Definition at line 117 of file ORMFunctionalObjectTest.cpp.

Here is the call graph for this function:

TEST ( ORMFunctionalObjectTest  ,
put_documents   
)

get document by id

Definition at line 129 of file ORMFunctionalObjectTest.cpp.

Here is the call graph for this function:

TEST ( ORMFunctionalObjectTest  ,
get_documents_by_id   
)

delete document by id

Definition at line 150 of file ORMFunctionalObjectTest.cpp.

Here is the call graph for this function:

TEST ( ORMFunctionalObjectTest  ,
del_documents_by_id   
)

Definition at line 165 of file ORMFunctionalObjectTest.cpp.

Here is the call graph for this function:

Variable Documentation

Poco::SharedPtr<HCE::ORMFunctionalObject> pOrmFuncObj

test init db driver if drive name not exist Poco::NotFoundException is throw

Definition at line 113 of file ORMFunctionalObjectTest.cpp.