12#include <catch2/catch_amalgamated.hpp>
17 YARP_REQUIRE_PLUGIN(
"deviceBundler",
"device");
18 YARP_REQUIRE_PLUGIN(
"fakeBattery",
"device");
19 YARP_REQUIRE_PLUGIN(
"battery_nws_yarp",
"device");
22 const bool verboseDebug =
true;
24 SECTION(
"Test the DeviceBundler")
29 p.
put(
"device",
"deviceBundler");
30 p.
put(
"wrapper_device",
"battery_nws_yarp");
31 p.
put(
"name",
"/battery_nws_yarp");
32 p.
put(
"attached_device",
"fakeBattery");
TEST_CASE("dev::DeviceBundlerTest", "[yarp::dev]")
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.
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.