17#include <catch2/catch_amalgamated.hpp>
23TEST_CASE(
"dev::robotDescriptionClientTest",
"[yarp::dev]")
30 Network::setLocalMode(
true);
32 SECTION(
"Test the robotDescriptionClient device")
41 pserver_cfg.put(
"device",
"robotDescription_nws_yarp");
42 pserver_cfg.put(
"local",
"/robotDescription_nws_yarp/rpc");
53 pclient_cfg.put(
"device",
"robotDescription_nwc_yarp");
54 pclient_cfg.put(
"local",
"/robotDescription_nwc_yarp/rpc");
55 pclient_cfg.put(
"remote",
"/robotDescription_nws_yarp/rpc");
70 std::vector<DeviceDescription>
list1;
71 std::vector<DeviceDescription>
list2;
81 auto r5 =
idesc->getAllDevicesByType(
"controlBoard_nws_yarp",
list2);
90 auto r6 =
idesc->unregisterDevice(
"/icubTest/test");
91 auto r7 =
idesc->getAllDevicesByType(
"testDevice",
list2);
97 auto r8 =
idesc->unregisterAll();
106 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.
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]")