Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
MongoDBBackendTest Class Reference
Inheritance diagram for MongoDBBackendTest:
Inheritance graph
Collaboration diagram for MongoDBBackendTest:
Collaboration graph

Protected Member Functions

void SetUp () override
 
void TearDown () override
 

Protected Attributes

std::unique_ptr< mongodb_backendbackend_
 
connection_config test_config_
 

Detailed Description

Definition at line 31 of file mongodb_backend_test.cpp.

Member Function Documentation

◆ SetUp()

◆ TearDown()

void MongoDBBackendTest::TearDown ( )
inlineoverrideprotected

Definition at line 46 of file mongodb_backend_test.cpp.

47 {
48 if (backend_ && backend_->is_initialized()) {
49 backend_->shutdown();
50 }
51 }

References backend_.

Member Data Documentation

◆ backend_

std::unique_ptr<mongodb_backend> MongoDBBackendTest::backend_
protected

Definition at line 33 of file mongodb_backend_test.cpp.

Referenced by SetUp(), and TearDown().

◆ test_config_

connection_config MongoDBBackendTest::test_config_
protected

Definition at line 34 of file mongodb_backend_test.cpp.

Referenced by SetUp().


The documentation for this class was generated from the following file: