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

Protected Member Functions

void SetUp () override
 
void TearDown () override
 

Protected Attributes

std::shared_ptr< database_contextcontext_
 
std::shared_ptr< performance_monitormonitor_
 

Detailed Description

Definition at line 192 of file unit_tests.cpp.

Member Function Documentation

◆ SetUp()

void PerformanceMonitorTest::SetUp ( )
inlineoverrideprotected

Definition at line 197 of file unit_tests.cpp.

197 {
198 // Performance monitor setup with dependency injection
199 context_ = std::make_shared<database_context>();
200 monitor_ = context_->get_performance_monitor();
201 monitor_->set_metrics_retention_period(std::chrono::minutes(60));
202 }
std::shared_ptr< database_context > context_
std::shared_ptr< performance_monitor > monitor_

References context_, and monitor_.

◆ TearDown()

void PerformanceMonitorTest::TearDown ( )
inlineoverrideprotected

Definition at line 204 of file unit_tests.cpp.

204 {
205 // Performance monitor cleanup
206 }

Member Data Documentation

◆ context_

std::shared_ptr<database_context> PerformanceMonitorTest::context_
protected

Definition at line 194 of file unit_tests.cpp.

Referenced by SetUp().

◆ monitor_

std::shared_ptr<performance_monitor> PerformanceMonitorTest::monitor_
protected

Definition at line 195 of file unit_tests.cpp.

Referenced by SetUp().


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