11#include <catch2/catch_amalgamated.hpp>
21 Network::setLocalMode(
true);
23 SECTION(
"Checking fakeDeviceWrapped device")
31 p_cfg.put(
"device",
"fakeDeviceWrapped");
49 SECTION(
"Checking fakeDeviceWrapped device with automatically invoked wrapper")
57 p_cfg.put(
"device",
"fakeDeviceWrapped");
60 p_cfg.put(
"wrapping_enabled", 1);
81 Network::setLocalMode(
false);
virtual std::string id() const
Return the id assigned to the PolyDriver.
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.
A test interface used internally by continuous integration.
virtual yarp::dev::ReturnValue testGetValue(int &value)=0
This method is used to get a single value from a test device.
virtual yarp::dev::ReturnValue testSetValue(int value)=0
This method is used to set a single value inside the test device.
A mini-server for performing network communication in the background.
A class for storing options and configuration information.
TEST_CASE("dev::fakeDeviceWrapped", "[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.