|
Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
|
Test fixture for memory stress tests. More...


Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| size_t | getCurrentMemoryUsage () |
| Get current memory usage in bytes (platform-specific) | |
| std::string | formatBytes (size_t bytes) |
| Convert bytes to human-readable format. | |
Protected Attributes | |
| std::unique_ptr< sqlite_backend > | db_ |
Test fixture for memory stress tests.
Definition at line 38 of file memory_stress_test.cpp.
|
inlineprotected |
Convert bytes to human-readable format.
Definition at line 78 of file memory_stress_test.cpp.
|
inlineprotected |
Get current memory usage in bytes (platform-specific)
Definition at line 62 of file memory_stress_test.cpp.
|
inlineoverrideprotected |
Definition at line 42 of file memory_stress_test.cpp.
References ASSERT_TRUE, database::core::connection_config::database, and db_.
|
inlineoverrideprotected |
|
protected |
Definition at line 40 of file memory_stress_test.cpp.
Referenced by SetUp(), and TearDown().