10#include <catch2/catch_amalgamated.hpp>
21 Network::setLocalMode(
true);
23 SECTION(
"Checking Fake_nws_yarp device opening without attached device")
30 p_cfg.put(
"device",
"fakeDevice_nws_yarp");
42 SECTION(
"Checking Fake_nws_yarp device")
50 pnws_cfg.put(
"device",
"fakeDevice_nws_yarp");
54 pdev_cfg.put(
"device",
"fakeDeviceUnwrapped");
72 Network::setLocalMode(
false);
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 mini-server for performing network communication in the background.
void close() override
Stop port activity.
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::Fake_nws_yarp", "[yarp::dev]")
For streams capable of holding different kinds of content, check what they actually have.
void delay(double seconds)
Wait for a certain number of seconds.
An interface to the operating system, including Port based communication.