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

Method AsyncActionTest

tests/src/action_test_node.cpp:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#include <thread>
18
19BT::AsyncActionTest::AsyncActionTest(const std::string& name, BT::Duration deadline_ms)
20 : ThreadedAction(name, {})
21 , time_(deadline_ms)
22 , expected_result_(NodeStatus::SUCCESS)
23 , tick_count_(0)
24 , success_count_(0)
25 , failure_count_(0)
26{}
27
28BT::NodeStatus BT::AsyncActionTest::tick()
29{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected