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

Method SetUp

tests/gtest_loggers.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 std::string test_dir;
32
33 void SetUp() override
34 {
35 // Create a temporary directory for test files
36 test_dir = std::filesystem::temp_directory_path().string() + "/bt_logger_test";
37 std::filesystem::create_directories(test_dir);
38 }
39
40 void TearDown() override
41 {

Callers

nothing calls this directly

Calls 1

stringMethod · 0.45

Tested by

no test coverage detected