16 #ifndef AVS_CAPABILITIES_DAVSCLIENT_ACSDKASSETSCOMMON_TEST_MOCKS_TESTUTIL_H_ 17 #define AVS_CAPABILITIES_DAVSCLIENT_ACSDKASSETSCOMMON_TEST_MOCKS_TESTUTIL_H_ 25 namespace acsdkAssets {
35 bool waitUntil(
const std::function<
bool()>& validate, std::chrono::milliseconds timeout = std::chrono::seconds(5));
44 template <
class TestParamInfoType>
46 auto s = info.param.description;
47 std::transform(s.begin(), s.end(), s.begin(), [](
char ch) {
return isalnum(ch) ? ch :
'_'; });
56 #endif // AVS_CAPABILITIES_DAVSCLIENT_ACSDKASSETSCOMMON_TEST_MOCKS_TESTUTIL_H_ ::std::string string
Definition: gtest-port.h:1097
Definition: CapabilityConfiguration.h:190
Definition: TestUtil.h:43
std::string operator()(const TestParamInfoType &info) const
Definition: TestUtil.h:45
std::string createTmpDir(const std::string &prefix="test")
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool waitUntil(const std::function< bool()> &validate, std::chrono::milliseconds timeout=std::chrono::seconds(5))