18#include <catch2/catch_amalgamated.hpp>
26TEST_CASE(
"dev::JoypadControlClientTest",
"[yarp::dev]")
28 #if defined(DISABLE_FAILING_TESTS)
36 Network::setLocalMode(
true);
38 SECTION(
"Test the frameGrabber_nwc_yarp device with a frameGrabber_nws_yarp device")
47 p_nws.put(
"device",
"JoypadControlServer");
48 p_nws.put(
"use_separate_ports",
true);
49 p_nws.put(
"name",
"/joyServer");
50 p_fake.put(
"device",
"fakeJoypad");
60 p_nwc.put(
"device",
"JoypadControlClient");
61 p_nwc.put(
"remote",
"/joyServer");
62 p_nwc.put(
"local",
"/joyclient");
79 Network::setLocalMode(
false);
contains the definition of a Vector type
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)
TEST_CASE("dev::JoypadControlClientTest", "[yarp::dev]")
void exec_iJoypadController_test_1(yarp::dev::IJoypadController *iJoy)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.