16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_TEST_EXECUTORTESTUTILS_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_TEST_EXECUTORTESTUTILS_H_ 31 static const std::chrono::milliseconds
SHORT_TIMEOUT_MS = std::chrono::milliseconds(100);
34 static auto TASK = [](
int arg) {
return arg; };
76 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_TEST_EXECUTORTESTUTILS_H_ static auto TASK
A simple task which takes an integer argument and returns the argument when executed.
Definition: ExecutorTestUtils.h:34
Definition: AmdMetricWrapperTest.cpp:24
void exampleFunctionParams(int param)
Simple example function which takes a parameter to be referenced in Executor related tests...
Definition: ExecutorTestUtils.h:41
Definition: ExecutorTestUtils.h:47
SimpleObject(int value)
Definition: ExecutorTestUtils.h:60
void operator()()
Definition: ExecutorTestUtils.h:49
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
static const std::chrono::milliseconds SHORT_TIMEOUT_MS
Timeout to use for waiting on calls within tests.
Definition: ExecutorTestUtils.h:31
SimpleObject()
Definition: ExecutorTestUtils.h:59
static const int VALUE
Simple integer value to be reused in tests.
Definition: ExecutorTestUtils.h:28
Definition: ExecutorTestUtils.h:57
void exampleFunction()
Simple example function to be referenced in Executor related tests.
Definition: ExecutorTestUtils.h:37
int getValue()
Definition: ExecutorTestUtils.h:62