Home
last modified time | relevance | path

Searched refs:TestInfo (Results 1 – 15 of 15) sorted by relevance

/ndk/sources/android/support/tests/minitest/
Dminitest.cc10 struct TestInfo { struct
14 TestInfo* next; argument
17 TestInfo* g_test_infos;
18 TestInfo** g_test_infos_tail;
171 TestInfo* info = reinterpret_cast<TestInfo*>(::malloc(sizeof(*info))); in RegisterTest()
185 TestInfo* info = g_test_infos; in main()
/ndk/sources/third_party/googletest/googletest/samples/
Dsample9_unittest.cc44 using ::testing::TestInfo;
64 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart()
84 virtual void OnTestEnd(const TestInfo& test_info) { in OnTestEnd()
145 const TestInfo& test_info = *test_case.GetTestInfo(j); in main()
Dsample10_unittest.cc44 using ::testing::TestInfo;
81 virtual void OnTestStart(const TestInfo& /* test_info */) { in OnTestStart() argument
86 virtual void OnTestEnd(const TestInfo& /* test_info */) { in OnTestEnd() argument
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest.h174 class TestInfo; variable
349 friend class TestInfo;
541 friend class TestInfo;
621 class GTEST_API_ TestInfo {
625 ~TestInfo();
678 friend TestInfo* internal::MakeAndRegisterTestInfo(
690 TestInfo(const std::string& test_case_name,
707 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
732 GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
799 const TestInfo* GetTestInfo(int i) const;
[all …]
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-unittest-api_test.cc86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { in GetSortedTests()
87 TestInfo const** const tests = in GetSortedTests()
88 new const TestInfo*[test_case->total_test_count()]; in GetSortedTests()
94 LessByName<TestInfo>()); in GetSortedTests()
158 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_case); in TEST()
221 const TestInfo* const test_info = test_case->GetTestInfo(0); in TEST()
280 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_case); in TearDown()
Dgtest_shuffle_test_.cc43 using ::testing::TestInfo;
86 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart()
Dgtest-listener_test.cc45 using ::testing::TestInfo;
84 virtual void OnTestStart(const TestInfo& /*test_info*/) { in OnTestStart() argument
92 virtual void OnTestEnd(const TestInfo& /*test_info*/) { in OnTestEnd() argument
Dgtest_stress_test.cc118 const TestInfo* const info = UnitTest::GetInstance()->current_test_info(); in CheckTestFailureCount()
144 const TestInfo* const info = UnitTest::GetInstance()->current_test_info(); in TEST()
Dgtest-param-test_test.cc798 const ::testing::TestInfo* const test_info = in TEST_P()
827 const ::testing::TestInfo* const test_info = in TEST_P()
Dgtest_unittest.cc105 TestInfo test_info_obj_; // The name test_info_ was taken by testing::Test.
229 using testing::TestInfo;
1954 const TestInfo* test_info = UnitTest::GetInstance()->current_test_info(); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTest()
5185 static const TestInfo* GetTestInfo(const char* test_name) { in GetTestInfo()
5190 const TestInfo* const test_info = test_case->GetTestInfo(i); in GetTestInfo()
5198 const TestInfo* test_info) { in GetTestResult()
5205 const TestInfo* const test_info = GetTestInfo("Names"); in TEST_F()
5213 const TestInfo* const test_info = GetTestInfo("result"); in TEST_F()
6246 const TestInfo* test_info = in SetUpTestCase()
6255 const TestInfo* test_info = in TearDownTestCase()
[all …]
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h469 tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name, in AddTestPattern()
490 linked_ptr<TestInfo> test_info = *test_it; in RegisterTests()
525 struct TestInfo { struct
526 TestInfo(const char* a_test_case_base_name, in TestInfo() function
537 typedef ::std::vector<linked_ptr<TestInfo> > TestInfoContainer; argument
Dgtest-internal.h85 class TestInfo; // Information about a test. variable
480 GTEST_API_ TestInfo* MakeAndRegisterTestInfo(
1131 static ::testing::TestInfo* const test_info_ GTEST_ATTRIBUTE_UNUSED_;\
1136 ::testing::TestInfo* const GTEST_TEST_CLASS_NAME_(test_case_name, test_name)\
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-internal-inl.h650 TestInfo* test_info) { in AddTestInfo()
686 void set_current_test_info(TestInfo* a_current_test_info) { in set_current_test_info()
737 TestInfo* current_test_info() { return current_test_info_; } in current_test_info()
738 const TestInfo* current_test_info() const { return current_test_info_; } in current_test_info()
873 TestInfo* current_test_info_;
1172 void OnTestStart(const TestInfo& test_info) { in OnTestStart()
1176 void OnTestEnd(const TestInfo& test_info) { in OnTestEnd()
Dgtest.cc1935 const TestInfo* const first_test_info = test_case->test_info_list()[0]; in HasSameFixtureClass()
1940 const TestInfo* const this_test_info = impl->current_test_info(); in HasSameFixtureClass()
2162 TestInfo::TestInfo(const std::string& a_test_case_name, in TestInfo() function in testing::TestInfo
2180 TestInfo::~TestInfo() { delete factory_; } in ~TestInfo()
2201 TestInfo* MakeAndRegisterTestInfo( in MakeAndRegisterTestInfo()
2210 TestInfo* const test_info = in MakeAndRegisterTestInfo()
2211 new TestInfo(test_case_name, name, type_param, value_param, in MakeAndRegisterTestInfo()
2257 bool operator()(const TestInfo * test_info) const { in operator ()()
2285 void TestInfo::Run() { in Run()
2378 ForEach(test_info_list_, internal::Delete<TestInfo>); in ~TestCase()
[all …]
Dgtest-death-test.cc336 TestInfo* const info = GetUnitTestImpl()->current_test_info(); in DeathTest()
688 const TestInfo* const info = impl->current_test_info(); in AssumeRole()
1104 const TestInfo* const info = impl->current_test_info(); in AssumeRole()