23 #include "gtest/gtest.h" 29 class ConfigurationFilesTest :
public ::testing::TestWithParam<const char*> {};
31 TEST_P(ConfigurationFilesTest, ValidateNodeOptions) {
32 EXPECT_NO_FATAL_FAILURE({
33 auto file_resolver = ::cartographer::common::make_unique<
35 ::ros::package::getPath(
"cartographer_ros") +
"/configuration_files"});
38 code, std::move(file_resolver));
44 INSTANTIATE_TEST_CASE_P(ValidateAllNodeOptions, ConfigurationFilesTest,
45 ::testing::Values(
"backpack_2d.lua",
"backpack_3d.lua",
46 "pr2.lua",
"revo_lds.lua",
47 "taurob_tracker.lua"));
NodeOptions CreateNodeOptions(::cartographer::common::LuaParameterDictionary *const lua_parameter_dictionary)
std::string GetFileContentOrDie(const std::string &basename) override
TrajectoryOptions CreateTrajectoryOptions(::cartographer::common::LuaParameterDictionary *const lua_parameter_dictionary)