Namespaces | Classes | Typedefs | Functions
Catch::Generators Namespace Reference

Namespaces

 pf
 

Classes

class  FixedValuesGenerator
 
class  Generator
 
class  GeneratorBase
 
class  GeneratorRandomiser
 
struct  Generators
 
struct  IGenerator
 
struct  NullGenerator
 
class  RangeGenerator
 
struct  RequiresASpecialisationFor
 
class  SingleValueGenerator
 

Typedefs

using GeneratorBasePtr = std::unique_ptr< GeneratorBase >
 

Functions

auto acquireGeneratorTracker (SourceLineInfo const &lineInfo) -> IGeneratorTracker &
 
template<typename T >
auto all () -> Generator< T >
 
template<>
auto all< int > () -> Generator< int >
 
template<typename T >
auto as () -> Generator< T >
 
template<typename L >
auto generate (SourceLineInfo const &lineInfo, L const &generatorExpression) -> decltype(std::declval< decltype(generatorExpression())>()[0])
 
template<typename T , typename... Gs>
auto makeGenerators (Generator< T > &&generator, Gs...moreGenerators) -> Generators< T >
 
template<typename T >
auto makeGenerators (Generator< 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 (U &&val, Gs...moreGenerators) -> Generators< T >
 
template<typename T >
auto random (T const &first, T const &last) -> Generator< T >
 
template<typename T >
auto random (size_t size) -> Generator< T >
 
std::vector< size_t > randomiseIndices (size_t selectionSize, size_t sourceSize)
 
template<typename T >
auto range (T const &first, T const &last) -> Generator< T >
 
template<typename... Ts>
auto table (std::initializer_list< std::tuple< Ts... >> &&tuples) -> Generator< std::tuple< Ts... >>
 
template<typename T >
auto value (T const &val) -> Generator< T >
 
template<typename T >
auto values (std::initializer_list< T > values) -> Generator< T >
 

Typedef Documentation

using Catch::Generators::GeneratorBasePtr = typedef std::unique_ptr<GeneratorBase>

Definition at line 2997 of file catch.hpp.

Function Documentation

auto Catch::Generators::acquireGeneratorTracker ( SourceLineInfo const &  lineInfo) -> IGeneratorTracker &
template<typename T >
auto Catch::Generators::all ( ) -> Generator<T>

Definition at line 3150 of file catch.hpp.

template<>
auto Catch::Generators::all< int > ( ) -> Generator< int >
template<typename T >
auto Catch::Generators::as ( ) -> Generator<T>

Definition at line 3182 of file catch.hpp.

template<typename L >
auto Catch::Generators::generate ( SourceLineInfo const &  lineInfo,
L const &  generatorExpression 
) -> decltype(std::declval<decltype(generatorExpression())>()[0])

Definition at line 3258 of file catch.hpp.

template<typename T , typename... Gs>
auto Catch::Generators::makeGenerators ( Generator< T > &&  generator,
Gs...  moreGenerators 
) -> Generators<T>

Definition at line 3231 of file catch.hpp.

template<typename T >
auto Catch::Generators::makeGenerators ( Generator< T > &&  generator) -> Generators<T>

Definition at line 3238 of file catch.hpp.

template<typename T , typename... Gs>
auto Catch::Generators::makeGenerators ( T &&  val,
Gs...  moreGenerators 
) -> Generators<T>

Definition at line 3244 of file catch.hpp.

template<typename T , typename U , typename... Gs>
auto Catch::Generators::makeGenerators ( U &&  val,
Gs...  moreGenerators 
) -> Generators<T>

Definition at line 3248 of file catch.hpp.

template<typename T >
auto Catch::Generators::random ( T const &  first,
T const &  last 
) -> Generator<T>

Definition at line 3161 of file catch.hpp.

template<typename T >
auto Catch::Generators::random ( size_t  size) -> Generator<T>

Definition at line 3168 of file catch.hpp.

std::vector<size_t> Catch::Generators::randomiseIndices ( size_t  selectionSize,
size_t  sourceSize 
)
template<typename T >
auto Catch::Generators::range ( T const &  first,
T const &  last 
) -> Generator<T>

Definition at line 3156 of file catch.hpp.

template<typename... Ts>
auto Catch::Generators::table ( std::initializer_list< std::tuple< Ts... >> &&  tuples) -> Generator<std::tuple<Ts...>>

Definition at line 3187 of file catch.hpp.

template<typename T >
auto Catch::Generators::value ( T const &  val) -> Generator<T>

Definition at line 3177 of file catch.hpp.

template<typename T >
auto Catch::Generators::values ( std::initializer_list< T >  values) -> Generator<T>

Definition at line 3173 of file catch.hpp.



catch_ros
Author(s): Max Schwarz
autogenerated on Sat Jun 8 2019 17:59:58