moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
async_test.hpp File Reference
#include <mutex>
#include <condition_variable>
#include <algorithm>
#include <chrono>
#include <string>
#include <gmock/gmock.h>
#include <rclcpp/logging.hpp>
Include dependency graph for async_test.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  testing::AsyncTest
 Test class that allows the handling of asynchronous test objects. More...

Namespaces

namespace  testing

Macros

#define BARRIER(...)
#define BARRIER_FATAL(...)
#define ACTION_OPEN_BARRIER(str)
#define ACTION_OPEN_BARRIER_VOID(str)

Macro Definition Documentation

◆ ACTION_OPEN_BARRIER

#define ACTION_OPEN_BARRIER ( str)
Value:
::testing::InvokeWithoutArgs([this](void) { \
this->triggerClearEvent(str); \
return true; \
})

Definition at line 111 of file async_test.hpp.

◆ ACTION_OPEN_BARRIER_VOID

#define ACTION_OPEN_BARRIER_VOID ( str)
Value:
::testing::InvokeWithoutArgs([this]() { this->triggerClearEvent(str); })

Definition at line 116 of file async_test.hpp.

◆ BARRIER

#define BARRIER ( ...)
Value:
EXPECT_TRUE(barricade(__VA_ARGS__))

Definition at line 108 of file async_test.hpp.

◆ BARRIER_FATAL

#define BARRIER_FATAL ( ...)
Value:
ASSERT_TRUE(barricade(__VA_ARGS__))

Definition at line 109 of file async_test.hpp.