Classes | Namespaces | Macros
async_test.h File Reference
#include <algorithm>
#include <chrono>
#include <condition_variable>
#include <mutex>
#include <string>
#include <gmock/gmock.h>
#include <ros/ros.h>
Include dependency graph for async_test.h:

Go to the source code of this file.

Classes

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

Namespaces

 testing
 

Macros

#define ACTION_OPEN_BARRIER(str)
 
#define ACTION_OPEN_BARRIER_VOID(str)   ::testing::InvokeWithoutArgs([this](void) { this->triggerClearEvent(str); })
 
#define BARRIER(...)   EXPECT_TRUE(barricade(__VA_ARGS__))
 
#define BARRIER_FATAL(...)   ASSERT_TRUE(barricade(__VA_ARGS__))
 

Macro Definition Documentation

◆ ACTION_OPEN_BARRIER

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

Definition at line 121 of file async_test.h.

◆ ACTION_OPEN_BARRIER_VOID

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

Definition at line 126 of file async_test.h.

◆ BARRIER

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

Definition at line 118 of file async_test.h.

◆ BARRIER_FATAL

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

Definition at line 119 of file async_test.h.



pilz_testutils
Author(s):
autogenerated on Mon Feb 28 2022 23:13:41