Home | History | Annotate | Download | only in test

Lines Matching refs:generator

73 // Verifies that a sequence generated by the generator and accessed
77 void VerifyGenerator(const ParamGenerator<T>& generator,
79 typename ParamGenerator<T>::iterator it = generator.begin();
81 ASSERT_FALSE(it == generator.end())
89 EXPECT_TRUE(it == generator.end())
97 it = generator.begin();
99 ASSERT_FALSE(it == generator.end())
107 EXPECT_TRUE(it == generator.end())
113 void VerifyGeneratorIsEmpty(const ParamGenerator<T>& generator) {
114 typename ParamGenerator<T>::iterator it = generator.begin();
115 EXPECT_TRUE(it == generator.end());
117 it = generator.begin();
118 EXPECT_TRUE(it == generator.end());
121 // Generator tests. They test that each of the provided generator functions
123 // instantiates a generator using one of the generator functions,
124 // checks the sequence produced by the generator using its iterator API,
128 // Tests that iterators produced by generator functions conform to the
515 // Tests that an generator produces correct sequence after being
516 // assigned from another generator.
527 // one test per element from the sequence produced by the generator
688 // functional. Generator extern_gen is defined in gtest-param-test_test2.cc.
756 // INSTANTIATE_TEST_CASE_P(SequenceName, TestCaseName, generator) must be named