12#include <catch2/catch_amalgamated.hpp>
23 Network::setLocalMode(
true);
25 SECTION(
"Checking fakeDeviceWrapper device alone")
33 p_cfg.put(
"device",
"fakeDeviceWrapper");
44 SECTION(
"Checking fakeDeviceWrapped device with automatically invoked wrapper")
54 p_cfg.put(
"device",
"fakeDeviceUnwrapped");
59 p_cfg.put(
"device",
"fakeDeviceWrapper");
94 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]")
void exec_params_test(yarp::dev::PolyDriver *pdrv)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.