18#include <catch2/catch_amalgamated.hpp>
24TEST_CASE(
"dev::robotDescriptionClientTest",
"[yarp::dev]")
31 Network::setLocalMode(
true);
33 SECTION(
"Test the robotDescriptionClient device")
42 pserver_cfg.put(
"device",
"robotDescription_nws_yarp");
43 pserver_cfg.put(
"local",
"/robotDescription_nws_yarp/rpc");
54 pclient_cfg.put(
"device",
"robotDescription_nwc_yarp");
55 pclient_cfg.put(
"local",
"/robotDescription_nwc_yarp/rpc");
56 pclient_cfg.put(
"remote",
"/robotDescription_nws_yarp/rpc");
72 std::vector<DeviceDescription>
list1;
73 std::vector<DeviceDescription>
list2;
83 auto r5 =
idesc->getAllDevicesByType(
"controlBoard_nws_yarp",
list2);
92 auto r6 =
idesc->unregisterDevice(
"/icubTest/test");
93 auto r7 =
idesc->getAllDevicesByType(
"testDevice",
list2);
99 auto r8 =
idesc->unregisterAll();
108 Network::setLocalMode(
false);
This interface allows users to retrieve a list which contains the names and the types of the currentl...
Interface for an object that can wrap/or "attach" to another.
A container for a device driver.
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.
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.
TEST_CASE("dev::robotDescriptionClientTest", "[yarp::dev]")