Home
last modified time | relevance | path

Searched refs:IGenerator (Results 1 – 9 of 9) sorted by relevance

/external/catch2/include/internal/
Dcatch_generators.hpp45 struct IGenerator : GeneratorUntypedBase { struct
46 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()
Dcatch_generators_generic.hpp16 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>> {
Dcatch_generators_specific.hpp20 class RandomFloatingGenerator final : public IGenerator<Float> {
43 class RandomIntegerGenerator final : public IGenerator<Integer> {
86 class RangeGenerator final : public IGenerator<T> {
/external/catch2/examples/
D300-Gen-OwnGenerator.cpp12 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…
D301-Gen-MapTypeConversion.cpp14 class LineGenerator : public Catch::Generators::IGenerator<std::string> {
39 std::unique_ptr<Catch::Generators::IGenerator<std::string>>( in lines()
D310-Gen-VariablesInGenerators.cpp14 class RandomDoubleGenerator : public Catch::Generators::IGenerator<double> {
42 …enerators::GeneratorWrapper<double>(std::unique_ptr<Catch::Generators::IGenerator<double>>(new Ran… in random()
/external/catch2/docs/
Dgenerators.md27 with the already provided generators, and the `IGenerator<T>` interface
109 `IGenerator<T>` interface:
113 struct IGenerator : GeneratorUntypedBase {
128 `std::unique_ptr<IGenerator<T>>`.
/external/catch2/single_include/catch2/
Dcatch.hpp3531 struct IGenerator : GeneratorUntypedBase { struct
3532 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 …]
/external/bcc/tests/cc/
Dcatch.hpp2340 struct IGenerator { struct
2341 virtual ~IGenerator() {} in ~IGenerator() argument
2347 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;