Home
last modified time | relevance | path

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

/llvm-project/third-party/unittest/googletest/include/gtest/
H A Dgtest.h217 class TestInfo; variable
245 friend class TestInfo;
447 friend class TestInfo;
534 class GTEST_API_ TestInfo {
538 ~TestInfo();
610 friend TestInfo* internal::MakeAndRegisterTestInfo(
619 TestInfo(const std::string& test_suite_name, const std::string& name,
639 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult()
666 TestInfo(const TestInfo&) = delete;
667 TestInfo& operator=(const TestInfo&) = delete;
[all …]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/google/
H A Dupgrade-googletest-case.cpp217 class FooTestInfo : public testing::TestInfo {
228 class BarTestInfo : public testing::TestInfo {
230 using TestInfo::test_case_name;
242 class BarTestInfo3 : public testing::TestInfo {
252 class TestInfo { class
260 testing::TestInfo t; in FuncInfo()
274 #define TEST_CASE_NAME_MACRO_WARN_ONLY testing::TestInfo().test_case_name
277 (void)testing::TestInfo().test_case_name(); in testInfoCallAndReference()
283 auto F1 = &testing::TestInfo::test_case_name; in testInfoCallAndReference()
289 using MyTestInfo = testing::TestInfo; in testInfoCallAndReference()
[all …]
/llvm-project/third-party/unittest/googletest/src/
H A Dgtest.cc2509 const TestInfo* const first_test_info = test_suite->test_info_list()[0]; in HasSameFixtureClass()
2514 const TestInfo* const this_test_info = impl->current_test_info(); in HasSameFixtureClass()
2720 TestInfo::TestInfo(const std::string& a_test_suite_name, in TestInfo() function in testing::TestInfo
2741 TestInfo::~TestInfo() { delete factory_; } in ~TestInfo()
2763 TestInfo* MakeAndRegisterTestInfo( in MakeAndRegisterTestInfo()
2768 TestInfo* const test_info = in MakeAndRegisterTestInfo()
2769 new TestInfo(test_suite_name, name, type_param, value_param, in MakeAndRegisterTestInfo()
2808 void TestInfo::Run() { in Run()
2857 void TestInfo::Skip() { in Skip()
2943 ForEach(test_info_list_, internal::Delete<TestInfo>); in ~TestSuite()
[all …]
H A Dgtest-internal-inl.h674 TestInfo* test_info) { in AddTestInfo()
720 void set_current_test_info(TestInfo* a_current_test_info) { in set_current_test_info()
766 TestInfo* current_test_info() { return current_test_info_; } in current_test_info()
767 const TestInfo* current_test_info() const { return current_test_info_; } in current_test_info()
908 TestInfo* current_test_info_;
1177 void OnTestStart(const TestInfo& test_info) override { in OnTestStart()
1181 void OnTestEnd(const TestInfo& test_info) override { in OnTestEnd()
H A Dgtest-death-test.cc376 TestInfo* const info = GetUnitTestImpl()->current_test_info(); in DeathTest()
748 const TestInfo* const info = impl->current_test_info(); in AssumeRole()
956 const TestInfo* const info = impl->current_test_info(); in AssumeRole()
1356 const TestInfo* const info = impl->current_test_info(); in AssumeRole()
/llvm-project/clang/utils/analyzer/
H A DSATestBuild.py216 class TestInfo(NamedTuple): class
236 TestQueue = Queue[TestInfo] # this is only processed by mypy
265 projects_to_test: List[TestInfo] = []
270 TestInfo(
284 def _single_threaded_test_all(self, projects_to_test: List[TestInfo]) -> bool: argument
295 def _multi_threaded_test_all(self, projects_to_test: List[TestInfo]) -> bool: argument
330 def __init__(self, test_info: TestInfo, silent: bool = False): argument
H A DSATestBenchmark.py15 from SATestBuild import ProjectTester, stdout, TestInfo
58 test_info = TestInfo(project)
H A DSATestAdd.py58 test_info = SATestBuild.TestInfo(project, is_reference_build=True)
H A DSATestUpdateDiffs.py19 test_info = SATestBuild.TestInfo(project)
/llvm-project/third-party/unittest/googletest/include/gtest/internal/
H A Dgtest-param-util.h535 tests_.push_back(std::shared_ptr<TestInfo>(new TestInfo( in AddTestPattern()
558 std::shared_ptr<TestInfo> test_info = *test_it; in RegisterTests()
621 struct TestInfo { struct
622 TestInfo(const char* a_test_suite_base_name, const char* a_test_base_name, in TestInfo() function
635 using TestInfoContainer = ::std::vector<std::shared_ptr<TestInfo>>; argument
H A Dgtest-internal.h109 class TestInfo; // Information about a test. variable
567 GTEST_API_ TestInfo* MakeAndRegisterTestInfo(
1544 static ::testing::TestInfo* const test_info_ GTEST_ATTRIBUTE_UNUSED_; \
1547 ::testing::TestInfo* const GTEST_TEST_CLASS_NAME_(test_suite_name, \
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/google/Inputs/gtest/nosuite/gtest/
H A Dgtest.h16 class TestInfo {
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/google/Inputs/gtest/
H A Dgtest.h20 class TestInfo {
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/google/
H A Dupgrade-googletest-case.rst19 - Member functions of ``testing::Test``, ``testing::TestInfo``,
/llvm-project/clang/unittests/StaticAnalyzer/
H A DCheckerRegistration.h108 const ::testing::TestInfo *Info = in getCurrentTestNameAsFileName()
/llvm-project/flang/unittests/Frontend/
H A DFrontendActionTest.cpp45 const testing::TestInfo *const testInfo = in SetUp()
/llvm-project/third-party/unittest/googlemock/src/
H A Dgmock-spec-builders.cc696 const TestInfo* const test_info = in RegisterUseByOnCallOrExpectCall()
/llvm-project/llvm/utils/UpdateTestChecks/
H A Dcommon.py255 class TestInfo(object):
381 yield TestInfo(
426 def collect_original_check_lines(ti: TestInfo, prefix_set: set): argument
257 class TestInfo(object): global() class