#include "behaviortree_cpp/decorators/timeout_node.h"
#include "behaviortree_cpp/behavior_tree.h"
#include <chrono>
#include <future>
#include <gtest/gtest.h>
Go to the source code of this file.
Classes | |
class | SimpleCoroAction |
Typedefs | |
using | Millisecond = std::chrono::milliseconds |
using | Timepoint = std::chrono::time_point< std::chrono::steady_clock > |
Functions | |
BT::NodeStatus | executeWhileRunning (BT::TreeNode &node) |
TEST (CoroTest, do_action) | |
TEST (CoroTest, do_action_timeout) | |
TEST (CoroTest, OtherThreadHalt) | |
TEST (CoroTest, sequence_child) | |
using Millisecond = std::chrono::milliseconds |
Definition at line 9 of file gtest_coroutines.cpp.
using Timepoint = std::chrono::time_point<std::chrono::steady_clock> |
Definition at line 10 of file gtest_coroutines.cpp.
BT::NodeStatus executeWhileRunning | ( | BT::TreeNode & | node | ) |
Definition at line 73 of file gtest_coroutines.cpp.
TEST | ( | CoroTest | , |
do_action | |||
) |
Definition at line 84 of file gtest_coroutines.cpp.
TEST | ( | CoroTest | , |
do_action_timeout | |||
) |
Definition at line 109 of file gtest_coroutines.cpp.
TEST | ( | CoroTest | , |
OtherThreadHalt | |||
) |
Definition at line 149 of file gtest_coroutines.cpp.
TEST | ( | CoroTest | , |
sequence_child | |||
) |
Definition at line 129 of file gtest_coroutines.cpp.