Classes | Functions | Variables
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, sleepFromZero)
 
 TEST (Clock, isTimeValid)
 
 TEST (Clock, waitForValid)
 
 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  ,
sleepFromZero   
)

Definition at line 107 of file sim_time_test.cpp.

TEST ( Clock  ,
isTimeValid   
)

Definition at line 126 of file sim_time_test.cpp.

TEST ( Clock  ,
waitForValid   
)

Definition at line 140 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.



test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:46