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

Function TEST_F

tests/gtest_name_validation.cpp:131–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129};
130
131TEST_F(NameValidationXMLTest, ValidBehaviorTreeID)
132{
133 const char* xml = R"(
134 <root BTCPP_format="4">
135 <BehaviorTree ID="MainTree">
136 <AlwaysSuccess/>
137 </BehaviorTree>
138 </root>)";
139 EXPECT_NO_THROW((void)factory.createTreeFromText(xml));
140}
141
142TEST_F(NameValidationXMLTest, ValidBehaviorTreeID_WithUnderscore)
143{

Callers

nothing calls this directly

Calls 1

createTreeFromTextMethod · 0.80

Tested by

no test coverage detected