Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ make
- [ 25%] Building CXX object CMakeFiles/test_test.dir/test_test.cpp.o
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘class testing::internal::ParameterizedTestSuiteInfo<TestF>’:
- /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here
- /usr/include/gtest/internal/gtest-param-util.h:501:9: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 501 | using ParamType = typename TestSuite::ParamType;
- | ^~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h:503:37: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 503 | typedef ParamGenerator<ParamType>(GeneratorCreationFunc)();
- | ^~~~~~~~~~~~~~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h:504:9: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 504 | using ParamNameGeneratorFunc = std::string(const TestParamInfo<ParamType>&);
- | ^~~~~~~~~~~~~~~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h:522:8: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 522 | void AddTestPattern(const char* test_suite_name, const char* test_base_name,
- | ^~~~~~~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h:523:55: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 523 | TestMetaFactoryBase<ParamType>* meta_factory,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘class testing::internal::TestMetaFactory<TestF_SomeTest_Test>’:
- /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here
- /usr/include/gtest/internal/gtest-param-util.h:431:7: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is private within this context
- 431 | class TestMetaFactory
- | ^~~~~~~~~~~~~~~
- /home/mikhail/Projects/poc/test_test.cpp:5:7: note: declared private here
- 5 | class TestF : ::testing::TestWithParam<int> {};
- | ^~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h:434:9: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is private within this context
- 434 | using ParamType = typename TestSuite::ParamType;
- | ^~~~~~~~~
- /home/mikhail/Projects/poc/test_test.cpp:5:7: note: declared private here
- 5 | class TestF : ::testing::TestWithParam<int> {};
- | ^~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘void testing::internal::ParameterizedTestSuiteInfo<TestSuite>::AddTestPattern(const char*, const char*, testing::internal::TestMetaFactoryBase<typename TestSuite::ParamType>*, testing::internal::CodeLocation) [with TestSuite = TestF; typename TestSuite::ParamType = int]’:
- /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here
- /usr/include/gtest/internal/gtest-param-util.h:523:55: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 523 | TestMetaFactoryBase<ParamType>* meta_factory,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘struct testing::internal::ParameterizedTestSuiteInfo<TestF>::TestInfo’:
- /usr/include/gtest/internal/gtest-param-util.h:525:48: required from ‘void testing::internal::ParameterizedTestSuiteInfo<TestSuite>::AddTestPattern(const char*, const char*, testing::internal::TestMetaFactoryBase<typename TestSuite::ParamType>*, testing::internal::CodeLocation) [with TestSuite = TestF; typename TestSuite::ParamType = int]’
- /home/mikhail/Projects/poc/test_test.cpp:7:1: required from here
- /usr/include/gtest/internal/gtest-param-util.h:613:5: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 613 | TestInfo(const char* a_test_suite_base_name, const char* a_test_base_name,
- | ^~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h:614:46: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 614 | TestMetaFactoryBase<ParamType>* a_test_meta_factory,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h:623:60: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 623 | const std::unique_ptr<TestMetaFactoryBase<ParamType> > test_meta_factory;
- | ^~~~~~~~~~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h:623:60: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 623 | const std::unique_ptr<TestMetaFactoryBase<ParamType> > test_meta_factory;
- | ^~~~~~~~~~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘class testing::internal::ParameterizedTestFactory<TestF_SomeTest_Test>’:
- /usr/include/gtest/internal/gtest-param-util.h:439:12: required from ‘testing::internal::TestFactoryBase* testing::internal::TestMetaFactory<TestSuite>::CreateTestFactory(testing::internal::TestMetaFactory<TestSuite>::ParamType) [with TestSuite = TestF_SomeTest_Test; testing::internal::TestMetaFactory<TestSuite>::ParamType = int]’
- /usr/include/gtest/internal/gtest-param-util.h:438:20: required from here
- /usr/include/gtest/internal/gtest-param-util.h:396:41: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is private within this context
- 396 | typedef typename TestClass::ParamType ParamType;
- | ^~~~~~~~~
- /home/mikhail/Projects/poc/test_test.cpp:5:7: note: declared private here
- 5 | class TestF : ::testing::TestWithParam<int> {};
- | ^~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h: In instantiation of ‘void testing::internal::ParameterizedTestSuiteInfo<TestSuite>::RegisterTests() [with TestSuite = TestF]’:
- /usr/include/gtest/internal/gtest-param-util.h:543:8: required from here
- /usr/include/gtest/internal/gtest-param-util.h:553:35: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 553 | ParamGenerator<ParamType> generator((*gen_it->generator)());
- | ^~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h:565:59: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 565 | for (typename ParamGenerator<ParamType>::iterator param_it =
- | ^~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- In file included from /usr/include/gtest/gtest-param-test.h:178,
- from /usr/include/gtest/gtest.h:67,
- from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/internal/gtest-param-util.h:573:15: error: ‘typedef int testing::WithParamInterface<int>::ParamType’ is inaccessible within this context
- 573 | TestParamInfo<ParamType>(*param_it, i));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /home/mikhail/Projects/poc/test_test.cpp:3:
- /usr/include/gtest/gtest.h:1848:13: note: declared here
- 1848 | typedef T ParamType;
- | ^~~~~~~~~
- make[2]: *** [CMakeFiles/test_test.dir/build.make:76: CMakeFiles/test_test.dir/test_test.cpp.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/test_test.dir/all] Error 2
- make: *** [Makefile:91: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment