/external/google-breakpad/src/testing/gtest/samples/ |
D | sample9_unittest.cc | 64 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/googletest/googletest/samples/ |
D | sample9_unittest.cc | 61 void OnTestStart(const TestInfo& test_info) override { in OnTestStart() argument 64 test_info.test_case_name(), in OnTestStart() 65 test_info.name()); in OnTestStart() 81 void OnTestEnd(const TestInfo& test_info) override { in OnTestEnd() argument 84 test_info.test_case_name(), in OnTestEnd() 85 test_info.name()); in OnTestEnd() 141 const TestInfo& test_info = *test_case.GetTestInfo(j); in main() local 144 if (test_info.result()->Failed() && in main() 145 strcmp(test_info.name(), "Fails") != 0) { in main()
|
/external/libchrome/base/test/ |
D | gtest_util.cc | 41 const testing::TestInfo* test_info = test_case->GetTestInfo(j); in GetCompiledInTests() local 44 test_data.test_name = test_info->name(); in GetCompiledInTests() 45 test_data.file = test_info->file(); in GetCompiledInTests() 46 test_data.line = test_info->line(); in GetCompiledInTests() 58 std::unique_ptr<DictionaryValue> test_info(new DictionaryValue); in WriteCompiledInTestsToFile() local 59 test_info->SetString("test_case_name", tests[i].test_case_name); in WriteCompiledInTestsToFile() 60 test_info->SetString("test_name", tests[i].test_name); in WriteCompiledInTestsToFile() 61 test_info->SetString("file", tests[i].file); in WriteCompiledInTestsToFile() 62 test_info->SetInteger("line", tests[i].line); in WriteCompiledInTestsToFile() 63 root.Append(std::move(test_info)); in WriteCompiledInTestsToFile()
|
/external/autotest/client/tests/monotonic_time/src/ |
D | time_test.c | 137 typedef struct test_info { struct 139 void (*func)(struct test_info *); /* the test */ argument 150 void show_warps(struct test_info *test) in show_warps() argument 158 void _name##_test(struct test_info *test) \ 184 struct test_info _name##_test_info = { \ 195 struct test_info *tests[] = { 205 void show_progress(struct test_info *test) in show_progress() 222 struct test_info *test = arg; in test_loop() 231 int run_test(cpu_set_t *cpus, long duration, struct test_info *test) in run_test()
|
/external/autotest/server/cros/chaos_lib/ |
D | chaos_analyzer.py | 209 test_info = ChaosTestInfo(root, files, failures_only) 210 if test_info.is_valid(packet_capture_only): 211 test_infos.append(test_info) 229 for test_info in self._get_all_test_infos(input_dir_name, failures_only, 231 for trace in test_info.traces: 255 test_info.bssids, test_info.ssid, 256 test_info.dut_mac, logger)) 259 with open(test_info.message_log, "r") as message_log, \ 260 open(test_info.net_log, "r") as net_log:
|
/external/googletest/googletest/test/ |
D | googletest-param-test-test.cc | 780 const ::testing::TestInfo* const test_info = in TEST_P() local 783 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_suite_name()); in TEST_P() 787 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); in TEST_P() 789 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param()); in TEST_P() 801 const ::testing::TestInfo* const test_info = in TEST_P() local 804 EXPECT_STREQ("FortyTwo/MacroNamingTest", test_info->test_suite_name()); in TEST_P() 805 EXPECT_STREQ("FooSomeTestName", test_info->name()); in TEST_P() 815 const ::testing::TestInfo* const test_info = in TEST_F() local 818 EXPECT_STREQ("MacroNamingTestNonParametrized", test_info->test_suite_name()); in TEST_F() 819 EXPECT_STREQ("FooSomeTestName", test_info->name()); in TEST_F() [all …]
|
D | googletest-shuffle-test_.cc | 84 void OnTestStart(const TestInfo& test_info) override { in OnTestStart() argument 85 printf("%s.%s\n", test_info.test_case_name(), test_info.name()); in OnTestStart()
|
/external/googletest/googletest/include/gtest/ |
D | gtest.h | 799 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 800 test_info->result_.Clear(); in ClearTestResult() 928 void AddTestInfo(TestInfo * test_info); 958 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 959 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 963 static bool TestSkipped(const TestInfo* test_info) { in TestSkipped() argument 964 return test_info->should_run() && test_info->result()->Skipped(); in TestSkipped() 968 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument 969 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 974 static bool TestReportableDisabled(const TestInfo* test_info) { in TestReportableDisabled() argument [all …]
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest.cc | 2238 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/autotest/server/site_tests/provision_Cr50Update/ |
D | provision_Cr50Update.py | 46 source, test_info = value.split('-', 1) 52 if test_info.count('/') == 2: 53 test_info, self.chip_bid_str = test_info.rsplit('/', 1) 56 image_info = self.get_prodsigned_image(test_info) 58 image_info = self.get_selfsigned_image(test_info)
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest.h | 746 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 747 test_info->result_.Clear(); in ClearTestResult() 872 void AddTestInfo(TestInfo * test_info); 894 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 895 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 899 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument 900 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 905 static bool TestReportableDisabled(const TestInfo* test_info) { in TestReportableDisabled() argument 906 return test_info->is_reportable() && test_info->is_disabled_; in TestReportableDisabled() 910 static bool TestDisabled(const TestInfo* test_info) { in TestDisabled() argument [all …]
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/ |
D | gtest.h | 746 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 747 test_info->result_.Clear(); in ClearTestResult() 872 void AddTestInfo(TestInfo * test_info); 894 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 895 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 899 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument 900 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 905 static bool TestReportableDisabled(const TestInfo* test_info) { in TestReportableDisabled() argument 906 return test_info->is_reportable() && test_info->is_disabled_; in TestReportableDisabled() 910 static bool TestDisabled(const TestInfo* test_info) { in TestDisabled() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest.h | 746 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 747 test_info->result_.Clear(); in ClearTestResult() 872 void AddTestInfo(TestInfo * test_info); 894 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 895 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 899 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument 900 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 905 static bool TestReportableDisabled(const TestInfo* test_info) { in TestReportableDisabled() argument 906 return test_info->is_reportable() && test_info->is_disabled_; in TestReportableDisabled() 910 static bool TestDisabled(const TestInfo* test_info) { in TestDisabled() argument [all …]
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
D | gtest.cc | 2237 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() 2637 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 2638 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 2639 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() 2670 virtual void OnTestStart(const TestInfo& test_info); 2672 virtual void OnTestEnd(const TestInfo& test_info); [all …]
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest.cc | 2237 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/googletest/googletest/src/ |
D | gtest.cc | 2577 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2580 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2581 return test_info; in MakeAndRegisterTestInfo() 2622 bool operator()(const TestInfo * test_info) const { in operator ()() 2623 return test_info && test_info->name() == name_; in operator ()() 2778 void TestSuite::AddTestInfo(TestInfo* test_info) { in AddTestInfo() argument 2779 test_info_list_.push_back(test_info); in AddTestInfo() 3072 static void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 3073 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 3074 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() [all …]
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest.cc | 2596 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2599 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2600 return test_info; in MakeAndRegisterTestInfo() 2641 bool operator()(const TestInfo * test_info) const { in operator ()() 2642 return test_info && test_info->name() == name_; in operator ()() 2790 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2791 test_info_list_.push_back(test_info); in AddTestInfo() 3078 static void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 3079 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 3080 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() [all …]
|
/external/autotest/server/ |
D | results_mocker.py | 143 test_info = { 151 _SUCCESS_JOB_TEMPLATE % test_info) 154 _SUCCESS_JOB_TEMPLATE % test_info) 157 _SUCCESS_TEST_TEMPLATE % test_info)
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest.h | 786 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 787 test_info->result_.Clear(); in ClearTestResult() 913 void AddTestInfo(TestInfo * test_info); 935 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 936 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 940 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument 941 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 946 static bool TestReportableDisabled(const TestInfo* test_info) { in TestReportableDisabled() argument 947 return test_info->is_reportable() && test_info->is_disabled_; in TestReportableDisabled() 951 static bool TestDisabled(const TestInfo* test_info) { in TestDisabled() argument [all …]
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_shuffle_test_.cc | 87 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()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest.cc | 2554 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2557 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2558 return test_info; in MakeAndRegisterTestInfo() 2603 bool operator()(const TestInfo * test_info) const { in operator ()() 2604 return test_info && test_info->name() == name_; in operator ()() 2754 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2755 test_info_list_.push_back(test_info); in AddTestInfo() 3010 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 3011 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 3012 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() [all …]
|
/external/mesa3d/src/gtest/src/ |
D | gtest.cc | 2553 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2556 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2557 return test_info; in MakeAndRegisterTestInfo() 2602 bool operator()(const TestInfo * test_info) const { in operator ()() 2603 return test_info && test_info->name() == name_; in operator ()() 2753 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2754 test_info_list_.push_back(test_info); in AddTestInfo() 3009 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 3010 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 3011 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest.cc | 2553 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2556 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2557 return test_info; in MakeAndRegisterTestInfo() 2602 bool operator()(const TestInfo * test_info) const { in operator ()() 2603 return test_info && test_info->name() == name_; in operator ()() 2753 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2754 test_info_list_.push_back(test_info); in AddTestInfo() 3009 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 3010 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 3011 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() [all …]
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
D | gtest.h | 709 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/ |
D | gtest.h | 709 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 …]
|