11#include <catch2/catch_amalgamated.hpp>
21 Network::setLocalMode(
true);
23 SECTION(
"Checking fakeBattery device")
31 p_cfg.put(
"device",
"fakeBattery");
44 Network::setLocalMode(
false);
bool view(T *&x)
Get an interface to the device driver.
A generic battery interface.
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 mini-server for performing network communication in the background.
A class for storing options and configuration information.
TEST_CASE("dev::fakeBattery", "[yarp::dev]")
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.