2 #include "gtest/gtest.h" 6 TEST(lanelet2_io, registryTest) {
8 EXPECT_NE(std::find(parseExtensions.begin(), parseExtensions.end(),
".osm"), parseExtensions.end());
9 EXPECT_NE(std::find(parseExtensions.begin(), parseExtensions.end(),
".bin"), parseExtensions.end());
12 EXPECT_NE(std::find(writeExtensions.begin(), writeExtensions.end(),
".osm"), writeExtensions.end());
13 EXPECT_NE(std::find(writeExtensions.begin(), writeExtensions.end(),
".bin"), writeExtensions.end());
16 TEST(lanelet2_io, exceptionTest) {
TEST(lanelet2_io, registryTest)
std::vector< std::string > supportedWriterExtensions()
returns the names of the currently supported extensions for writing (including the dot) ...
std::unique_ptr< LaneletMap > load(const std::string &filename, const Origin &origin=Origin::defaultOrigin(), ErrorMessages *errors=nullptr, const io::Configuration ¶ms=io::Configuration())
Loads a lanelet map from a file.
Error for not existent filepaths.
const fs::path & get() const
std::vector< std::string > supportedParserExtensions()
Error thrown if an unsupported handler (parser/writer) has been specified.
Error for an unsupported extension.