12#include <catch2/catch_amalgamated.hpp>
24 Network::setLocalMode(
true);
26 SECTION(
"Checking chatBot_nwc device")
36 pnws_cfg.put(
"device",
"chatBot_nws_yarp");
37 pnws_cfg.put(
"name",
"/chatBot_nws");
41 pdev_cfg.put(
"device",
"fakeChatBotDevice");
51 pnwc_cfg.put(
"device",
"chatBot_nwc_yarp");
52 pnwc_cfg.put(
"local",
"/chatBot_nwc/rpc");
53 pnwc_cfg.put(
"remote",
"/chatBot_nws/rpc");
70 Network::setLocalMode(
false);
TEST_CASE("dev::ChatBot_nwc", "[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.
void exec_iChatBot_test_1(yarp::dev::IChatBot *ichatbot)
For streams capable of holding different kinds of content, check what they actually have.
void delay(double seconds)
Wait for a certain number of seconds.
An interface to the operating system, including Port based communication.