16#include <catch2/catch_amalgamated.hpp>
19TEST_CASE(
"dev::FrameTransformClientTest",
"[yarp::dev]")
21 #if defined(DISABLE_FAILING_TESTS)
30 SECTION(
"test the frameTransformClient/Server open/close, case 0")
35 p.
put(
"device",
"frameTransformClient");
36 p.
put(
"config_name",
"ftc_local_only.xml");
41 p.
put(
"device",
"frameTransformServer");
42 p.
put(
"config_name",
"fts_yarp_only.xml");
48 SECTION(
"test the frameTransformClient local only mode, case 1")
53 p.
put(
"device",
"frameTransformClient");
54 p.
put(
"config_name",
"ftc_local_only.xml");
64 SECTION(
"test the frameTransformClient local only mode, case 2")
69 p.
put(
"device",
"frameTransformClient");
70 p.
put(
"config_name",
"ftc_local_only.xml");
80 SECTION(
"test the frameTransformClient/Server, case 3")
85 server_prop.put(
"config_name",
"fts_yarp_only.xml");
93 client_prop.put(
"config_name",
"ftc_yarp_only.xml");
104 SECTION(
"test the frameTransformClient/Server, case 4")
109 server_prop.put(
"config_name",
"fts_yarp_only.xml");
117 client_prop.put(
"config_name",
"ftc_yarp_only.xml");
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.
static bool setLocalMode(bool flag)
Chooses whether communication is process-local.
A class for storing options and configuration information.
void put(const std::string &key, const std::string &value)
Associate the given key with the given string.
void exec_frameTransform_test_2(IFrameTransform *itf)
void exec_frameTransform_test_1(IFrameTransform *itf)
void delay(double seconds)
Wait for a certain number of seconds.