15#include <catch2/catch_amalgamated.hpp>
23TEST_CASE(
"dev::joypadControlServerTest",
"[yarp::dev]")
28 Network::setLocalMode(
true);
35 p_nws.put(
"device",
"JoypadControlServer");
36 p_nws.put(
"name",
"/joyServer");
44 SECTION(
"Test the nws attached to the fake device")
51 p_nws.put(
"device",
"JoypadControlServer");
52 p_nws.put(
"use_separate_ports",
true);
53 p_nws.put(
"name",
"/joyServer");
55 p_fake.put(
"device",
"fakeJoypad");
72 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::joypadControlServerTest", "[yarp::dev]")
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.