Wire Sysio Wire Sysion 1.0.0
|
Namespaces | |
namespace | pf |
Classes | |
struct | as |
class | ChunkGenerator |
class | FilterGenerator |
class | FixedValuesGenerator |
class | Generators |
struct | GeneratorTracker |
class | GeneratorUntypedBase |
class | GeneratorWrapper |
struct | IGenerator |
class | MapGenerator |
class | RandomFloatingGenerator |
class | RandomIntegerGenerator |
class | RangeGenerator |
class | RepeatGenerator |
class | SingleValueGenerator |
class | TakeGenerator |
Typedefs | |
template<typename Func , typename U > | |
using | MapFunctionReturnType = typename std::remove_reference<typename std::remove_cv<typename std::result_of<Func(U)>::type>::type>::type |
using | GeneratorBasePtr = std::unique_ptr<GeneratorUntypedBase> |
Functions | |
auto | acquireGeneratorTracker (SourceLineInfo const &lineInfo) -> IGeneratorTracker & |
template<typename T > | |
GeneratorWrapper< T > | value (T &&value) |
template<typename T > | |
GeneratorWrapper< T > | values (std::initializer_list< T > values) |
template<typename... Ts> | |
GeneratorWrapper< std::tuple< Ts... > > | table (std::initializer_list< std::tuple< typename std::decay< Ts >::type... > > tuples) |
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 L > | |
auto | generate (SourceLineInfo const &lineInfo, L const &generatorExpression) -> decltype(std::declval< decltype(generatorExpression())>().get()) |
template<typename T > | |
GeneratorWrapper< T > | take (size_t target, GeneratorWrapper< T > &&generator) |
template<typename T , typename Predicate > | |
GeneratorWrapper< T > | filter (Predicate &&pred, GeneratorWrapper< T > &&generator) |
template<typename T > | |
GeneratorWrapper< T > | repeat (size_t repeats, GeneratorWrapper< T > &&generator) |
template<typename Func , typename U , typename T = MapFunctionReturnType<Func, U>> | |
GeneratorWrapper< T > | map (Func &&function, GeneratorWrapper< U > &&generator) |
template<typename T > | |
GeneratorWrapper< std::vector< T > > | chunk (size_t size, 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) |
typedef std::unique_ptr< GeneratorUntypedBase > Catch::Generators::GeneratorBasePtr = std::unique_ptr<GeneratorUntypedBase> |
Definition at line 26 of file catch_interfaces_generatortracker.h.
using Catch::Generators::MapFunctionReturnType = typename std::remove_reference<typename std::remove_cv<typename std::result_of<Func(U)>::type>::type>::type |
Definition at line 180 of file catch_generators_generic.hpp.
auto Catch::Generators::acquireGeneratorTracker | ( | SourceLineInfo const & | lineInfo | ) | -> IGeneratorTracker & |
Definition at line 27 of file catch_generators.cpp.
GeneratorWrapper< std::vector< T > > Catch::Generators::chunk | ( | size_t | size, |
GeneratorWrapper< T > && | generator ) |
Definition at line 232 of file catch_generators_generic.hpp.
GeneratorWrapper< T > Catch::Generators::filter | ( | Predicate && | pred, |
GeneratorWrapper< T > && | generator ) |
Definition at line 88 of file catch_generators_generic.hpp.
auto Catch::Generators::generate | ( | SourceLineInfo const & | lineInfo, |
L const & | generatorExpression ) -> decltype(std::declval<decltype(generatorExpression())>().get()) |
Definition at line 188 of file catch_generators.hpp.
auto Catch::Generators::makeGenerators | ( | as< T > | , |
U && | val, | ||
Gs... | moreGenerators ) -> Generators<T> |
Definition at line 178 of file catch_generators.hpp.
auto Catch::Generators::makeGenerators | ( | GeneratorWrapper< T > && | generator | ) | -> Generators<T> |
auto Catch::Generators::makeGenerators | ( | GeneratorWrapper< T > && | generator, |
Gs... | moreGenerators ) -> Generators<T> |
Definition at line 166 of file catch_generators.hpp.
auto Catch::Generators::makeGenerators | ( | T && | val, |
Gs... | moreGenerators ) -> Generators<T> |
Definition at line 174 of file catch_generators.hpp.
GeneratorWrapper< T > Catch::Generators::map | ( | Func && | function, |
GeneratorWrapper< U > && | generator ) |
Definition at line 184 of file catch_generators_generic.hpp.
std::enable_if< std::is_integral< T >::value &&!std::is_same< T, bool >::value, GeneratorWrapper< T > >::type Catch::Generators::random | ( | T | a, |
T | b ) |
Definition at line 69 of file catch_generators_specific.hpp.
std::enable_if< std::is_floating_point< T >::value, GeneratorWrapper< T > >::type Catch::Generators::random | ( | T | a, |
T | b ) |
Definition at line 78 of file catch_generators_specific.hpp.
GeneratorWrapper< T > Catch::Generators::range | ( | T const & | start, |
T const & | end ) |
Definition at line 125 of file catch_generators_specific.hpp.
GeneratorWrapper< T > Catch::Generators::range | ( | T const & | start, |
T const & | end, | ||
T const & | step ) |
Definition at line 119 of file catch_generators_specific.hpp.
GeneratorWrapper< T > Catch::Generators::repeat | ( | size_t | repeats, |
GeneratorWrapper< T > && | generator ) |
Definition at line 141 of file catch_generators_generic.hpp.
GeneratorWrapper< std::tuple< Ts... > > Catch::Generators::table | ( | std::initializer_list< std::tuple< typename std::decay< Ts >::type... > > | tuples | ) |
Definition at line 157 of file catch_generators.hpp.
GeneratorWrapper< T > Catch::Generators::take | ( | size_t | target, |
GeneratorWrapper< T > && | generator ) |
Definition at line 47 of file catch_generators_generic.hpp.
GeneratorWrapper< T > Catch::Generators::value | ( | T && | value | ) |
Definition at line 103 of file catch_generators.hpp.
GeneratorWrapper< T > Catch::Generators::values | ( | std::initializer_list< T > | values | ) |
Definition at line 107 of file catch_generators.hpp.