|
hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
|
#include "ORMFunctionalObjectTest.hpp"
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 |
tests for the ORMFunctionalObject class
Definition in file ORMFunctionalObjectTest.cpp.
| 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.


| TEST | ( | ORMFunctionalObject | , |
| init | |||
| ) |
insert document into table if table name not exist Poco::NullPointerException is throw
Definition at line 117 of file ORMFunctionalObjectTest.cpp.

| TEST | ( | ORMFunctionalObjectTest | , |
| put_documents | |||
| ) |
get document by id
Definition at line 129 of file ORMFunctionalObjectTest.cpp.

| TEST | ( | ORMFunctionalObjectTest | , |
| get_documents_by_id | |||
| ) |
delete document by id
Definition at line 150 of file ORMFunctionalObjectTest.cpp.

| TEST | ( | ORMFunctionalObjectTest | , |
| del_documents_by_id | |||
| ) |
Definition at line 165 of file ORMFunctionalObjectTest.cpp.

| 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.