MCPcopy Create free account
hub / github.com/dds-bridge/dds / TEST

Function TEST

library/tests/system/utilities_log_test.cpp:20–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20TEST(UtilitiesLogTest, NoLogWithoutDefine)
21{
22 ensure_thread();
23 SolverContext ctx;
24
25 // Ensure clean start
26 ctx.utilities().log_clear();
27
28 // Create TT and dispose it; without define there should be no logs
29 (void)ctx.trans_table();
30 ctx.dispose_trans_table();
31
32 EXPECT_TRUE(ctx.utilities().log_buffer().empty());
33}

Callers

nothing calls this directly

Calls 6

utilitiesMethod · 0.80
trans_tableMethod · 0.80
dispose_trans_tableMethod · 0.80
log_bufferMethod · 0.80
ensure_threadFunction · 0.70
log_clearMethod · 0.45

Tested by

no test coverage detected