16#include <catch2/catch_amalgamated.hpp>
29 Network::setLocalMode(
true);
31 SECTION(
"Test the battery_nws_yarp device with no device attached")
36 p_nws.put(
"device",
"battery_nws_yarp");
37 p_nws.put(
"name",
"/battery");
44 SECTION(
"Test the battery_nws_yarp device with fakeBattery device attached")
51 p_nws.put(
"device",
"battery_nws_yarp");
52 p_nws.put(
"name",
"/battery");
53 p_fake.put(
"device",
"fakeBattery");
69 Network::setLocalMode(
false);
contains the definition of a Vector type
TEST_CASE("dev::battery_nws_yarp", "[yarp::dev]")
A container for a device driver.
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.
static void delaySystem(double seconds)
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.