Defines | Functions | Variables
test_spinners.cpp File Reference
#include <gtest/gtest.h>
#include "ros/spinner.h"
#include "ros/init.h"
#include "ros/node_handle.h"
#include <boost/thread.hpp>
Include dependency graph for test_spinners.cpp:

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, spin)
 TEST (Spinners, spinfail)
 TEST (Spinners, single)
 TEST (Spinners, singlefail)
 TEST (Spinners, singlefail2)
 TEST (Spinners, multi)
 TEST (Spinners, multifail)
 TEST (Spinners, multifail2)
 TEST (Spinners, async)
 TEST (Spinners, asyncfail)

Variables

int argc_
char ** argv_

Define Documentation

#define DOIT ( )
Value:
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.


Function Documentation

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  ,
spin   
)

Definition at line 67 of file test_spinners.cpp.

TEST ( Spinners  ,
spinfail   
)

Definition at line 73 of file test_spinners.cpp.

TEST ( Spinners  ,
single   
)

Definition at line 80 of file test_spinners.cpp.

TEST ( Spinners  ,
singlefail   
)

Definition at line 87 of file test_spinners.cpp.

TEST ( Spinners  ,
singlefail2   
)

Definition at line 95 of file test_spinners.cpp.

TEST ( Spinners  ,
multi   
)

Definition at line 103 of file test_spinners.cpp.

TEST ( Spinners  ,
multifail   
)

Definition at line 110 of file test_spinners.cpp.

TEST ( Spinners  ,
multifail2   
)

Definition at line 118 of file test_spinners.cpp.

TEST ( Spinners  ,
async   
)

Definition at line 126 of file test_spinners.cpp.

TEST ( Spinners  ,
asyncfail   
)

Definition at line 134 of file test_spinners.cpp.


Variable Documentation

int argc_

Definition at line 53 of file test_spinners.cpp.

char** argv_

Definition at line 54 of file test_spinners.cpp.



test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Mon Oct 6 2014 11:47:21