Searched refs:IGenerator (Results 1 – 9 of 9) sorted by relevance
45 struct IGenerator : GeneratorUntypedBase { struct46 virtual ~IGenerator() = default;57 class SingleValueGenerator final : public IGenerator<T> {72 class FixedValuesGenerator final : public IGenerator<T> {89 std::unique_ptr<IGenerator<T>> m_generator;91 GeneratorWrapper(std::unique_ptr<IGenerator<T>> generator): in GeneratorWrapper()112 class Generators : public IGenerator<T> {196 … auto const& generator = static_cast<IGenerator<UnderlyingType> const&>( *tracker.getGenerator() ); in generate()
16 class TakeGenerator : public IGenerator<T> {53 class FilterGenerator : public IGenerator<T> {89 …return GeneratorWrapper<T>(std::unique_ptr<IGenerator<T>>(pf::make_unique<FilterGenerator<T, Predi… in filter()93 class RepeatGenerator : public IGenerator<T> {146 class MapGenerator : public IGenerator<T> {186 class ChunkGenerator final : public IGenerator<std::vector<T>> {
20 class RandomFloatingGenerator final : public IGenerator<Float> {43 class RandomIntegerGenerator final : public IGenerator<Integer> {86 class RangeGenerator final : public IGenerator<T> {
12 class RandomIntGenerator : public Catch::Generators::IGenerator<int> {41 …return Catch::Generators::GeneratorWrapper<int>(std::unique_ptr<Catch::Generators::IGenerator<int>… in random()53 …auto i = GENERATE(take(100, GeneratorWrapper<int>(std::unique_ptr<IGenerator<int>>(new RandomIntGe…
14 class LineGenerator : public Catch::Generators::IGenerator<std::string> {39 std::unique_ptr<Catch::Generators::IGenerator<std::string>>( in lines()
14 class RandomDoubleGenerator : public Catch::Generators::IGenerator<double> {42 …enerators::GeneratorWrapper<double>(std::unique_ptr<Catch::Generators::IGenerator<double>>(new Ran… in random()
27 with the already provided generators, and the `IGenerator<T>` interface109 `IGenerator<T>` interface:113 struct IGenerator : GeneratorUntypedBase {128 `std::unique_ptr<IGenerator<T>>`.
3531 struct IGenerator : GeneratorUntypedBase { struct3532 virtual ~IGenerator() = default;3543 class SingleValueGenerator final : public IGenerator<T> {3558 class FixedValuesGenerator final : public IGenerator<T> {3575 std::unique_ptr<IGenerator<T>> m_generator;3577 GeneratorWrapper(std::unique_ptr<IGenerator<T>> generator): in GeneratorWrapper()3598 class Generators : public IGenerator<T> {3681 … auto const& generator = static_cast<IGenerator<UnderlyingType> const&>( *tracker.getGenerator() ); in generate()3698 class TakeGenerator : public IGenerator<T> {3734 class FilterGenerator : public IGenerator<T> {[all …]
2340 struct IGenerator { struct2341 virtual ~IGenerator() {} in ~IGenerator() argument2347 class BetweenGenerator : public IGenerator<T> {2366 class ValuesGenerator : public IGenerator<T> {2411 typename std::vector<const IGenerator<T>*>::const_iterator it = m_composed.begin(); in operator T()2412 typename std::vector<const IGenerator<T>*>::const_iterator itEnd = m_composed.end(); in operator T()2415 const IGenerator<T>* generator = *it; in operator T()2426 void add( const IGenerator<T>* generator ) { in add()2451 std::vector<const IGenerator<T>*> m_composed;