sim_time_test.cpp File Reference

#include <string>
#include <gtest/gtest.h>
#include <time.h>
#include <stdlib.h>
#include "ros/ros.h"
#include <rosgraph_msgs/Clock.h>
#include <boost/thread.hpp>
#include <boost/bind.hpp>
Include dependency graph for sim_time_test.cpp:

Go to the source code of this file.

Classes

class  RosClockTest

Functions

int main (int argc, char **argv)
void sleepThread (bool *done)
 TEST (Clock, waitForValid)
 TEST (Clock, isTimeValid)
 TEST (Clock, sleepFromZero)
 TEST_F (RosClockTest, SimClockTest)
void waitThread (bool *done)

Variables

int g_argc
char ** g_argv

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 162 of file sim_time_test.cpp.

void sleepThread ( bool *  done  ) 

Definition at line 97 of file sim_time_test.cpp.

TEST ( Clock  ,
waitForValid   
)

Definition at line 140 of file sim_time_test.cpp.

TEST ( Clock  ,
isTimeValid   
)

Definition at line 126 of file sim_time_test.cpp.

TEST ( Clock  ,
sleepFromZero   
)

Definition at line 107 of file sim_time_test.cpp.

TEST_F ( RosClockTest  ,
SimClockTest   
)

Definition at line 79 of file sim_time_test.cpp.

void waitThread ( bool *  done  ) 

Definition at line 134 of file sim_time_test.cpp.


Variable Documentation

int g_argc

Definition at line 51 of file sim_time_test.cpp.

char** g_argv

Definition at line 52 of file sim_time_test.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Defines


test_roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Ken Conley kwc@willowgarage.com
autogenerated on Fri Jan 11 09:57:53 2013