Classes | Functions
gtest_async_action_node.cpp File Reference
#include "behaviortree_cpp/action_node.h"
#include "behaviortree_cpp/basic_types.h"
#include <chrono>
#include <condition_variable>
#include <future>
#include <mutex>
#include <stdexcept>
#include <string>
#include <thread>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
Include dependency graph for gtest_async_action_node.cpp:

Go to the source code of this file.

Classes

struct  MockedThreadedAction
 
struct  MockedThreadedActionFixture
 
struct  NodeStatusFixture
 

Functions

 INSTANTIATE_TEST_SUITE_P (, NodeStatusFixture, testing::Values(BT::NodeStatus::SUCCESS, BT::NodeStatus::FAILURE))
 
 TEST_F (MockedThreadedActionFixture, exception)
 
 TEST_F (MockedThreadedActionFixture, halt)
 
 TEST_F (MockedThreadedActionFixture, no_halt)
 
 TEST_P (NodeStatusFixture, normal_routine)
 

Function Documentation

◆ INSTANTIATE_TEST_SUITE_P()

INSTANTIATE_TEST_SUITE_P ( NodeStatusFixture  ,
testing::Values(BT::NodeStatus::SUCCESS, BT::NodeStatus::FAILURE  
)

◆ TEST_F() [1/3]

TEST_F ( MockedThreadedActionFixture  ,
exception   
)

Definition at line 123 of file gtest_async_action_node.cpp.

◆ TEST_F() [2/3]

TEST_F ( MockedThreadedActionFixture  ,
halt   
)

Definition at line 86 of file gtest_async_action_node.cpp.

◆ TEST_F() [3/3]

TEST_F ( MockedThreadedActionFixture  ,
no_halt   
)

Definition at line 70 of file gtest_async_action_node.cpp.

◆ TEST_P()

TEST_P ( NodeStatusFixture  ,
normal_routine   
)

Definition at line 54 of file gtest_async_action_node.cpp.



behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18