#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, 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) | |
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 513 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 | , |
setThenGetCString | |||
) |
Definition at line 104 of file params.cpp.
TEST | ( | Params | , |
setThenGetInt | |||
) |
Definition at line 112 of file params.cpp.
TEST | ( | Params | , |
unknownParam | |||
) |
Definition at line 123 of file params.cpp.
TEST | ( | Params | , |
deleteParam | |||
) |
Definition at line 129 of file params.cpp.
TEST | ( | Params | , |
hasParam | |||
) |
Definition at line 137 of file params.cpp.
TEST | ( | Params | , |
setIntDoubleGetInt | |||
) |
Definition at line 142 of file params.cpp.
TEST | ( | Params | , |
getIntAsDouble | |||
) |
Definition at line 155 of file params.cpp.
TEST | ( | Params | , |
getDoubleAsInt | |||
) |
Definition at line 163 of file params.cpp.
TEST | ( | Params | , |
searchParam | |||
) |
Definition at line 176 of file params.cpp.
TEST | ( | Params | , |
searchParamNodeHandle | |||
) |
Definition at line 205 of file params.cpp.
TEST | ( | Params | , |
searchParamNodeHandleWithRemapping | |||
) |
Definition at line 228 of file params.cpp.
TEST | ( | Params | , |
getMissingXmlRpcValueParameterCachedTwice | |||
) |
Definition at line 242 of file params.cpp.
TEST | ( | Params | , |
doublePrecision | |||
) |
Definition at line 250 of file params.cpp.
TEST | ( | Params | , |
vectorStringParam | |||
) |
Definition at line 264 of file params.cpp.
TEST | ( | Params | , |
vectorDoubleParam | |||
) |
Definition at line 292 of file params.cpp.
TEST | ( | Params | , |
vectorFloatParam | |||
) |
Definition at line 315 of file params.cpp.
TEST | ( | Params | , |
vectorIntParam | |||
) |
Definition at line 341 of file params.cpp.
TEST | ( | Params | , |
vectorBoolParam | |||
) |
Definition at line 367 of file params.cpp.
TEST | ( | Params | , |
mapStringParam | |||
) |
Definition at line 399 of file params.cpp.
TEST | ( | Params | , |
mapDoubleParam | |||
) |
Definition at line 421 of file params.cpp.
TEST | ( | Params | , |
mapFloatParam | |||
) |
Definition at line 443 of file params.cpp.
TEST | ( | Params | , |
mapIntParam | |||
) |
Definition at line 465 of file params.cpp.
TEST | ( | Params | , |
mapBoolParam | |||
) |
Definition at line 487 of file params.cpp.
std::map<std::string,bool> map_b |
Definition at line 397 of file params.cpp.
std::map<std::string,bool> map_b2 |
Definition at line 397 of file params.cpp.
std::map<std::string,double> map_d |
Definition at line 394 of file params.cpp.
std::map<std::string,double> map_d2 |
Definition at line 394 of file params.cpp.
std::map<std::string,float> map_f |
Definition at line 395 of file params.cpp.
std::map<std::string,float> map_f2 |
Definition at line 395 of file params.cpp.
std::map<std::string,int> map_i |
Definition at line 396 of file params.cpp.
std::map<std::string,int> map_i2 |
Definition at line 396 of file params.cpp.
std::map<std::string,std::string> map_s |
Definition at line 393 of file params.cpp.
std::map<std::string,std::string> map_s2 |
Definition at line 393 of file params.cpp.
std::vector<bool> vec_b |
Definition at line 262 of file params.cpp.
std::vector<bool> vec_b2 |
Definition at line 262 of file params.cpp.
std::vector<double> vec_d |
Definition at line 259 of file params.cpp.
std::vector<double> vec_d2 |
Definition at line 259 of file params.cpp.
std::vector<float> vec_f |
Definition at line 260 of file params.cpp.
std::vector<float> vec_f2 |
Definition at line 260 of file params.cpp.
std::vector<int> vec_i |
Definition at line 261 of file params.cpp.
std::vector<int> vec_i2 |
Definition at line 261 of file params.cpp.
std::vector<std::string> vec_s |
Definition at line 258 of file params.cpp.
std::vector<std::string> vec_s2 |
Definition at line 258 of file params.cpp.