/external/protobuf/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()
|
D | sample10_unittest.cc | 81 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument 86 virtual void OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument
|
/external/chromium/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/chromium/sdch/open-vcdiff/src/gtest/src/ |
D | gtest-internal-inl.h | 573 static void RunTest(TestInfo * test_info) { in RunTest() argument 574 test_info->impl()->Run(); in RunTest() 581 static void ClearTestResult(TestInfo * test_info) { in ClearTestResult() argument 582 test_info->impl()->ClearResult(); in ClearTestResult() 669 void AddTestInfo(TestInfo * test_info); 690 static bool TestPassed(const TestInfo * test_info) { in TestPassed() argument 691 const internal::TestInfoImpl* const impl = test_info->impl(); in TestPassed() 696 static bool TestFailed(const TestInfo * test_info) { in TestFailed() argument 697 const internal::TestInfoImpl* const impl = test_info->impl(); in TestFailed() 702 static bool TestDisabled(const TestInfo * test_info) { in TestDisabled() argument [all …]
|
/external/gtest/src/ |
D | gtest-internal-inl.h | 642 static void RunTest(TestInfo * test_info) { in RunTest() argument 643 test_info->impl()->Run(); in RunTest() 650 static void ClearTestResult(TestInfo * test_info) { in ClearTestResult() argument 651 test_info->impl()->ClearResult(); in ClearTestResult() 744 void AddTestInfo(TestInfo * test_info); 765 static bool TestPassed(const TestInfo * test_info) { in TestPassed() argument 766 const internal::TestInfoImpl* const impl = test_info->impl(); in TestPassed() 771 static bool TestFailed(const TestInfo * test_info) { in TestFailed() argument 772 const internal::TestInfoImpl* const impl = test_info->impl(); in TestFailed() 777 static bool TestDisabled(const TestInfo * test_info) { in TestDisabled() argument [all …]
|
D | gtest.cc | 2133 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2136 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2137 return test_info; in MakeAndRegisterTestInfo() 2212 bool operator()(const TestInfo * test_info) const { in operator ()() 2213 return test_info && internal::String(test_info->name()).Compare(name_) == 0; in operator ()() 2369 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2370 test_info_list_->PushBack(test_info); in AddTestInfo() 2609 virtual void OnTestStart(const TestInfo * test_info); 2611 virtual void OnTestEnd(const TestInfo * test_info); 2681 void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo * test_info) { in OnTestStart() argument [all …]
|
/external/valgrind/unittest/ |
D | old_test_suite.cc | 83 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { in OnTestEnd() argument 84 if (strcmp(test_info.test_case_name(), "StressTests") == 0 || in OnTestEnd() 85 strcmp(test_info.test_case_name(), "PerformanceTests") == 0) { in OnTestEnd() 86 const ::testing::TestResult* result = test_info.result(); in OnTestEnd() 87 times_[test_info.name()].push_back(result->elapsed_time()); in OnTestEnd()
|
/external/chromium/testing/gtest/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() 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/chromium/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()
|
D | gtest-unittest-api_test.cc | 221 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()
|
D | gtest-param-test_test.cc | 796 const ::testing::TestInfo* const test_info = in TEST_P() local 799 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name()); in TEST_P() 803 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); in TEST_P() 805 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param()); in TEST_P() 825 const ::testing::TestInfo* const test_info = in TEST_P() local 828 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param()); in TEST_P()
|
/external/protobuf/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()
|
D | gtest-unittest-api_test.cc | 221 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/protobuf/gtest/src/ |
D | gtest.cc | 2138 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2141 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2142 return test_info; in MakeAndRegisterTestInfo() 2220 bool operator()(const TestInfo * test_info) const { in operator ()() 2221 return test_info && internal::String(test_info->name()).Compare(name_) == 0; in operator ()() 2376 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2377 test_info_list_->PushBack(test_info); in AddTestInfo() 2412 bool TestCase::TestPassed(const TestInfo * test_info) { in TestPassed() argument 2413 const internal::TestInfoImpl* const impl = test_info->impl(); in TestPassed() 2418 bool TestCase::TestFailed(const TestInfo * test_info) { in TestFailed() argument [all …]
|
D | gtest-internal-inl.h | 567 static void ClearTestResult(TestInfo * test_info) { in ClearTestResult() argument 568 test_info->impl()->ClearResult(); in ClearTestResult() 872 TestInfo * test_info) { in AddTestInfo() argument 886 GetTestCase(test_info->test_case_name(), in AddTestInfo() 887 test_info->test_case_comment(), in AddTestInfo() 889 tear_down_tc)->AddTestInfo(test_info); in AddTestInfo()
|
/external/llvm/utils/unittest/googletest/ |
D | gtest.cc | 2164 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() 2371 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2372 test_info_list_.push_back(test_info); in AddTestInfo() 2407 bool TestCase::TestPassed(const TestInfo * test_info) { in TestPassed() argument 2408 const internal::TestInfoImpl* const impl = test_info->impl(); in TestPassed() 2413 bool TestCase::TestFailed(const TestInfo * test_info) { in TestFailed() argument 2414 const internal::TestInfoImpl* const impl = test_info->impl(); in TestFailed() 2419 bool TestCase::TestDisabled(const TestInfo * test_info) { in TestDisabled() argument [all …]
|
/external/chromium/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/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest.cc | 1884 TestInfo* const test_info = in MakeAndRegisterInstance() local 1886 internal::GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterInstance() 1887 return test_info; in MakeAndRegisterInstance() 1931 bool operator()(const TestInfo * test_info) const { in operator ()() 1932 return test_info && internal::String(test_info->name()).Compare(name_) == 0; in operator ()() 2075 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2076 test_info_list_->PushBack(test_info); in AddTestInfo() 2298 virtual void OnTestStart(const TestInfo * test_info); 2300 virtual void OnTestEnd(const TestInfo * test_info); 2344 void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo * test_info) { in OnTestStart() argument [all …]
|
/external/chromium/chrome/browser/diagnostics/ |
D | diagnostics_main.cc | 312 void ShowResult(DiagnosticsModel::TestInfo& test_info) { in ShowResult() argument 313 bool success = (DiagnosticsModel::TEST_OK == test_info.GetResult()); in ShowResult() 314 writer_->WriteResult(success, UTF16ToWide(test_info.GetTitle()), in ShowResult() 315 UTF16ToWide(test_info.GetAdditionalInfo())); in ShowResult()
|
/external/bluetooth/glib/tests/refcount/ |
D | objects2.c | 39 static const GTypeInfo test_info = { in my_test_get_type() local 53 &test_info, 0); in my_test_get_type()
|
D | objects.c | 40 static const GTypeInfo test_info = { in my_test_get_type() local 54 &test_info, 0); in my_test_get_type()
|
D | properties2.c | 54 static const GTypeInfo test_info = { in my_test_get_type() local 68 &test_info, 0); in my_test_get_type()
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-internal-inl.h | 396 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/chromium/base/test/ |
D | test_suite.cc | 38 virtual void OnTestStart(const testing::TestInfo& test_info) { in OnTestStart() argument 39 ASSERT_FALSE(TestSuite::IsMarkedMaybe(test_info)) in OnTestStart()
|
/external/gtest/include/gtest/internal/ |
D | gtest-param-util.h | 499 linked_ptr<TestInfo> test_info = *test_it; in RegisterTests() local 509 test_case_name_stream << test_info->test_case_base_name.c_str(); in RegisterTests() 516 test_name_stream << test_info->test_base_name.c_str() << "/" << i; in RegisterTests() 526 test_info->test_meta_factory->CreateTestFactory(*param_it)); in RegisterTests()
|