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

12

/external/chromium/testing/gtest/samples/
H A Dsample9_unittest.cc64 virtual void OnTestStart(const TestInfo& test_info) { argument
67 test_info.test_case_name(),
68 test_info.name());
84 virtual void OnTestEnd(const TestInfo& test_info) { argument
87 test_info.test_case_name(),
88 test_info.name());
145 const TestInfo& test_info = *test_case.GetTestInfo(j); local
148 if (test_info.result()->Failed() &&
149 strcmp(test_info.name(), "Fails") != 0) {
/external/protobuf/gtest/samples/
H A Dsample9_unittest.cc64 virtual void OnTestStart(const TestInfo& test_info) { argument
67 test_info.test_case_name(),
68 test_info.name());
84 virtual void OnTestEnd(const TestInfo& test_info) { argument
87 test_info.test_case_name(),
88 test_info.name());
145 const TestInfo& test_info = *test_case.GetTestInfo(j); local
148 if (test_info.result()->Failed() &&
149 strcmp(test_info.name(), "Fails") != 0) {
H A Dsample10_unittest.cc81 virtual void OnTestStart(const TestInfo& test_info) { argument
86 virtual void OnTestEnd(const TestInfo& test_info) { argument
/external/chromium/testing/gtest/test/
H A Dgtest_shuffle_test_.cc87 virtual void OnTestStart(const TestInfo& test_info) { argument
88 printf("%s.%s\n", test_info.test_case_name(), test_info.name());
H A Dgtest-unittest-api_test.cc221 const TestInfo* const test_info = test_case->GetTestInfo(0); local
222 EXPECT_STREQ("Dummy2", test_info->name());
223 EXPECT_STREQ("DISABLED_Test", test_info->test_case_name());
224 EXPECT_TRUE(IsNull(test_info->value_param()));
225 EXPECT_TRUE(IsNull(test_info->type_param()));
226 EXPECT_FALSE(test_info->should_run());
H A Dgtest-param-test_test.cc796 const ::testing::TestInfo* const test_info = member in class:testing
799 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name());
803 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name());
805 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param());
825 const ::testing::TestInfo* const test_info = member in class:testing
828 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param());
/external/protobuf/gtest/test/
H A Dgtest_shuffle_test_.cc87 virtual void OnTestStart(const TestInfo& test_info) { argument
88 printf("%s.%s\n", test_info.test_case_name(), test_info.name());
H A Dgtest-unittest-api_test.cc221 const TestInfo* const test_info = test_case->GetTestInfo(0); local
222 EXPECT_STREQ("Dummy2", test_info->name());
223 EXPECT_STREQ("DISABLED_Test", test_info->test_case_name());
224 EXPECT_STREQ("", test_info->comment());
225 EXPECT_STREQ("", test_info->test_case_comment());
226 EXPECT_FALSE(test_info->should_run());
/external/valgrind/unittest/
H A Dold_test_suite.cc83 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { argument
84 if (strcmp(test_info.test_case_name(), "StressTests") == 0 ||
85 strcmp(test_info.test_case_name(), "PerformanceTests") == 0) {
86 const ::testing::TestResult* result = test_info.result();
87 times_[test_info.name()].push_back(result->elapsed_time());
/external/gtest/src/
H A Dgtest-internal-inl.h642 static void RunTest(TestInfo * test_info) { argument
643 test_info->impl()->Run();
650 static void ClearTestResult(TestInfo * test_info) { argument
651 test_info->impl()->ClearResult();
744 void AddTestInfo(TestInfo * test_info);
765 static bool TestPassed(const TestInfo * test_info) { argument
766 const internal::TestInfoImpl* const impl = test_info->impl();
771 static bool TestFailed(const TestInfo * test_info) { argument
772 const internal::TestInfoImpl* const impl = test_info->impl();
777 static bool TestDisabled(const TestInfo * test_info) { argument
782 ShouldRunTest(const TestInfo *test_info) argument
1082 AddTestInfo(Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo * test_info) argument
[all...]
H A Dgtest.cc2133 TestInfo* const test_info = local
2136 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info);
2137 return test_info;
2211 // Returns true iff the test name of test_info matches name_.
2212 bool operator()(const TestInfo * test_info) const {
2213 return test_info && internal::String(test_info->name()).Compare(name_) == 0;
2369 void TestCase::AddTestInfo(TestInfo * test_info) { argument
2370 test_info_list_->PushBack(test_info);
2609 virtual void OnTestStart(const TestInfo * test_info);
2681 OnTestStart(const TestInfo * test_info) argument
2692 OnTestEnd(const TestInfo * test_info) argument
3074 PrintXmlTestInfo(FILE* out, const char* test_case_name, const TestInfo* test_info) argument
3827 TestInfo * const test_info = test_info_node->element(); local
3872 const TestInfo* const test_info = test_info_node->element(); local
[all...]
/external/chromium/sdch/open-vcdiff/src/gtest/src/
H A Dgtest-internal-inl.h573 static void RunTest(TestInfo * test_info) { argument
574 test_info->impl()->Run();
581 static void ClearTestResult(TestInfo * test_info) { argument
582 test_info->impl()->ClearResult();
669 void AddTestInfo(TestInfo * test_info);
690 static bool TestPassed(const TestInfo * test_info) { argument
691 const internal::TestInfoImpl* const impl = test_info->impl();
696 static bool TestFailed(const TestInfo * test_info) { argument
697 const internal::TestInfoImpl* const impl = test_info->impl();
702 static bool TestDisabled(const TestInfo * test_info) { argument
707 ShouldRunTest(const TestInfo *test_info) argument
960 AddTestInfo(Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo * test_info) argument
[all...]
/external/bluetooth/glib/tests/refcount/
H A Dobjects2.c39 static const GTypeInfo test_info = { local
53 &test_info, 0);
H A Dobjects.c40 static const GTypeInfo test_info = { local
54 &test_info, 0);
H A Dproperties2.c54 static const GTypeInfo test_info = { local
68 &test_info, 0);
/external/chromium/chrome/browser/diagnostics/
H A Ddiagnostics_main.cc312 void ShowResult(DiagnosticsModel::TestInfo& test_info) { argument
313 bool success = (DiagnosticsModel::TEST_OK == test_info.GetResult());
314 writer_->WriteResult(success, UTF16ToWide(test_info.GetTitle()),
315 UTF16ToWide(test_info.GetAdditionalInfo()));
/external/chromium/testing/gtest/include/gtest/
H A Dgtest.h709 static void ClearTestResult(TestInfo* test_info) { argument
710 test_info->result_.Clear();
824 void AddTestInfo(TestInfo * test_info);
846 static bool TestPassed(const TestInfo* test_info) { argument
847 return test_info->should_run() && test_info->result()->Passed();
851 static bool TestFailed(const TestInfo* test_info) { argument
852 return test_info->should_run() && test_info->result()->Failed();
856 static bool TestDisabled(const TestInfo* test_info) { argument
861 ShouldRunTest(const TestInfo* test_info) argument
[all...]
/external/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest.h709 static void ClearTestResult(TestInfo* test_info) { argument
710 test_info->result_.Clear();
824 void AddTestInfo(TestInfo * test_info);
846 static bool TestPassed(const TestInfo* test_info) { argument
847 return test_info->should_run() && test_info->result()->Passed();
851 static bool TestFailed(const TestInfo* test_info) { argument
852 return test_info->should_run() && test_info->result()->Failed();
856 static bool TestDisabled(const TestInfo* test_info) { argument
861 ShouldRunTest(const TestInfo* test_info) argument
[all...]
/external/chromium/base/test/
H A Dtest_suite.cc38 virtual void OnTestStart(const testing::TestInfo& test_info) { argument
39 ASSERT_FALSE(TestSuite::IsMarkedMaybe(test_info))
/external/chromium/testing/gtest/src/
H A Dgtest.cc2237 TestInfo* const test_info = local
2240 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info);
2241 return test_info;
2283 // Returns true iff the test name of test_info matches name_.
2284 bool operator()(const TestInfo * test_info) const {
2285 return test_info && internal::String(test_info->name()).Compare(name_) == 0;
2424 void TestCase::AddTestInfo(TestInfo * test_info) { argument
2425 test_info_list_.push_back(test_info);
2666 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { argument
2771 OnTestStart(const TestInfo& test_info) argument
2790 OnTestEnd(const TestInfo& test_info) argument
2842 const TestInfo& test_info = *test_case.GetTestInfo(j); local
3224 OutputXmlTestInfo(::std::ostream* stream, const char* test_case_name, const TestInfo& test_info) argument
3381 OnTestStart(const TestInfo& test_info) argument
3385 OnTestEnd(const TestInfo& test_info) argument
4395 TestInfo* const test_info = test_case->test_info_list()[j]; local
4437 const TestInfo* const test_info = local
[all...]
/external/protobuf/gtest/src/
H A Dgtest.cc2138 TestInfo* const test_info = local
2141 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info);
2142 return test_info;
2219 // Returns true iff the test name of test_info matches name_.
2220 bool operator()(const TestInfo * test_info) const {
2221 return test_info && internal::String(test_info->name()).Compare(name_) == 0;
2376 void TestCase::AddTestInfo(TestInfo * test_info) { argument
2377 test_info_list_->PushBack(test_info);
2412 bool TestCase::TestPassed(const TestInfo * test_info) { argument
2418 TestFailed(const TestInfo * test_info) argument
2424 TestDisabled(const TestInfo * test_info) argument
2429 ShouldRunTest(const TestInfo *test_info) argument
2718 OnTestStart(const TestInfo& test_info) argument
2741 OnTestEnd(const TestInfo& test_info) argument
2790 const TestInfo& test_info = *test_case.GetTestInfo(j); local
3186 OutputXmlTestInfo(::std::ostream* stream, const char* test_case_name, const TestInfo& test_info) argument
4153 TestInfo* const test_info = test_case->test_info_list().GetElement(j); local
4195 const TestInfo* const test_info = local
[all...]
H A Dgtest-internal-inl.h567 static void ClearTestResult(TestInfo * test_info) { argument
568 test_info->impl()->ClearResult();
869 // test_info: the TestInfo object
872 TestInfo * test_info) {
886 GetTestCase(test_info->test_case_name(),
887 test_info->test_case_comment(),
889 tear_down_tc)->AddTestInfo(test_info);
870 AddTestInfo(Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo * test_info) argument
/external/llvm/utils/unittest/googletest/
H A Dgtest.cc2237 TestInfo* const test_info = local
2240 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info);
2241 return test_info;
2395 void TestCase::AddTestInfo(TestInfo * test_info) { argument
2396 test_info_list_.push_back(test_info);
2637 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { argument
2638 const char* const type_param = test_info.type_param();
2639 const char* const value_param = test_info.value_param();
2670 virtual void OnTestStart(const TestInfo& test_info);
2672 virtual void OnTestEnd(const TestInfo& test_info);
2742 OnTestStart(const TestInfo& test_info) argument
2761 OnTestEnd(const TestInfo& test_info) argument
2813 const TestInfo& test_info = *test_case.GetTestInfo(j); local
3195 OutputXmlTestInfo(::std::ostream* stream, const char* test_case_name, const TestInfo& test_info) argument
3352 OnTestStart(const TestInfo& test_info) argument
3356 OnTestEnd(const TestInfo& test_info) argument
4362 TestInfo* const test_info = test_case->test_info_list()[j]; local
4404 const TestInfo* const test_info = local
[all...]
/external/chromium/sdch/open-vcdiff/src/gtest/
H A Dgtest.cc1884 TestInfo* const test_info = local
1886 internal::GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info);
1887 return test_info;
1930 // Returns true iff the test name of test_info matches name_.
1931 bool operator()(const TestInfo * test_info) const {
1932 return test_info && internal::String(test_info->name()).Compare(name_) == 0;
2075 void TestCase::AddTestInfo(TestInfo * test_info) { argument
2076 test_info_list_->PushBack(test_info);
2298 virtual void OnTestStart(const TestInfo * test_info);
2344 OnTestStart(const TestInfo * test_info) argument
2351 OnTestEnd(const TestInfo * test_info) argument
2699 PrintXmlTestInfo(FILE* out, const char* test_case_name, const TestInfo* test_info) argument
3231 TestInfo * const test_info = test_info_node->element(); local
3269 const TestInfo* const test_info = test_info_node->element(); local
[all...]
/external/chromium/testing/gmock/src/
H A Dgmock-spec-builders.cc703 const TestInfo* const test_info = local
705 if (test_info != NULL) {
709 state.first_used_test_case = test_info->test_case_name();
710 state.first_used_test = test_info->name();

Completed in 1899 milliseconds

12