13#include <catch2/catch_amalgamated.hpp>
19TEST_CASE(
"dev::googleDialogFlowCxChatBot_test",
"[yarp::dev]")
23 Network::setLocalMode(
true);
25 SECTION(
"Checking googleDialogFlowCxChatBot device")
38 const std::string
init_voice{
"it-IT-Wavenet-A"};
39 pcfg.put(
"device",
"googleDialogFlowCxChatBot");
41 pcfg.put(
"location",
"global");
43 pcfg.put(
"project",
"test_project");
44 pcfg.put(
"agent_name",
"test_agent");
53 const std::string messageIn{
"Hello"};
55 std::string messageOut;
65 resp =
iChat->interact(messageIn,messageOut);
76 Network::setLocalMode(
false);
bool view(T *&x)
Get an interface to the device driver.
A container for a device driver.
bool close() override
Close the DeviceDriver.
bool open(const std::string &txt)
Construct and configure a device by its common name.
A mini-server for performing network communication in the background.
A class for storing options and configuration information.
Helper class for finding config files and other external resources.
bool setQuiet(bool quiet=true)
Request that information be suppressed from the console.
bool setVerbose(bool verbose=true)
Request that information be printed to the console on how resources are being found.
TEST_CASE("dev::googleDialogFlowCxChatBot_test", "[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.