$search
#include <gtest/gtest.h>
#include <ros/ros.h>
#include <test_roscpp/TestEmpty.h>
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 ASSERT_THROWS | ( | expr | ) |
try \ { \ expr; \ FAIL(); \ } \ catch (std::exception& e) \ { \ ROS_INFO("Caught exception: %s", e.what());\ }
Definition at line 36 of file parameter_validation.cpp.
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.