#include <string>
#include <sstream>
#include <fstream>
#include <gtest/gtest.h>
#include <time.h>
#include <stdlib.h>
#include "ros/ros.h"
#include <ros/param.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
TEST (Params, allParamTypes) | |
TEST (Params, setThenGetString) | |
TEST (Params, setThenGetStringCached) | |
TEST (Params, setThenGetStringCachedNodeHandle) | |
TEST (Params, setThenGetNamespaceCached) | |
TEST (Params, setThenGetCString) | |
TEST (Params, setThenGetInt) | |
TEST (Params, unknownParam) | |
TEST (Params, deleteParam) | |
TEST (Params, hasParam) | |
TEST (Params, setIntDoubleGetInt) | |
TEST (Params, getIntAsDouble) | |
TEST (Params, getDoubleAsInt) | |
TEST (Params, searchParam) | |
TEST (Params, searchParamNodeHandle) | |
TEST (Params, searchParamNodeHandleWithRemapping) | |
TEST (Params, getMissingXmlRpcValueParameterCachedTwice) | |
TEST (Params, doublePrecision) | |
TEST (Params, vectorStringParam) | |
TEST (Params, vectorDoubleParam) | |
TEST (Params, vectorFloatParam) | |
TEST (Params, vectorIntParam) | |
TEST (Params, vectorBoolParam) | |
TEST (Params, mapStringParam) | |
TEST (Params, mapDoubleParam) | |
TEST (Params, mapFloatParam) | |
TEST (Params, mapIntParam) | |
TEST (Params, mapBoolParam) | |
TEST (Params, paramTemplateFunction) | |
TEST (Params, paramNodeHandleTemplateFunction) | |
TEST (Params, getParamNames) | |
TEST (Params, getParamCachedSetParamLoop) | |
Variables | |
std::map< std::string, bool > | map_b |
std::map< std::string, bool > | map_b2 |
std::map< std::string, double > | map_d |
std::map< std::string, double > | map_d2 |
std::map< std::string, float > | map_f |
std::map< std::string, float > | map_f2 |
std::map< std::string, int > | map_i |
std::map< std::string, int > | map_i2 |
std::map< std::string, std::string > | map_s |
std::map< std::string, std::string > | map_s2 |
std::vector< bool > | vec_b |
std::vector< bool > | vec_b2 |
std::vector< double > | vec_d |
std::vector< double > | vec_d2 |
std::vector< float > | vec_f |
std::vector< float > | vec_f2 |
std::vector< int > | vec_i |
std::vector< int > | vec_i2 |
std::vector< std::string > | vec_s |
std::vector< std::string > | vec_s2 |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 581 of file params.cpp.
TEST | ( | Params | , |
allParamTypes | |||
) |
Definition at line 50 of file params.cpp.
TEST | ( | Params | , |
setThenGetString | |||
) |
Definition at line 69 of file params.cpp.
TEST | ( | Params | , |
setThenGetStringCached | |||
) |
Definition at line 81 of file params.cpp.
TEST | ( | Params | , |
setThenGetStringCachedNodeHandle | |||
) |
Definition at line 92 of file params.cpp.
TEST | ( | Params | , |
setThenGetNamespaceCached | |||
) |
Definition at line 104 of file params.cpp.
TEST | ( | Params | , |
setThenGetCString | |||
) |
Definition at line 123 of file params.cpp.
TEST | ( | Params | , |
setThenGetInt | |||
) |
Definition at line 131 of file params.cpp.
TEST | ( | Params | , |
unknownParam | |||
) |
Definition at line 142 of file params.cpp.
TEST | ( | Params | , |
deleteParam | |||
) |
Definition at line 148 of file params.cpp.
TEST | ( | Params | , |
hasParam | |||
) |
Definition at line 156 of file params.cpp.
TEST | ( | Params | , |
setIntDoubleGetInt | |||
) |
Definition at line 161 of file params.cpp.
TEST | ( | Params | , |
getIntAsDouble | |||
) |
Definition at line 174 of file params.cpp.
TEST | ( | Params | , |
getDoubleAsInt | |||
) |
Definition at line 182 of file params.cpp.
TEST | ( | Params | , |
searchParam | |||
) |
Definition at line 195 of file params.cpp.
TEST | ( | Params | , |
searchParamNodeHandle | |||
) |
Definition at line 224 of file params.cpp.
TEST | ( | Params | , |
searchParamNodeHandleWithRemapping | |||
) |
Definition at line 247 of file params.cpp.
TEST | ( | Params | , |
getMissingXmlRpcValueParameterCachedTwice | |||
) |
Definition at line 261 of file params.cpp.
TEST | ( | Params | , |
doublePrecision | |||
) |
Definition at line 269 of file params.cpp.
TEST | ( | Params | , |
vectorStringParam | |||
) |
Definition at line 283 of file params.cpp.
TEST | ( | Params | , |
vectorDoubleParam | |||
) |
Definition at line 311 of file params.cpp.
TEST | ( | Params | , |
vectorFloatParam | |||
) |
Definition at line 334 of file params.cpp.
TEST | ( | Params | , |
vectorIntParam | |||
) |
Definition at line 360 of file params.cpp.
TEST | ( | Params | , |
vectorBoolParam | |||
) |
Definition at line 386 of file params.cpp.
TEST | ( | Params | , |
mapStringParam | |||
) |
Definition at line 418 of file params.cpp.
TEST | ( | Params | , |
mapDoubleParam | |||
) |
Definition at line 440 of file params.cpp.
TEST | ( | Params | , |
mapFloatParam | |||
) |
Definition at line 462 of file params.cpp.
TEST | ( | Params | , |
mapIntParam | |||
) |
Definition at line 484 of file params.cpp.
TEST | ( | Params | , |
mapBoolParam | |||
) |
Definition at line 506 of file params.cpp.
TEST | ( | Params | , |
paramTemplateFunction | |||
) |
Definition at line 531 of file params.cpp.
TEST | ( | Params | , |
paramNodeHandleTemplateFunction | |||
) |
Definition at line 546 of file params.cpp.
TEST | ( | Params | , |
getParamNames | |||
) |
Definition at line 563 of file params.cpp.
TEST | ( | Params | , |
getParamCachedSetParamLoop | |||
) |
Definition at line 569 of file params.cpp.
std::map<std::string,bool> map_b |
Definition at line 416 of file params.cpp.
std::map<std::string,bool> map_b2 |
Definition at line 416 of file params.cpp.
std::map<std::string,double> map_d |
Definition at line 413 of file params.cpp.
std::map<std::string,double> map_d2 |
Definition at line 413 of file params.cpp.
std::map<std::string,float> map_f |
Definition at line 414 of file params.cpp.
std::map<std::string,float> map_f2 |
Definition at line 414 of file params.cpp.
std::map<std::string,int> map_i |
Definition at line 415 of file params.cpp.
std::map<std::string,int> map_i2 |
Definition at line 415 of file params.cpp.
std::map<std::string,std::string> map_s |
Definition at line 412 of file params.cpp.
std::map<std::string,std::string> map_s2 |
Definition at line 412 of file params.cpp.
std::vector<bool> vec_b |
Definition at line 281 of file params.cpp.
std::vector<bool> vec_b2 |
Definition at line 281 of file params.cpp.
std::vector<double> vec_d |
Definition at line 278 of file params.cpp.
std::vector<double> vec_d2 |
Definition at line 278 of file params.cpp.
std::vector<float> vec_f |
Definition at line 279 of file params.cpp.
std::vector<float> vec_f2 |
Definition at line 279 of file params.cpp.
std::vector<int> vec_i |
Definition at line 280 of file params.cpp.
std::vector<int> vec_i2 |
Definition at line 280 of file params.cpp.
std::vector<std::string> vec_s |
Definition at line 277 of file params.cpp.
std::vector<std::string> vec_s2 |
Definition at line 277 of file params.cpp.