Home
last modified time | relevance | path

Searched refs:ParamGenerator (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-param-test-test.cc62 using ::testing::internal::ParamGenerator;
80 void VerifyGenerator(const ParamGenerator<T>& generator, in VerifyGenerator()
82 typename ParamGenerator<T>::iterator it = generator.begin(); in VerifyGenerator()
120 void VerifyGeneratorIsEmpty(const ParamGenerator<T>& generator) { in VerifyGeneratorIsEmpty()
121 typename ParamGenerator<T>::iterator it = generator.begin(); in VerifyGeneratorIsEmpty()
138 const ParamGenerator<int> gen = Range(0, 10); in TEST()
139 ParamGenerator<int>::iterator it = gen.begin(); in TEST()
142 ParamGenerator<int>::iterator it2 = it; in TEST()
173 const ParamGenerator<int> gen = Range(0, 3); in TEST()
181 const ParamGenerator<int> gen = Range(0, 1); in TEST()
[all …]
H A Dgoogletest-param-test2-test.cc38 using ::testing::internal::ParamGenerator;
43 ParamGenerator<int> extern_gen = Values(33);
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-param-test.h229 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { in Range()
230 return internal::ParamGenerator<T>( in Range()
235 internal::ParamGenerator<T> Range(T start, T end) { in Range()
295 internal::ParamGenerator<
299 return internal::ParamGenerator<ParamType>( in ValuesIn()
304 internal::ParamGenerator<T> ValuesIn(const T (&array)[N]) { in ValuesIn()
309 internal::ParamGenerator<typename Container::value_type> ValuesIn( in ValuesIn()
359 inline internal::ParamGenerator<bool> Bool() { return Values(false, true); } in Bool()
446 internal::ParamGenerator<T> gen) { in ConvertGenerator()
497 static ::testing::internal::ParamGenerator<test_suite_name::ParamType> \
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h94 class ParamGenerator; variable
163 friend class ParamGenerator<T>;
188 class ParamGenerator {
192 explicit ParamGenerator(ParamGeneratorInterface<T>* impl) : impl_(impl) {} in ParamGenerator() function
193 ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {} in ParamGenerator() function
195 ParamGenerator& operator=(const ParamGenerator& other) {
512 typedef ParamGenerator<ParamType>(GeneratorCreationFunc)();
562 ParamGenerator<ParamType> generator((*instantiation.generator)()); in RegisterTests()
795 internal::ParamGenerator<typename Container::value_type> ValuesIn(
809 operator ParamGenerator<T>() const { // NOLINT
[all …]