11#include <catch2/catch_amalgamated.hpp>
19TEST_CASE(
"dev::speechSynthesizer_nwc_yarp",
"[yarp::dev]")
25 Network::setLocalMode(
true);
28 SECTION(
"Checking speechSynthesizer_nwc_yarp device")
38 pnws_cfg.put(
"device",
"speechSynthesizer_nws_yarp");
39 pnws_cfg.put(
"name",
"/speechSynthesizer_nws_yarp");
43 pdev_cfg.put(
"device",
"fakeSpeechSynthesizer");
52 pclient_cfg.put(
"device",
"speechSynthesizer_nwc_yarp");
53 pclient_cfg.put(
"local",
"/speechSynthesizer_nwc_yarp");
54 pclient_cfg.put(
"remote",
"/speechSynthesizer_nws_yarp");
62 std::string text =
"hello world";
68 std::string voice =
"voice_place_holder";
102 Network::setLocalMode(
false);
A generic interface for speech synthesis.
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.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
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.
TEST_CASE("dev::speechSynthesizer_nwc_yarp", "[yarp::dev]")