Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
Dgtest-listener_test.cc205 UnitTest::GetInstance()->listeners().Append( in main()
207 UnitTest::GetInstance()->listeners().Append( in main()
306 if (UnitTest::GetInstance()->Failed()) in main()
Dgtest-unittest-api_test.cc58 UnitTest& unit_test = *UnitTest::GetInstance(); in GetSortedTestCases()
74 UnitTest& unit_test = *UnitTest::GetInstance(); in FindTestCase()
115 UnitTest* unit_test = UnitTest::GetInstance(); in TEST()
237 UnitTest* unit_test = UnitTest::GetInstance(); in TearDown()
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_shuffle_test_.cc98 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main()
Dgtest_xml_output_unittest_.cc176 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main()
Dgtest_unittest.cc1933 ASSERT_TRUE(UnitTest::GetInstance()->original_working_dir() != NULL); in TEST()
1934 EXPECT_STRNE(UnitTest::GetInstance()->original_working_dir(), ""); in TEST()
1938 EXPECT_LT(0, UnitTest::GetInstance()->start_timestamp()); in TEST()
1939 EXPECT_LE(UnitTest::GetInstance()->start_timestamp(), GetTimeInMillis()); in TEST()
1954 const TestInfo* test_info = UnitTest::GetInstance()->current_test_info(); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTest()
1962 const TestCase* test_case = UnitTest::GetInstance()->current_test_case(); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase()
1971 UnitTest::GetInstance()->ad_hoc_test_result(), key); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase()
1995 const TestCase* test_case = UnitTest::GetInstance()->current_test_case(); in SetUpTestCase()
6247 UnitTest::GetInstance()->current_test_info(); in SetUpTestCase()
6256 UnitTest::GetInstance()->current_test_info(); in TearDownTestCase()
[all …]
Dgtest-param-test_test.cc799 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P()
828 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P()
/ndk/sources/third_party/googletest/googletest/samples/
Dsample10_unittest.cc125 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main()
Dsample9_unittest.cc118 UnitTest& unit_test = *UnitTest::GetInstance(); in main()
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-death-test.cc763 UnitTest::GetInstance()->original_working_dir(), in AssumeRole()
952 UnitTest::GetInstance()->original_working_dir(); in ExecDeathTestChildMain()
1016 UnitTest::GetInstance()->original_working_dir(); in ExecDeathTestSpawnChild()
Dgtest.cc356 UnitTest::GetInstance()-> in operator =()
359 UnitTest::GetInstance()->impl() in operator =()
409 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
419 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
1899 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty()
1915 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2292 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2409 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
3463 UnitTest::GetInstance()->PushGTestTrace(trace); in ScopedTrace()
3469 UnitTest::GetInstance()->PopGTestTrace(); in ~ScopedTrace()
[all …]
Dgtest-internal-inl.h931 return UnitTest::GetInstance()->impl(); in GetUnitTestImpl()
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest.h1099 static UnitTest* GetInstance();
1288 return UnitTest::GetInstance()->AddEnvironment(env); in AddGlobalTestEnvironment()
2257 return ::testing::UnitTest::GetInstance()->Run(); in RUN_ALL_TESTS()
Dgtest-param-test.h.pump454 ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
476 ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
Dgtest-param-test.h1388 ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
1410 ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \