$search
#include <gtest/gtest.h>
#include "ros/spinner.h"
#include "ros/init.h"
#include "ros/node_handle.h"
#include <boost/thread.hpp>
Go to the source code of this file.
Defines | |
#define | DOIT() |
Functions | |
void | fire_shutdown (const ros::WallTimerEvent &event) |
int | main (int argc, char **argv) |
TEST (Spinners, asyncfail) | |
TEST (Spinners, async) | |
TEST (Spinners, multifail2) | |
TEST (Spinners, multifail) | |
TEST (Spinners, multi) | |
TEST (Spinners, singlefail2) | |
TEST (Spinners, singlefail) | |
TEST (Spinners, single) | |
TEST (Spinners, spinfail) | |
TEST (Spinners, spin) | |
Variables | |
int | argc_ |
char ** | argv_ |
#define DOIT | ( | ) |
ros::init(argc_, argv_, "test_spinners"); \ NodeHandle nh; \ ros::WallTimer t = nh.createWallTimer(ros::WallDuration(2.0), \ &fire_shutdown); \
Definition at line 61 of file test_spinners.cpp.
void fire_shutdown | ( | const ros::WallTimerEvent & | event | ) |
Definition at line 56 of file test_spinners.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 145 of file test_spinners.cpp.
TEST | ( | Spinners | , | |
asyncfail | ||||
) |
Definition at line 134 of file test_spinners.cpp.
TEST | ( | Spinners | , | |
async | ||||
) |
Definition at line 126 of file test_spinners.cpp.
TEST | ( | Spinners | , | |
multifail2 | ||||
) |
Definition at line 118 of file test_spinners.cpp.
TEST | ( | Spinners | , | |
multifail | ||||
) |
Definition at line 110 of file test_spinners.cpp.
TEST | ( | Spinners | , | |
multi | ||||
) |
Definition at line 103 of file test_spinners.cpp.
TEST | ( | Spinners | , | |
singlefail2 | ||||
) |
Definition at line 95 of file test_spinners.cpp.
TEST | ( | Spinners | , | |
singlefail | ||||
) |
Definition at line 87 of file test_spinners.cpp.
TEST | ( | Spinners | , | |
single | ||||
) |
Definition at line 80 of file test_spinners.cpp.
TEST | ( | Spinners | , | |
spinfail | ||||
) |
Definition at line 73 of file test_spinners.cpp.
TEST | ( | Spinners | , | |
spin | ||||
) |
Definition at line 67 of file test_spinners.cpp.
int argc_ |
Definition at line 53 of file test_spinners.cpp.
char** argv_ |
Definition at line 54 of file test_spinners.cpp.