/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest-typed-test_test.cc | 182 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST() 188 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST() 298 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST_P() 304 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST_P() 402 return testing::UnitTest::GetInstance()->current_test_info()->name(); in GetTestName()
|
H A D | googletest-listener-test.cc | 267 UnitTest::GetInstance()->listeners().Append( in main() 269 UnitTest::GetInstance()->listeners().Append( in main() 271 UnitTest::GetInstance()->listeners().Append( in main() 506 if (UnitTest::GetInstance()->Failed()) ret_val = 1; in main()
|
H A D | gtest-unittest-api_test.cc | 58 UnitTest& unit_test = *UnitTest::GetInstance(); in GetSortedTestSuites() 73 UnitTest& unit_test = *UnitTest::GetInstance(); in FindTestSuite() 109 const auto& unit_test = UnitTest::GetInstance(); in TEST() 227 const auto& unit_test = UnitTest::GetInstance(); in TearDown()
|
H A D | googletest-param-test-test.cc | 840 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P() 861 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P() 875 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_F() 884 const auto& ins = testing::UnitTest::GetInstance(); in TEST() 960 const auto& unit_test = ::testing::UnitTest::GetInstance(); in TEST() 983 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P() 1008 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P() 1038 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P() 1066 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P()
|
H A D | gtest_stress_test.cc | 110 const TestInfo* const info = UnitTest::GetInstance()->current_test_info(); in CheckTestFailureCount() 134 const TestInfo* const info = UnitTest::GetInstance()->current_test_info(); in TEST()
|
H A D | gtest_assert_by_exception_test.cc | 100 testing::UnitTest::GetInstance()->listeners().Append(new ThrowListener); in main()
|
H A D | gtest_unittest.cc | 1998 ASSERT_TRUE(UnitTest::GetInstance()->original_working_dir() != nullptr); in TEST() 1999 EXPECT_STRNE(UnitTest::GetInstance()->original_working_dir(), ""); in TEST() 2003 EXPECT_LT(0, UnitTest::GetInstance()->start_timestamp()); in TEST() 2004 EXPECT_LE(UnitTest::GetInstance()->start_timestamp(), GetTimeInMillis()); in TEST() 2019 const TestInfo* test_info = UnitTest::GetInstance()->current_test_info(); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTest() 2028 UnitTest::GetInstance()->current_test_suite(); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestSuite() 2037 UnitTest::GetInstance()->ad_hoc_test_result(), key); in ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite() 2063 UnitTest::GetInstance()->current_test_suite(); in SetUpTestSuite() 6356 const TestInfo* test_info = UnitTest::GetInstance()->current_test_info(); in SetUpTestSuite() 6364 const TestInfo* test_info = UnitTest::GetInstance()->current_test_info(); in TearDownTestSuite() [all …]
|
H A D | googletest-shuffle-test_.cc | 94 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main()
|
H A D | gtest_xml_output_unittest_.cc | 190 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main()
|
H A D | googletest-failfast-unittest_.cc | 164 ::testing::UnitTest::GetInstance()->listeners().Append(new MyTestListener()); in main()
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-param-test.h | 460 ::testing::UnitTest::GetInstance() \ 519 ::testing::UnitTest::GetInstance() \
|
H A D | gtest.h | 1118 static UnitTest* GetInstance(); 1346 return UnitTest::GetInstance()->AddEnvironment(env); in AddGlobalTestEnvironment() 2334 inline int RUN_ALL_TESTS() { return ::testing::UnitTest::GetInstance()->Run(); } in RUN_ALL_TESTS()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | FileCache.h | 29 static FileCache &GetInstance();
|
/freebsd/contrib/googletest/googletest/samples/ |
H A D | sample10_unittest.cc | 119 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main()
|
H A D | sample9_unittest.cc | 107 UnitTest& unit_test = *UnitTest::GetInstance(); in main()
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest.cc | 476 UnitTest::GetInstance()->AddTestPartResult( in operator =() 480 ? UnitTest::GetInstance()->impl()->CurrentOsStackTraceExceptTop(1) in operator =() 523 return UnitTest::GetInstance()->impl()->ignored_parameterized_test_suites(); in GetIgnoredParameterizedTestSuites() 704 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile() 711 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile() 2506 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty() 2515 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation() 2833 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run() 2840 UnitTest::GetInstance()->set_current_test_info(this); in Run() 2846 UnitTest::GetInstance()->UponLeavingGTest(); in Run() [all …]
|
H A D | gtest-death-test.cc | 823 UnitTest::GetInstance()->original_working_dir(), &startup_info, in AssumeRole() 1193 UnitTest::GetInstance()->original_working_dir(); in ExecDeathTestChildMain() 1270 UnitTest::GetInstance()->original_working_dir(); in ExecDeathTestSpawnChild()
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | FileCache.cpp | 19 FileCache &FileCache::GetInstance() { in GetInstance() function in FileCache
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock_stress_test.cc | 208 const TestInfo* const info = UnitTest::GetInstance()->current_test_info(); in TEST()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
H A D | PlatformPOSIX.cpp | 223 user_id_t fd_dst = FileCache::GetInstance().OpenFile( in GetFile() 244 if (FileCache::GetInstance().WriteFile(fd_dst, offset, in GetFile() 259 !FileCache::GetInstance().CloseFile(fd_dst, error)) { in GetFile()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | Platform.cpp | 642 return FileCache::GetInstance().OpenFile(file_spec, flags, mode, error); in OpenFile() 648 return FileCache::GetInstance().CloseFile(fd, error); in CloseFile() 665 return FileCache::GetInstance().ReadFile(fd, offset, dst, dst_len, error); in ReadFile() 675 return FileCache::GetInstance().WriteFile(fd, offset, src, src_len, error); in WriteFile()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/ |
H A D | rtsan_test_interceptors.cpp | 47 ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCContext.cpp | 364 unsigned MCContext::GetInstance(unsigned LocalLabelVal) { in GetInstance() function in MCContext 386 unsigned Instance = GetInstance(LocalLabelVal); in getDirectionalLocalSymbol()
|
/freebsd/contrib/googletest/googlemock/src/ |
H A D | gmock-spec-builders.cc | 698 UnitTest::GetInstance()->current_test_info(); in RegisterUseByOnCallOrExpectCall()
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | testing.md | 788 `UnitTest::GetInstance()` is first called. This instance is never deleted. 794 ##### GetInstance {#UnitTest::GetInstance} 796 `static UnitTest* UnitTest::GetInstance()`
|