Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
Dgtest-param-test_test.cc72 using ::testing::internal::ParamGenerator;
130 void VerifyGenerator(const ParamGenerator<T>& generator, in VerifyGenerator()
132 typename ParamGenerator<T>::iterator it = generator.begin(); in VerifyGenerator()
172 void VerifyGeneratorIsEmpty(const ParamGenerator<T>& generator) { in VerifyGeneratorIsEmpty()
173 typename ParamGenerator<T>::iterator it = generator.begin(); in VerifyGeneratorIsEmpty()
190 const ParamGenerator<int> gen = Range(0, 10); in TEST()
191 ParamGenerator<int>::iterator it = gen.begin(); in TEST()
194 ParamGenerator<int>::iterator it2 = it; in TEST()
225 const ParamGenerator<int> gen = Range(0, 3); in TEST()
233 const ParamGenerator<int> gen = Range(0, 1); in TEST()
[all …]
Dgtest-param-test2_test.cc42 using ::testing::internal::ParamGenerator;
47 ParamGenerator<int> extern_gen = Values(33);
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util-generated.h62 internal::ParamGenerator<
67 internal::ParamGenerator<T> ValuesIn(const T (&array)[N]);
70 internal::ParamGenerator<typename Container::value_type> ValuesIn(
82 operator ParamGenerator<T>() const { return ValuesIn(&v1_, &v1_ + 1); }
97 operator ParamGenerator<T>() const {
116 operator ParamGenerator<T>() const {
138 operator ParamGenerator<T>() const {
161 operator ParamGenerator<T>() const {
186 operator ParamGenerator<T>() const {
213 operator ParamGenerator<T>() const {
[all …]
Dgtest-param-util-generated.h.pump61 internal::ParamGenerator<
66 internal::ParamGenerator<T> ValuesIn(const T (&array)[N]);
69 internal::ParamGenerator<typename Container::value_type> ValuesIn(
81 operator ParamGenerator<T>() const { return ValuesIn(&v1_, &v1_ + 1); }
100 operator ParamGenerator<T>() const {
135 CartesianProductGenerator$i($for j, [[const ParamGenerator<T$j>& g$j]])
151 const ParamGenerator<T$j>& g$j,
152 const typename ParamGenerator<T$j>::iterator& current$(j)]])
235 const typename ParamGenerator<T$j>::iterator begin$(j)_;
236 const typename ParamGenerator<T$j>::iterator end$(j)_;
[all …]
Dgtest-param-util.h64 template <typename> class ParamGenerator; variable
134 friend class ParamGenerator<T>;
159 class ParamGenerator {
163 explicit ParamGenerator(ParamGeneratorInterface<T>* impl) : impl_(impl) {} in ParamGenerator() function
164 ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {} in ParamGenerator() function
166 ParamGenerator& operator=(const ParamGenerator& other) {
451 typedef ParamGenerator<ParamType>(GeneratorCreationFunc)();
495 ParamGenerator<ParamType> generator((*gen_it->second)()); in RegisterTests()
503 for (typename ParamGenerator<ParamType>::iterator param_it = in RegisterTests()
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-param-test.h.pump241 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) {
242 return internal::ParamGenerator<T>(
247 internal::ParamGenerator<T> Range(T start, T end) {
307 internal::ParamGenerator<
312 return internal::ParamGenerator<ParamType>(
317 internal::ParamGenerator<T> ValuesIn(const T (&array)[N]) {
322 internal::ParamGenerator<typename Container::value_type> ValuesIn(
377 inline internal::ParamGenerator<bool> Bool() {
473 ::testing::internal::ParamGenerator<test_case_name::ParamType> \
Dgtest-param-test.h242 internal::ParamGenerator<T> Range(T start, T end, IncrementT step) { in Range()
243 return internal::ParamGenerator<T>( in Range()
248 internal::ParamGenerator<T> Range(T start, T end) { in Range()
308 internal::ParamGenerator<
313 return internal::ParamGenerator<ParamType>( in ValuesIn()
318 internal::ParamGenerator<T> ValuesIn(const T (&array)[N]) { in ValuesIn()
323 internal::ParamGenerator<typename Container::value_type> ValuesIn( in ValuesIn()
1220 inline internal::ParamGenerator<bool> Bool() { in Bool()
1407 ::testing::internal::ParamGenerator<test_case_name::ParamType> \