18#include <catch2/catch_amalgamated.hpp>
32 p_nws.put(
"device",
"audioRecorder_nws_yarp");
33 p_nws.put(
"start",
"");
34 p_fake.put(
"device",
"fakeMicrophone");
39 psub.put(
"channels", (
int)(channels));
57TEST_CASE(
"dev::AudioRecorder_nws_yarp",
"[yarp::dev]")
62 Network::setLocalMode(
true);
64 SECTION(
"Test the audioRecorder_nws_yarp device with no devices attached")
69 p_nws.put(
"device",
"audioRecorder_nws_yarp");
78 SECTION(
"Test the audioRecorder_nws_yarp device with a fakeMicrophone device")
84 Network::setLocalMode(
false);
contains the definition of a Vector type
TEST_CASE("dev::AudioRecorder_nws_yarp", "[yarp::dev]")
void test_fakeMicrophone(size_t channels)
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)
void exec_params_test(yarp::dev::PolyDriver *pdrv)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.