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

Protected Member Functions

void SetUp () override
 
void TearDown () override
 

Protected Attributes

std::unique_ptr< async_executorexecutor_
 

Detailed Description

Definition at line 238 of file test_async_operations.cpp.

Member Function Documentation

◆ SetUp()

void AsyncExecutorTest::SetUp ( )
inlineoverrideprotected

Definition at line 240 of file test_async_operations.cpp.

240 {
241 executor_ = std::make_unique<async_executor>(2);
242 }
std::unique_ptr< async_executor > executor_

References executor_.

◆ TearDown()

void AsyncExecutorTest::TearDown ( )
inlineoverrideprotected

Definition at line 244 of file test_async_operations.cpp.

244 {
245 if (executor_) {
246 executor_->shutdown();
247 }
248 }

References executor_.

Member Data Documentation

◆ executor_

std::unique_ptr<async_executor> AsyncExecutorTest::executor_
protected

Definition at line 250 of file test_async_operations.cpp.

Referenced by SetUp(), and TearDown().


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