11#include <catch2/catch_amalgamated.hpp>
22 Network::setLocalMode(
true);
24 SECTION(
"Checking fakeDeviceWrapper device alone")
32 p_cfg.put(
"device",
"fakeDeviceWrapper");
42 SECTION(
"Checking fakeDeviceWrapped device with automatically invoked wrapper")
52 p_cfg.put(
"device",
"fakeDeviceUnwrapped");
57 p_cfg.put(
"device",
"fakeDeviceWrapper");
92 Network::setLocalMode(
false);
bool view(T *&x)
Get an interface to the device driver.
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.
A test interface used internally by continuous integration.
A mini-server for performing network communication in the background.
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
A class for storing options and configuration information.
TEST_CASE("dev::fakeDeviceWrapper", "[yarp::dev]")
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.