| 33 | RuntimeLogger::StagingBuffer *sb; |
| 34 | |
| 35 | NanoLogTest() |
| 36 | : bufferSize(NanoLogConfig::STAGING_BUFFER_SIZE) |
| 37 | , halfSize(bufferSize/2) |
| 38 | , sb(new RuntimeLogger::StagingBuffer(0)) |
| 39 | { |
| 40 | static_assert(1024 <= NanoLogConfig::STAGING_BUFFER_SIZE, |
| 41 | "Test requires at least 1KB of buffer space"); |
| 42 | } |
| 43 | |
| 44 | virtual ~NanoLogTest() { |
| 45 | if (sb) { |
nothing calls this directly
no outgoing calls
no test coverage detected