Home
last modified time | relevance | path

Searched refs:UnitTest (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/
H A Dupgrade-googletest-case.cpp470 class FooUnitTest : public testing::UnitTest {
518 using testing::UnitTest::current_test_case;
533 using testing::UnitTest::GetTestCase;
590 class UnitTest { class
603 testing::UnitTest t; in FuncUnitTest()
641 testing::UnitTest().failed_test_case_count
643 testing::UnitTest().total_test_case_count
645 testing::UnitTest().test_case_to_run_count
664 (void)testing::UnitTest().GetTestCase(0); in unitTestCallAndReference()
702 auto U6 = &testing::UnitTest::GetTestCase; in unitTestCallAndReference()
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest.cc397 UnitTest::GetInstance()-> in operator =()
3177 const UnitTest& /*unit_test*/) { in OnEnvironmentsSetUpStart() argument
3282 const UnitTest& /*unit_test*/) { in OnEnvironmentsTearDownStart() argument
4610 UnitTest* UnitTest::GetInstance() { in GetInstance()
4616 static UnitTest* const instance = new UnitTest; in GetInstance()
4619 static UnitTest instance; in GetInstance()
4768 void UnitTest::AddTestPartResult( in AddTestPartResult()
4848 int UnitTest::Run() { in Run()
4973 UnitTest::UnitTest() { in UnitTest() function in testing::UnitTest
4978 UnitTest::~UnitTest() { in ~UnitTest()
[all …]
H A Dgtest-internal-inl.h512 explicit UnitTestImpl(UnitTest* parent);
831 friend class ::testing::UnitTest;
838 UnitTest* const parent_;
951 return UnitTest::GetInstance()->impl(); in GetUnitTestImpl()
1130 void OnTestProgramStart(const UnitTest& /* unit_test */) override { in OnTestProgramStart() argument
1134 void OnTestProgramEnd(const UnitTest& unit_test) override { in OnTestProgramEnd()
1143 void OnTestIterationStart(const UnitTest& /* unit_test */, in OnTestIterationStart() argument
1149 void OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd()
H A Dgtest-death-test.cc803 UnitTest::GetInstance()->original_working_dir(), &startup_info, in AssumeRole()
1254 UnitTest::GetInstance()->original_working_dir(); in ExecDeathTestChildMain()
1327 UnitTest::GetInstance()->original_working_dir(); in ExecDeathTestSpawnChild()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest.h193 class UnitTest; variable
610 friend class UnitTest; variable
1143 void OnTestIterationStart(const UnitTest& /*unit_test*/, in OnTestIterationStart() argument
1163 void OnTestIterationEnd(const UnitTest& /*unit_test*/, in OnTestIterationEnd() argument
1256 class GTEST_API_ UnitTest {
1261 static UnitTest* GetInstance();
1428 UnitTest();
1431 virtual ~UnitTest();
1453 GTEST_DISALLOW_COPY_AND_ASSIGN_(UnitTest);
1475 return UnitTest::GetInstance()->AddEnvironment(env); in AddGlobalTestEnvironment()
[all …]
H A Dgtest-param-test.h428 ::testing::UnitTest::GetInstance() \
488 ::testing::UnitTest::GetInstance() \
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/Inputs/gtest/nosuite/gtest/
H A Dgtest.h33 class UnitTest {
35 static UnitTest *GetInstance();
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/Inputs/gtest/
H A Dgtest.h45 class UnitTest {
47 static UnitTest *GetInstance();
/llvm-project-15.0.7/lldb/unittests/Host/
H A DFileTest.cpp21 const auto *Info = testing::UnitTest::GetInstance()->current_test_info(); in TEST()
39 const auto *Info = testing::UnitTest::GetInstance()->current_test_info(); in TEST()
/llvm-project-15.0.7/libc/utils/UnitTest/
H A DCMakeLists.txt40 libc.utils.UnitTest.string_utils
76 libc.utils.UnitTest.string_utils
/llvm-project-15.0.7/libc/test/utils/
H A DCMakeLists.txt2 add_subdirectory(UnitTest)
/llvm-project-15.0.7/libc/utils/
H A DCMakeLists.txt3 add_subdirectory(UnitTest)
/llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/
H A DTestBase.cpp17 ::testing::UnitTest::GetInstance()->current_test_info(); in getLogFileName()
/llvm-project-15.0.7/flang/unittests/Runtime/
H A DCrashHandlerFixture.cpp21 << ::testing::UnitTest::GetInstance()->current_test_info()->name() in CatchCrash()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexSymbol.cpp197 Info.Properties |= (SymbolPropertySet)SymbolProperty::UnitTest; in getSymbolInfo()
214 Info.Properties |= (SymbolPropertySet)SymbolProperty::UnitTest; in getSymbolInfo()
228 Info.Properties |= (SymbolPropertySet)SymbolProperty::UnitTest; in getSymbolInfo()
580 APPLY_FOR_PROPERTY(UnitTest); in applyForEachSymbolProperty()
601 case SymbolProperty::UnitTest: OS << "test"; break; in printSymbolProperties()
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/src/
H A Dgmock-internal-utils.cc182 ::testing::UnitTest::GetInstance(), actual_to_skip); in Log()
H A Dgmock-spec-builders.cc792 UnitTest::GetInstance()->current_test_info(); in RegisterUseByOnCallOrExpectCall()
/llvm-project-15.0.7/clang/include/clang/Index/
H A DIndexSymbol.h89 UnitTest = 1 << 3, enumerator
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/google/
H A Dupgrade-googletest-case.rst20 ``testing::TestEventListener``, ``testing::UnitTest``, and any type inheriting
/llvm-project-15.0.7/lldb/unittests/Target/
H A DFindFileTest.cpp65 const auto *Info = testing::UnitTest::GetInstance()->current_test_info(); in TEST_F()
/llvm-project-15.0.7/clang/unittests/StaticAnalyzer/
H A DCheckerRegistration.h109 ::testing::UnitTest::GetInstance()->current_test_info(); in getCurrentTestNameAsFileName()
/llvm-project-15.0.7/flang/unittests/Frontend/
H A DFrontendActionTest.cpp46 testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
/llvm-project-15.0.7/lldb/unittests/Interpreter/
H A DTestCompletion.cpp68 auto test_info = ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h98 class UnitTest; // A collection of test suites. variable
812 UnitTest* unit_test, int skip_count);
/llvm-project-15.0.7/lldb/docs/status/
H A Dprojects.rst302 Add a "testButDontAbort" style test to the UnitTest framework

12