Home
last modified time | relevance | path

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

12

/external/google-breakpad/src/testing/gtest/samples/
Dsample9_unittest.cc64 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument
67 test_info.test_case_name(), in OnTestStart()
68 test_info.name()); in OnTestStart()
84 virtual void OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument
87 test_info.test_case_name(), in OnTestEnd()
88 test_info.name()); in OnTestEnd()
145 const TestInfo& test_info = *test_case.GetTestInfo(j); in main() local
148 if (test_info.result()->Failed() && in main()
149 strcmp(test_info.name(), "Fails") != 0) { in main()
/external/protobuf/gtest/samples/
Dsample9_unittest.cc64 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument
67 test_info.test_case_name(), in OnTestStart()
68 test_info.name()); in OnTestStart()
84 virtual void OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument
87 test_info.test_case_name(), in OnTestEnd()
88 test_info.name()); in OnTestEnd()
145 const TestInfo& test_info = *test_case.GetTestInfo(j); in main() local
148 if (test_info.result()->Failed() && in main()
149 strcmp(test_info.name(), "Fails") != 0) { in main()
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc2238 TestInfo* const test_info = in MakeAndRegisterTestInfo() local
2241 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo()
2242 return test_info; in MakeAndRegisterTestInfo()
2285 bool operator()(const TestInfo * test_info) const { in operator ()()
2286 return test_info && internal::String(test_info->name()).Compare(name_) == 0; in operator ()()
2425 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument
2426 test_info_list_.push_back(test_info); in AddTestInfo()
2667 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument
2668 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent()
2669 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent()
[all …]
/external/mesa3d/src/gtest/src/
Dgtest.cc2237 TestInfo* const test_info = in MakeAndRegisterTestInfo() local
2240 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo()
2241 return test_info; in MakeAndRegisterTestInfo()
2284 bool operator()(const TestInfo * test_info) const { in operator ()()
2285 return test_info && internal::String(test_info->name()).Compare(name_) == 0; in operator ()()
2424 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument
2425 test_info_list_.push_back(test_info); in AddTestInfo()
2666 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument
2667 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent()
2668 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent()
[all …]
/external/gtest/include/gtest/
Dgtest.h715 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument
716 test_info->result_.Clear(); in ClearTestResult()
840 void AddTestInfo(TestInfo * test_info);
862 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument
863 return test_info->should_run() && test_info->result()->Passed(); in TestPassed()
867 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument
868 return test_info->should_run() && test_info->result()->Failed(); in TestFailed()
873 static bool TestReportableDisabled(const TestInfo* test_info) { in TestReportableDisabled() argument
874 return test_info->is_reportable() && test_info->is_disabled_; in TestReportableDisabled()
878 static bool TestDisabled(const TestInfo* test_info) { in TestDisabled() argument
[all …]
/external/protobuf/gtest/src/
Dgtest.cc2164 TestInfo* const test_info = in MakeAndRegisterTestInfo() local
2167 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo()
2168 return test_info; in MakeAndRegisterTestInfo()
2246 bool operator()(const TestInfo * test_info) const { in operator ()()
2247 return test_info && internal::String(test_info->name()).Compare(name_) == 0; in operator ()()
2400 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument
2401 test_info_list_.push_back(test_info); in AddTestInfo()
2436 bool TestCase::TestPassed(const TestInfo * test_info) { in TestPassed() argument
2437 const internal::TestInfoImpl* const impl = test_info->impl(); in TestPassed()
2442 bool TestCase::TestFailed(const TestInfo * test_info) { in TestFailed() argument
[all …]
Dgtest-internal-inl.h396 static void ClearTestResult(TestInfo * test_info) { in ClearTestResult() argument
397 test_info->impl()->ClearResult(); in ClearTestResult()
701 TestInfo * test_info) { in AddTestInfo() argument
715 GetTestCase(test_info->test_case_name(), in AddTestInfo()
716 test_info->test_case_comment(), in AddTestInfo()
718 tear_down_tc)->AddTestInfo(test_info); in AddTestInfo()
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc2237 TestInfo* const test_info = in MakeAndRegisterTestInfo() local
2240 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo()
2241 return test_info; in MakeAndRegisterTestInfo()
2395 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument
2396 test_info_list_.push_back(test_info); in AddTestInfo()
2638 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument
2639 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent()
2640 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent()
2671 void OnTestStart(const TestInfo &test_info) override;
2673 void OnTestEnd(const TestInfo &test_info) override;
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest_shuffle_test_.cc87 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument
88 printf("%s.%s\n", test_info.test_case_name(), test_info.name()); in OnTestStart()
Dgtest-unittest-api_test.cc221 const TestInfo* const test_info = test_case->GetTestInfo(0); in TEST() local
222 EXPECT_STREQ("Dummy2", test_info->name()); in TEST()
223 EXPECT_STREQ("DISABLED_Test", test_info->test_case_name()); in TEST()
224 EXPECT_TRUE(IsNull(test_info->value_param())); in TEST()
225 EXPECT_TRUE(IsNull(test_info->type_param())); in TEST()
226 EXPECT_FALSE(test_info->should_run()); in TEST()
Dgtest-param-test_test.cc798 const ::testing::TestInfo* const test_info = in TEST_P() local
801 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name()); in TEST_P()
805 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); in TEST_P()
807 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param()); in TEST_P()
827 const ::testing::TestInfo* const test_info = in TEST_P() local
830 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param()); in TEST_P()
/external/protobuf/gtest/test/
Dgtest_shuffle_test_.cc87 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument
88 printf("%s.%s\n", test_info.test_case_name(), test_info.name()); in OnTestStart()
Dgtest-unittest-api_test.cc221 const TestInfo* const test_info = test_case->GetTestInfo(0); in TEST() local
222 EXPECT_STREQ("Dummy2", test_info->name()); in TEST()
223 EXPECT_STREQ("DISABLED_Test", test_info->test_case_name()); in TEST()
224 EXPECT_STREQ("", test_info->comment()); in TEST()
225 EXPECT_STREQ("", test_info->test_case_comment()); in TEST()
226 EXPECT_FALSE(test_info->should_run()); in TEST()
/external/gtest/test/
Dgtest_shuffle_test_.cc86 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument
87 printf("%s.%s\n", test_info.test_case_name(), test_info.name()); in OnTestStart()
Dgtest-unittest-api_test.cc221 const TestInfo* const test_info = test_case->GetTestInfo(0); in TEST() local
222 EXPECT_STREQ("Dummy2", test_info->name()); in TEST()
223 EXPECT_STREQ("DISABLED_Test", test_info->test_case_name()); in TEST()
224 EXPECT_TRUE(IsNull(test_info->value_param())); in TEST()
225 EXPECT_TRUE(IsNull(test_info->type_param())); in TEST()
226 EXPECT_FALSE(test_info->should_run()); in TEST()
Dgtest-param-test_test.cc798 const ::testing::TestInfo* const test_info = in TEST_P() local
801 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name()); in TEST_P()
805 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); in TEST_P()
807 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param()); in TEST_P()
827 const ::testing::TestInfo* const test_info = in TEST_P() local
830 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param()); in TEST_P()
/external/gtest/src/
Dgtest.cc2225 TestInfo* const test_info = in MakeAndRegisterTestInfo() local
2228 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo()
2229 return test_info; in MakeAndRegisterTestInfo()
2272 bool operator()(const TestInfo * test_info) const { in operator ()()
2273 return test_info && test_info->name() == name_; in operator ()()
2423 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument
2424 test_info_list_.push_back(test_info); in AddTestInfo()
2672 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument
2673 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent()
2674 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent()
[all …]
Dgtest-internal-inl.h656 TestInfo* test_info) { in AddTestInfo() argument
670 GetTestCase(test_info->test_case_name(), in AddTestInfo()
671 test_info->type_param(), in AddTestInfo()
673 tear_down_tc)->AddTestInfo(test_info); in AddTestInfo()
1178 void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument
1179 SendLn(std::string("event=TestStart&name=") + test_info.name()); in OnTestStart()
1182 void OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument
1184 FormatBool((test_info.result())->Passed()) + in OnTestEnd()
1186 StreamableToString((test_info.result())->elapsed_time()) + "ms"); in OnTestEnd()
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h709 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument
710 test_info->result_.Clear(); in ClearTestResult()
824 void AddTestInfo(TestInfo * test_info);
846 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument
847 return test_info->should_run() && test_info->result()->Passed(); in TestPassed()
851 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument
852 return test_info->should_run() && test_info->result()->Failed(); in TestFailed()
856 static bool TestDisabled(const TestInfo* test_info) { in TestDisabled() argument
857 return test_info->is_disabled_; in TestDisabled()
861 static bool ShouldRunTest(const TestInfo* test_info) { in ShouldRunTest() argument
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h709 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument
710 test_info->result_.Clear(); in ClearTestResult()
824 void AddTestInfo(TestInfo * test_info);
846 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument
847 return test_info->should_run() && test_info->result()->Passed(); in TestPassed()
851 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument
852 return test_info->should_run() && test_info->result()->Failed(); in TestFailed()
856 static bool TestDisabled(const TestInfo* test_info) { in TestDisabled() argument
857 return test_info->is_disabled_; in TestDisabled()
861 static bool ShouldRunTest(const TestInfo* test_info) { in ShouldRunTest() argument
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest.h709 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument
710 test_info->result_.Clear(); in ClearTestResult()
824 void AddTestInfo(TestInfo * test_info);
846 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument
847 return test_info->should_run() && test_info->result()->Passed(); in TestPassed()
851 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument
852 return test_info->should_run() && test_info->result()->Failed(); in TestFailed()
856 static bool TestDisabled(const TestInfo* test_info) { in TestDisabled() argument
857 return test_info->is_disabled_; in TestDisabled()
861 static bool ShouldRunTest(const TestInfo* test_info) { in ShouldRunTest() argument
[all …]
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc790 static void ClearTestResult(TestInfo * test_info) { in ClearTestResult() argument
791 test_info->impl()->ClearResult(); in ClearTestResult()
1095 TestInfo * test_info) { in AddTestInfo() argument
1109 GetTestCase(test_info->test_case_name(), in AddTestInfo()
1110 test_info->test_case_comment(), in AddTestInfo()
1112 tear_down_tc)->AddTestInfo(test_info); in AddTestInfo()
3504 TestInfo* const test_info = in MakeAndRegisterTestInfo() local
3507 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo()
3508 return test_info; in MakeAndRegisterTestInfo()
3586 bool operator()(const TestInfo * test_info) const { in operator ()()
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc1057 TestInfo* test_info) { in AddTestInfo() argument
1071 GetTestCase(test_info->test_case_name(), in AddTestInfo()
1072 test_info->type_param(), in AddTestInfo()
1074 tear_down_tc)->AddTestInfo(test_info); in AddTestInfo()
1579 void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument
1580 SendLn(std::string("event=TestStart&name=") + test_info.name()); in OnTestStart()
1583 void OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument
1585 FormatBool((test_info.result())->Passed()) + in OnTestEnd()
1587 StreamableToString((test_info.result())->elapsed_time()) + "ms"); in OnTestEnd()
3709 TestInfo* const test_info = in MakeAndRegisterTestInfo() local
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h490 linked_ptr<TestInfo> test_info = *test_it; in RegisterTests() local
500 test_case_name_stream << test_info->test_case_base_name; in RegisterTests()
507 test_name_stream << test_info->test_base_name << "/" << i; in RegisterTests()
516 test_info->test_meta_factory->CreateTestFactory(*param_it)); in RegisterTests()
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-param-util.h490 linked_ptr<TestInfo> test_info = *test_it; in RegisterTests() local
500 test_case_name_stream << test_info->test_case_base_name; in RegisterTests()
507 test_name_stream << test_info->test_base_name << "/" << i; in RegisterTests()
516 test_info->test_meta_factory->CreateTestFactory(*param_it)); in RegisterTests()

12