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.

Defines

#define ASSERT_THROWS(expr)

Functions

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

Define 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  ,
advertiseStarDataType   
)

Definition at line 98 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
advertiseStarMD5Sum   
)

Definition at line 91 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
advertiseEmptyDataType   
)

Definition at line 84 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
advertiseEmptyMD5Sum   
)

Definition at line 77 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
subscribeNoCallback   
)

Definition at line 70 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
subscribeEmptyDataType   
)

Definition at line 61 of file parameter_validation.cpp.

TEST ( ParameterValidation  ,
subscribeEmptyMD5Sum   
)

Definition at line 52 of file parameter_validation.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:51 2013