Lines Matching refs:generator
126 // Verifies that a sequence generated by the generator and accessed
130 void VerifyGenerator(const ParamGenerator<T>& generator,
132 typename ParamGenerator<T>::iterator it = generator.begin();
134 ASSERT_FALSE(it == generator.end())
146 EXPECT_TRUE(it == generator.end())
154 it = generator.begin();
156 ASSERT_FALSE(it == generator.end())
166 EXPECT_TRUE(it == generator.end())
172 void VerifyGeneratorIsEmpty(const ParamGenerator<T>& generator) {
173 typename ParamGenerator<T>::iterator it = generator.begin();
174 EXPECT_TRUE(it == generator.end());
176 it = generator.begin();
177 EXPECT_TRUE(it == generator.end());
180 // Generator tests. They test that each of the provided generator functions
182 // instantiates a generator using one of the generator functions,
183 // checks the sequence produced by the generator using its iterator API,
187 // Tests that iterators produced by generator functions conform to the
547 // Tests that an generator produces correct sequence after being
548 // assigned from another generator.
559 // one test per element from the sequence produced by the generator
722 // functional. Generator extern_gen is defined in gtest-param-test_test2.cc.
790 // INSTANTIATE_TEST_CASE_P(SequenceName, TestCaseName, generator) must be named