#include <gtest/gtest.h>
#include <ros/ros.h>
#include <test_roscpp/TestEmpty.h>
Go to the source code of this file.
|
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) |
|
#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.
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 |
|
|
) |
| |
test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:46