Go to the documentation of this file.
28 #include <gtest/gtest.h>
37 #include <boost_plugin_loader/utils.h>
41 TEST(TesseractContactManagersFactoryUnit, StaticLoadPlugin)
43 boost_plugin_loader::addSymbolLibraryToSearchLibrariesEnv(
44 tesseract_collision::tesseract_collision_bullet::BulletFactoriesAnchor(),
"TESSERACT_CONTACT_MANAGERS_PLUGINS");
46 std::string config = R
"(contact_manager_plugins:
50 - tesseract_collision_bullet_factories_not_there
51 - tesseract_collision_fcl_factories_not_there
53 default: BulletDiscreteBVHManager
55 BulletDiscreteBVHManager:
56 class: BulletDiscreteBVHManagerFactory
57 BulletDiscreteSimpleManager:
58 class: BulletDiscreteSimpleManagerFactory
59 FCLDiscreteBVHManager:
60 class: FCLDiscreteBVHManagerFactory
62 default: BulletCastBVHManager
65 class: BulletCastBVHManagerFactory
66 BulletCastSimpleManager:
67 class: BulletCastSimpleManagerFactory)";
79 int main(
int argc,
char** argv)
81 testing::InitGoogleTest(&argc, argv);
83 return RUN_ALL_TESTS();
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define EXPECT_TRUE(args)
YAML::Node loadYamlString(const std::string &yaml_string, const ResourceLocator &locator)
Factories for loading bullet contact managers as plugins.