MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / TEST_F

Function TEST_F

tests/gtest_loggers.cpp:63–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61// ============ StdCoutLogger tests ============
62
63TEST_F(LoggerTest, StdCoutLogger_Creation)
64{
65 auto tree = createSimpleTree();
66
67 // Should not throw
68 StdCoutLogger logger(tree);
69
70 // Execute the tree - logger should capture transitions
71 tree.tickWhileRunning();
72
73 // Flush should not throw
74 logger.flush();
75}
76
77TEST_F(LoggerTest, StdCoutLogger_Enabled)
78{

Callers

nothing calls this directly

Calls 11

tickWhileRunningMethod · 0.80
enabledMethod · 0.80
setEnabledMethod · 0.80
showsTransitionToIdleMethod · 0.80
setTimestampTypeMethod · 0.80
haltTreeMethod · 0.80
createTreeFromTextMethod · 0.80
setAdditionalCallbackMethod · 0.80
execSqlStatementMethod · 0.80
flushMethod · 0.45

Tested by

no test coverage detected