moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
async_test.h 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.h:
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(...)   EXPECT_TRUE(barricade(__VA_ARGS__))
 
#define BARRIER_FATAL(...)   ASSERT_TRUE(barricade(__VA_ARGS__))
 
#define ACTION_OPEN_BARRIER(str)
 
#define ACTION_OPEN_BARRIER_VOID(str)   ::testing::InvokeWithoutArgs([this]() { this->triggerClearEvent(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.h.

◆ ACTION_OPEN_BARRIER_VOID

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

Definition at line 116 of file async_test.h.

◆ BARRIER

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

Definition at line 108 of file async_test.h.

◆ BARRIER_FATAL

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

Definition at line 109 of file async_test.h.