Namespaces | |
pf | |
Classes | |
struct | as |
class | ChunkGenerator |
class | FilterGenerator |
class | FixedValuesGenerator |
class | Generators |
class | GeneratorUntypedBase |
class | GeneratorWrapper |
struct | IGenerator |
class | MapGenerator |
class | RandomFloatingGenerator |
class | RandomIntegerGenerator |
class | RangeGenerator |
class | RepeatGenerator |
class | SingleValueGenerator |
class | TakeGenerator |
Typedefs | |
using | GeneratorBasePtr = std::unique_ptr< GeneratorUntypedBase > |
Functions | |
auto | acquireGeneratorTracker (SourceLineInfo const &lineInfo) -> IGeneratorTracker & |
template<typename T > | |
GeneratorWrapper< std::vector< T > > | chunk (size_t size, GeneratorWrapper< T > &&generator) |
template<typename T , typename Predicate > | |
GeneratorWrapper< T > | filter (Predicate &&pred, GeneratorWrapper< T > &&generator) |
template<typename L > | |
auto | generate (SourceLineInfo const &lineInfo, L const &generatorExpression) -> decltype(std::declval< decltype(generatorExpression())>().get()) |
template<typename T , typename... Gs> | |
auto | makeGenerators (GeneratorWrapper< T > &&generator, Gs... moreGenerators) -> Generators< T > |
template<typename T > | |
auto | makeGenerators (GeneratorWrapper< T > &&generator) -> Generators< T > |
template<typename T , typename... Gs> | |
auto | makeGenerators (T &&val, Gs... moreGenerators) -> Generators< T > |
template<typename T , typename U , typename... Gs> | |
auto | makeGenerators (as< T >, U &&val, Gs... moreGenerators) -> Generators< T > |
template<typename T , typename U , typename Func > | |
GeneratorWrapper< T > | map (Func &&function, GeneratorWrapper< U > &&generator) |
template<typename T , typename Func > | |
GeneratorWrapper< T > | map (Func &&function, GeneratorWrapper< T > &&generator) |
template<typename T > | |
std::enable_if< std::is_integral< T >::value &&!std::is_same< T, bool >::value, GeneratorWrapper< T > >::type | random (T a, T b) |
template<typename T > | |
std::enable_if< std::is_floating_point< T >::value, GeneratorWrapper< T > >::type | random (T a, T b) |
template<typename T > | |
GeneratorWrapper< T > | range (T const &start, T const &end, T const &step) |
template<typename T > | |
GeneratorWrapper< T > | range (T const &start, T const &end) |
template<typename T > | |
GeneratorWrapper< T > | repeat (size_t repeats, GeneratorWrapper< T > &&generator) |
template<typename... Ts> | |
GeneratorWrapper< std::tuple< Ts... > > | table (std::initializer_list< std::tuple< typename std::decay< Ts >::type... >> tuples) |
template<typename T > | |
GeneratorWrapper< T > | take (size_t target, GeneratorWrapper< T > &&generator) |
template<typename T > | |
GeneratorWrapper< T > | value (T &&value) |
template<typename T > | |
GeneratorWrapper< T > | values (std::initializer_list< T > values) |
using Catch::Generators::GeneratorBasePtr = typedef std::unique_ptr<GeneratorUntypedBase> |
auto Catch::Generators::acquireGeneratorTracker | ( | SourceLineInfo const & | lineInfo | ) | -> IGeneratorTracker & |
GeneratorWrapper<std::vector<T> > Catch::Generators::chunk | ( | size_t | size, |
GeneratorWrapper< T > && | generator | ||
) |
GeneratorWrapper<T> Catch::Generators::filter | ( | Predicate && | pred, |
GeneratorWrapper< T > && | generator | ||
) |
auto Catch::Generators::generate | ( | SourceLineInfo const & | lineInfo, |
L const & | generatorExpression | ||
) | -> decltype(std::declval<decltype(generatorExpression())>().get()) |
auto Catch::Generators::makeGenerators | ( | GeneratorWrapper< T > && | generator, |
Gs... | moreGenerators | ||
) | -> Generators<T> |
auto Catch::Generators::makeGenerators | ( | GeneratorWrapper< T > && | generator | ) | -> Generators<T> |
auto Catch::Generators::makeGenerators | ( | T && | val, |
Gs... | moreGenerators | ||
) | -> Generators<T> |
auto Catch::Generators::makeGenerators | ( | as< T > | , |
U && | val, | ||
Gs... | moreGenerators | ||
) | -> Generators<T> |
GeneratorWrapper<T> Catch::Generators::map | ( | Func && | function, |
GeneratorWrapper< U > && | generator | ||
) |
GeneratorWrapper<T> Catch::Generators::map | ( | Func && | function, |
GeneratorWrapper< T > && | generator | ||
) |
std::enable_if<std::is_integral<T>::value && !std::is_same<T, bool>::value,GeneratorWrapper<T> >::type Catch::Generators::random | ( | T | a, |
T | b | ||
) |
std::enable_if<std::is_floating_point<T>::value,GeneratorWrapper<T> >::type Catch::Generators::random | ( | T | a, |
T | b | ||
) |
GeneratorWrapper<T> Catch::Generators::range | ( | T const & | start, |
T const & | end, | ||
T const & | step | ||
) |
GeneratorWrapper<T> Catch::Generators::range | ( | T const & | start, |
T const & | end | ||
) |
GeneratorWrapper<T> Catch::Generators::repeat | ( | size_t | repeats, |
GeneratorWrapper< T > && | generator | ||
) |
GeneratorWrapper<std::tuple<Ts...> > Catch::Generators::table | ( | std::initializer_list< std::tuple< typename std::decay< Ts >::type... >> | tuples | ) |
GeneratorWrapper<T> Catch::Generators::take | ( | size_t | target, |
GeneratorWrapper< T > && | generator | ||
) |
GeneratorWrapper<T> Catch::Generators::value | ( | T && | value | ) |
GeneratorWrapper<T> Catch::Generators::values | ( | std::initializer_list< T > | values | ) |