19#include <catch2/catch_amalgamated.hpp>
33 Network::setLocalMode(
true);
35 SECTION(
"Test the battery_nwc_yarp device with a battery_nws_yarp device")
44 p_nws.put(
"device",
"battery_nws_yarp");
45 p_nws.put(
"name",
"/battery_nws");
46 p_fake.put(
"device",
"fakeBattery");
56 p_nwc.put(
"device",
"battery_nwc_yarp");
57 p_nwc.put(
"remote",
"/battery_nws");
58 p_nwc.put(
"local",
"/battery_nwc");
59 p_nwc.put(
"no_stream", 1);
76 Network::setLocalMode(
false);
contains the definition of a Vector type
TEST_CASE("dev::battery_nwc_yarp", "[yarp::dev]")
A generic battery interface.
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_iBattery_test_1(IBattery *ibat)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.