1#ifndef TENDUKE_TEST_FAKES_FAKERANDOMURLSAFESTRING_H
2#define TENDUKE_TEST_FAKES_FAKERANDOMURLSAFESTRING_H
4#include "utl/random/RandomURLSafeString.h"
6namespace tenduke {
namespace test {
namespace fakes {
13 std::string
generate(std::size_t length)
override
16 for (std::size_t i = 0; i < length; i++) {
17 val += std::to_string(i % 9);
22 static std::shared_ptr<FakeRandomURLSafeString> createShared()
24 return std::make_shared<FakeRandomURLSafeString>();
Definition FakeRandomURLSafeString.h:9
std::string generate(std::size_t length) override
Generates random string.
Definition FakeRandomURLSafeString.h:13
Generates string of random URL-safe characters.
Definition RandomURLSafeString.h:17
RandomUrlSafeString(std::shared_ptr< RandomBytes > randomBytes)
Constructs new instance.
Definition RandomURLSafeString.h:23
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4