14#include <catch2/catch_amalgamated.hpp>
17TEST_CASE(
"dev::frameTransformSet_nws_yarp",
"[yarp::dev]")
19 #if defined(DISABLE_FAILING_TESTS)
20 YARP_SKIP_TEST(
"Skipping failing tests")
23 YARP_REQUIRE_PLUGIN(
"frameTransformSet_nws_yarp",
"device");
26 const bool verboseDebug =
true;
28 SECTION(
"test the frameTransformSet_nws_yarp alone")
33 p.
put(
"device",
"frameTransformSet_nws_yarp");
41 SECTION(
"test the frameTransformSet_nws_yarp")
48 p_dev.
put(
"device",
"frameTransformStorage");
49 REQUIRE(pd_dev.
open(p_dev));
50 p_nws.
put(
"device",
"frameTransformSet_nws_yarp");
51 REQUIRE(pd_nws.
open(p_nws));
57 bool result_att = ww_nws->
attach(&pd_dev);
58 REQUIRE(result_att); }
62 REQUIRE(pd_nws.
close());
63 REQUIRE(pd_dev.
close());
bool view(T *&x)
Get an interface to the device driver.
virtual bool attach(PolyDriver *driver)=0
Attach to another object.
A container for a device driver.
bool close() override
Close the DeviceDriver.
bool open(const std::string &txt)
Construct and configure a device by its common name.
Helper interface for an object that can wrap/or "attach" to a single other device.
static bool setLocalMode(bool flag)
Chooses whether communication is process-local.
A class for storing options and configuration information.
void put(const std::string &key, const std::string &value)
Associate the given key with the given string.
void delay(double seconds)
Wait for a certain number of seconds.