template <class TestSuite>

class ParameterizedTestSuiteInfo

Defined at line 506 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h

INTERNAL IMPLEMENTATION - DO NOT USE IN USER CODE.

ParameterizedTestSuiteInfo accumulates tests obtained from TEST_P

macro invocations for a particular test suite and generators

obtained from INSTANTIATE_TEST_SUITE_P macro invocations for that

test suite. It registers tests with all values generated by all

generators when asked.

Public Methods

void ParameterizedTestSuiteInfo<TestSuite> (std::string name, CodeLocation code_location)

Defined at line 516 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h

const std::string & GetTestSuiteName ()

Test suite base name for display purposes.

Defined at line 522 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h

TypeId GetTestSuiteTypeId ()

Test suite id to verify identity.

Defined at line 526 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h

void AddTestPattern (const char * , const char * test_base_name, TestMetaFactoryBase<ParamType> * meta_factory, CodeLocation code_location)

TEST_P macro uses AddTestPattern() to record information

about a single test in a LocalTestInfo structure.

test_suite_name is the base name of the test suite (without invocation

prefix). test_base_name is the name of an individual test without

parameter index. For the test SequenceA/FooTest.DoBar/1 FooTest is

test suite base name and DoBar is test base name.

Defined at line 533 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h

int AddTestSuiteInstantiation (std::string instantiation_name, GeneratorCreationFunc * func, ParamNameGeneratorFunc * name_func, const char * file, int line)

INSTANTIATE_TEST_SUITE_P macro uses AddGenerator() to record information

about a generator.

Defined at line 541 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h

void RegisterTests ()

UnitTest class invokes this method to register tests in this test suite

right before running tests in RUN_ALL_TESTS macro.

This method should not be called more than once on any single

instance of a ParameterizedTestSuiteInfoBase derived class.

UnitTest has a guard to prevent from calling this method more than once.

Defined at line 554 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-param-util.h