Home
last modified time | relevance | path

Searched refs:test_info (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/
H A DTestBase.cpp16 const auto *test_info = in getLogFileName() local
18 assert(test_info); in getLogFileName()
31 test_info->test_case_name() + "-" + in getLogFileName()
32 test_info->name() + ".log"); in getLogFileName()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest.h796 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument
797 test_info->result_.Clear(); in ClearTestResult()
929 void AddTestInfo(TestInfo * test_info);
959 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument
960 return test_info->should_run() && test_info->result()->Passed(); in TestPassed()
965 return test_info->should_run() && test_info->result()->Skipped(); in TestSkipped()
970 return test_info->should_run() && test_info->result()->Failed(); in TestFailed()
976 return test_info->is_reportable() && test_info->is_disabled_; in TestReportableDisabled()
981 return test_info->is_disabled_; in TestDisabled()
986 return test_info->is_reportable(); in TestReportable()
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest.cc2586 TestInfo* const test_info = in MakeAndRegisterTestInfo() local
2590 return test_info; in MakeAndRegisterTestInfo()
2632 return test_info && test_info->name() == name_; in operator ()()
2790 test_info_list_.push_back(test_info); in AddTestInfo()
3214 PrintTestName(test_info.test_suite_name(), test_info.name()); in OnTestStart()
3237 if (test_info.result()->Passed()) { in OnTestEnd()
3244 PrintTestName(test_info.test_suite_name(), test_info.name()); in OnTestEnd()
3245 if (test_info.result()->Failed()) in OnTestEnd()
3302 if (!test_info.should_run() || !test_info.result()->Failed()) { in PrintFailedTests()
3327 if (!test_info.should_run() || !test_info.result()->Skipped()) { in PrintSkippedTests()
[all …]
H A Dgtest-internal-inl.h675 TestInfo* test_info) { in AddTestInfo() argument
689 GetTestSuite(test_info->test_suite_name(), test_info->type_param(), in AddTestInfo()
691 ->AddTestInfo(test_info); in AddTestInfo()
1170 void OnTestStart(const TestInfo& test_info) override { in OnTestStart() argument
1171 SendLn(std::string("event=TestStart&name=") + test_info.name()); in OnTestStart()
1174 void OnTestEnd(const TestInfo& test_info) override { in OnTestEnd() argument
1176 FormatBool((test_info.result())->Passed()) + in OnTestEnd()
1178 StreamableToString((test_info.result())->elapsed_time()) + "ms"); in OnTestEnd()
/llvm-project-15.0.7/clang/utils/analyzer/
H A DSATestAdd.py58 test_info = SATestBuild.TestInfo(project,
60 tester = SATestBuild.ProjectTester(test_info)
H A DSATestBuild.py314 def __init__(self, test_info: TestInfo, silent: bool = False):
315 self.project = test_info.project
316 self.override_compiler = test_info.override_compiler
317 self.extra_analyzer_config = test_info.extra_analyzer_config
318 self.extra_checkers = test_info.extra_checkers
319 self.is_reference_build = test_info.is_reference_build
320 self.strictness = test_info.strictness
696 test_info = self.tasks_queue.get()
697 init_logger(test_info.project.name)
699 tester = ProjectTester(test_info)
H A DSATestUpdateDiffs.py19 test_info = SATestBuild.TestInfo(project)
20 tester = SATestBuild.ProjectTester(test_info)
H A DSATestBenchmark.py59 test_info = TestInfo(project)
60 tester = ProjectTester(test_info, silent=True)
/llvm-project-15.0.7/lldb/unittests/Interpreter/
H A DTestCompletion.cpp68 auto test_info = ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp() local
69 ASSERT_TRUE(test_info != nullptr); in SetUp()
70 std::string name = test_info->name(); in SetUp()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-param-util.h536 std::shared_ptr<TestInfo> test_info = *test_it; in RegisterTests() local
549 test_suite_name += test_info->test_suite_base_name; in RegisterTests()
572 if (!test_info->test_base_name.empty()) { in RegisterTests()
573 test_name_stream << test_info->test_base_name << "/"; in RegisterTests()
583 test_info->test_meta_factory->CreateTestFactory(*param_it)); in RegisterTests()
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/src/
H A Dgmock-spec-builders.cc791 const TestInfo* const test_info = in RegisterUseByOnCallOrExpectCall() local
793 if (test_info != nullptr) { in RegisterUseByOnCallOrExpectCall()
794 state.first_used_test_suite = test_info->test_suite_name(); in RegisterUseByOnCallOrExpectCall()
795 state.first_used_test = test_info->name(); in RegisterUseByOnCallOrExpectCall()
/llvm-project-15.0.7/llvm/utils/UpdateTestChecks/
H A Dcommon.py1199 def find_arg_in_test(test_info, get_arg_to_check, arg_string, is_global): argument
1200 result = get_arg_to_check(test_info.args)
1206 for line_info in test_info.ro_iterlines():
1222 def dump_input_lines(output_lines, test_info, prefix_set, comment_string): argument
1223 for input_line_info in test_info.iterlines(output_lines):