Macros | Functions
parameter_validation.cpp File Reference
#include <gtest/gtest.h>
#include <ros/ros.h>
#include <test_roscpp/TestEmpty.h>
Include dependency graph for parameter_validation.cpp:

Go to the source code of this file.

Macros

#define ASSERT_THROWS(expr)
 

Functions

void callback (const test_roscpp::TestEmptyConstPtr &)
 
int main (int argc, char **argv)
 
 TEST (ParameterValidation, subscribeEmptyMD5Sum)
 
 TEST (ParameterValidation, subscribeEmptyDataType)
 
 TEST (ParameterValidation, subscribeNoCallback)
 
 TEST (ParameterValidation, advertiseEmptyMD5Sum)
 
 TEST (ParameterValidation, advertiseEmptyDataType)
 
 TEST (ParameterValidation, advertiseStarMD5Sum)
 
 TEST (ParameterValidation, advertiseStarDataType)
 

Macro Definition Documentation

#define ASSERT_THROWS (   expr)
Value:
try \
{ \
expr; \
FAIL(); \
} \
catch (std::exception& e) \
{ \
ROS_INFO("Caught exception: %s", e.what());\
}

Definition at line 36 of file parameter_validation.cpp.

Function Documentation

void callback ( const test_roscpp::TestEmptyConstPtr &  )

Definition at line 47 of file parameter_validation.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 105 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
subscribeEmptyMD5Sum   
)

Definition at line 52 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
subscribeEmptyDataType   
)

Definition at line 61 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
subscribeNoCallback   
)

Definition at line 70 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
advertiseEmptyMD5Sum   
)

Definition at line 77 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
advertiseEmptyDataType   
)

Definition at line 84 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
advertiseStarMD5Sum   
)

Definition at line 91 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
advertiseStarDataType   
)

Definition at line 98 of file parameter_validation.cpp.



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