Searched refs:test_info (Results 1 - 13 of 13) sorted by relevance

/freebsd-13-stable/contrib/googletest/googletest/samples/
H A Dsample9_unittest.cc61 virtual void OnTestStart(const TestInfo& test_info) { argument
64 test_info.test_case_name(),
65 test_info.name());
81 virtual void OnTestEnd(const TestInfo& test_info) { argument
84 test_info.test_case_name(),
85 test_info.name());
141 const TestInfo& test_info = *test_case.GetTestInfo(j); local
144 if (test_info.result()->Failed() &&
145 strcmp(test_info.name(), "Fails") != 0) {
/freebsd-13-stable/contrib/googletest/googletest/test/
H A Dgoogletest-shuffle-test_.cc85 virtual void OnTestStart(const TestInfo& test_info) { argument
86 printf("%s.%s\n", test_info.test_case_name(), test_info.name());
H A Dgoogletest-param-test-test.cc836 const ::testing::TestInfo* const test_info = member in class:testing
839 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name());
843 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name());
845 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param());
857 const ::testing::TestInfo* const test_info = member in class:testing
860 EXPECT_STREQ("FortyTwo/MacroNamingTest", test_info->test_case_name());
861 EXPECT_STREQ("FooSomeTestName", test_info->name());
871 const ::testing::TestInfo* const test_info = member in class:testing
874 EXPECT_STREQ("MacroNamingTestNonParametrized", test_info->test_case_name());
875 EXPECT_STREQ("FooSomeTestName", test_info
941 const ::testing::TestInfo* test_info = test_case->GetTestInfo(test_num); local
957 const ::testing::TestInfo* const test_info = member in class:testing
984 const ::testing::TestInfo* const test_info = member in class:testing
1015 const ::testing::TestInfo* const test_info = member in class:testing
1043 const ::testing::TestInfo* const test_info = member in class:testing
[all...]
H A Dgtest-unittest-api_test.cc220 const TestInfo* const test_info = test_case->GetTestInfo(0); local
221 EXPECT_STREQ("Dummy2", test_info->name());
222 EXPECT_STREQ("DISABLED_Test", test_info->test_case_name());
223 EXPECT_TRUE(IsNull(test_info->value_param()));
224 EXPECT_TRUE(IsNull(test_info->type_param()));
225 EXPECT_FALSE(test_info->should_run());
H A Dgtest_unittest.cc1973 const TestInfo* test_info = UnitTest::GetInstance()->current_test_info(); local
1974 ASSERT_TRUE(test_info != NULL);
1975 ExpectNonFatalFailureRecordingPropertyWithReservedKey(*test_info->result(),
5336 const TestInfo* const test_info = test_case->GetTestInfo(i); local
5337 if (strcmp(test_name, test_info->name()) == 0)
5338 return test_info;
5344 const TestInfo* test_info) {
5345 return test_info->result();
5351 const TestInfo* const test_info = GetTestInfo("Names"); local
5353 ASSERT_STREQ("TestInfoTest", test_info
5343 GetTestResult( const TestInfo* test_info) argument
5359 const TestInfo* const test_info = GetTestInfo("result"); local
6546 const TestInfo* test_info = local
6555 const TestInfo* test_info = local
6565 const TestInfo* test_info = local
6580 const TestInfo* test_info = local
[all...]
/freebsd-13-stable/contrib/googletest/googletest/include/gtest/
H A Dgtest.h792 static void ClearTestResult(TestInfo* test_info) { argument
793 test_info->result_.Clear();
922 void AddTestInfo(TestInfo * test_info);
944 static bool TestPassed(const TestInfo* test_info) { argument
945 return test_info->should_run() && test_info->result()->Passed();
949 static bool TestSkipped(const TestInfo* test_info) { argument
950 return test_info->should_run() && test_info->result()->Skipped();
954 static bool TestFailed(const TestInfo* test_info) { argument
960 TestReportableDisabled(const TestInfo* test_info) argument
965 TestDisabled(const TestInfo* test_info) argument
970 TestReportable(const TestInfo* test_info) argument
975 ShouldRunTest(const TestInfo* test_info) argument
[all...]
/freebsd-13-stable/contrib/googletest/googletest/src/
H A Dgtest.cc2617 TestInfo* const test_info = local
2620 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info);
2621 return test_info;
2661 // Returns true iff the test name of test_info matches name_.
2662 bool operator()(const TestInfo * test_info) const {
2663 return test_info && test_info->name() == name_;
2817 void TestCase::AddTestInfo(TestInfo * test_info) { argument
2818 test_info_list_.push_back(test_info);
3107 static void PrintFullTestCommentIfPresent(const TestInfo& test_info) { argument
3210 OnTestStart(const TestInfo& test_info) argument
3234 OnTestEnd(const TestInfo& test_info) argument
3287 const TestInfo& test_info = *test_case.GetTestInfo(j); local
3312 const TestInfo& test_info = *test_case.GetTestInfo(j); local
3757 OutputXmlTestInfo(::std::ostream* stream, const char* test_case_name, const TestInfo& test_info) argument
4125 OutputJsonTestInfo(::std::ostream* stream, const char* test_case_name, const TestInfo& test_info) argument
5437 TestInfo* const test_info = test_case->test_info_list()[j]; local
5505 const TestInfo* const test_info = local
[all...]
H A Dgtest-internal-inl.h653 // test_info: the TestInfo object
656 TestInfo* test_info) {
670 GetTestCase(test_info->test_case_name(),
671 test_info->type_param(),
673 tear_down_tc)->AddTestInfo(test_info);
1148 void OnTestStart(const TestInfo& test_info) { argument
1149 SendLn(std::string("event=TestStart&name=") + test_info.name());
1152 void OnTestEnd(const TestInfo& test_info) { argument
1154 FormatBool((test_info.result())->Passed()) +
1156 StreamableToString((test_info
654 AddTestInfo(Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo* test_info) argument
[all...]
/freebsd-13-stable/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc782 const TestInfo* const test_info = local
784 if (test_info != NULL) {
788 state.first_used_test_case = test_info->test_case_name();
789 state.first_used_test = test_info->name();
/freebsd-13-stable/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h544 linked_ptr<TestInfo> test_info = *test_it; local
557 test_case_name += test_info->test_case_base_name;
580 test_name_stream << test_info->test_base_name << "/" << param_name;
590 test_info->test_meta_factory->CreateTestFactory(*param_it));
/freebsd-13-stable/crypto/openssh/regress/unittests/test_helper/
H A Dtest_helper.c199 test_info(char *s, size_t len) function
211 test_info(buf, sizeof(buf));
H A Dfuzz.c206 test_info(buf, sizeof(buf));
H A Dtest_helper.h43 void test_info(char *s, size_t len);

Completed in 235 milliseconds