HomeSort by: relevance | last modified time | path
    Searched refs:WithParamInterface (Results 1 - 2 of 2) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/
gtest-param-test.h 151 // testing::WithParamInterface<T>, where T is the type of the parameter
153 // TestWithParam<T> inherits from both Test and WithParamInterface. In more
155 // separately from Test and WithParamInterface. For example:
162 class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> {
gtest.h 1816 // ::testing::WithParamInterface. In most cases that just means inheriting
1818 // may need to inherit from Test and WithParamInterface at different levels.
1849 class WithParamInterface {
1852 virtual ~WithParamInterface() {}
1873 // TestClass must be a subclass of WithParamInterface<T> and Test.
1878 const T* WithParamInterface<T>::parameter_ = nullptr;
1881 // WithParamInterface, and can just inherit from ::testing::TestWithParam.
1884 class TestWithParam : public Test, public WithParamInterface<T> {

Completed in 17 milliseconds