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

Protected Member Functions

void SetUp () override
 
void TearDown () override
 

Protected Attributes

std::unique_ptr< postgresql_backendbackend_
 
connection_config test_config_
 

Detailed Description

Definition at line 31 of file postgresql_backend_test.cpp.

Member Function Documentation

◆ SetUp()

◆ TearDown()

void PostgreSQLBackendTest::TearDown ( )
inlineoverrideprotected

Definition at line 46 of file postgresql_backend_test.cpp.

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

References backend_.

Member Data Documentation

◆ backend_

std::unique_ptr<postgresql_backend> PostgreSQLBackendTest::backend_
protected

Definition at line 33 of file postgresql_backend_test.cpp.

Referenced by SetUp(), and TearDown().

◆ test_config_

connection_config PostgreSQLBackendTest::test_config_
protected

Definition at line 34 of file postgresql_backend_test.cpp.

Referenced by SetUp().


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