Searched defs:test_info (Results 1 - 25 of 67) sorted by last modified time

123

/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-param-util.h508 linked_ptr<TestInfo> test_info = *test_it; local
518 test_case_name_stream << test_info->test_case_base_name.c_str();
525 test_name_stream << test_info->test_base_name.c_str() << "/" << i;
535 test_info->test_meta_factory->CreateTestFactory(*param_it));
/external/protobuf/gtest/samples/
H A Dsample10_unittest.cc81 virtual void OnTestStart(const TestInfo& test_info) { argument
86 virtual void OnTestEnd(const TestInfo& test_info) { argument
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/src/
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
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...]
/external/protobuf/gtest/test/
H A Dgtest-param-test_test.cc762 const ::testing::TestInfo* const test_info = member in class:testing
765 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name());
769 EXPECT_STREQ(msg.GetString().c_str(), 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());
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.cc5107 const TestInfo* const test_info = test_case->GetTestInfo(i); local
5108 if (strcmp(test_name, test_info->name()) == 0)
5109 return test_info;
5115 const TestInfo* test_info) {
5116 return test_info->result();
5122 const TestInfo* const test_info = GetTestInfo("Names"); local
5124 ASSERT_STREQ("TestInfoTest", test_info->test_case_name());
5125 ASSERT_STREQ("Names", test_info->name());
5130 const TestInfo* const test_info = GetTestInfo("result"); local
5133 ASSERT_EQ(0, GetTestResult(test_info)
5114 GetTestResult( const TestInfo* test_info) argument
6072 const TestInfo* test_info = local
6081 const TestInfo* test_info = local
6091 const TestInfo* test_info = local
6106 const TestInfo* test_info = local
[all...]
/external/mesa3d/src/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/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-param-util.h490 linked_ptr<TestInfo> test_info = *test_it; local
500 test_case_name_stream << test_info->test_case_base_name;
507 test_name_stream << test_info->test_base_name << "/" << i;
516 test_info->test_meta_factory->CreateTestFactory(*param_it));
/external/mesa3d/src/gtest/src/
H A Dgtest-internal-inl.h632 // test_info: the TestInfo object
635 TestInfo* test_info) {
649 GetTestCase(test_info->test_case_name(),
650 test_info->type_param(),
652 tear_down_tc)->AddTestInfo(test_info);
633 AddTestInfo(Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo* test_info) argument
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/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/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-param-util.h490 linked_ptr<TestInfo> test_info = *test_it; local
500 test_case_name_stream << test_info->test_case_base_name;
507 test_name_stream << test_info->test_base_name << "/" << i;
516 test_info->test_meta_factory->CreateTestFactory(*param_it));
/external/llvm/utils/unittest/googletest/src/
H A Dgtest-internal-inl.h631 // test_info: the TestInfo object
634 TestInfo* test_info) {
648 GetTestCase(test_info->test_case_name(),
649 test_info->type_param(),
651 tear_down_tc)->AddTestInfo(test_info);
632 AddTestInfo(Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo* test_info) argument
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);
2638 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { argument
2639 const char* const type_param = test_info.type_param();
2640 const char* const value_param = test_info.value_param();
2671 virtual void OnTestStart(const TestInfo& test_info);
2673 virtual void OnTestEnd(const TestInfo& test_info);
2743 OnTestStart(const TestInfo& test_info) argument
2762 OnTestEnd(const TestInfo& test_info) argument
2814 const TestInfo& test_info = *test_case.GetTestInfo(j); local
3196 OutputXmlTestInfo(::std::ostream* stream, const char* test_case_name, const TestInfo& test_info) argument
3353 OnTestStart(const TestInfo& test_info) argument
3357 OnTestEnd(const TestInfo& test_info) argument
4363 TestInfo* const test_info = test_case->test_info_list()[j]; local
4405 const TestInfo* const test_info = local
[all...]
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h10489 linked_ptr<TestInfo> test_info = *test_it; local
10499 test_case_name += test_info->test_case_base_name;
10506 test_name_stream << test_info->test_base_name << "/" << i;
10515 test_info->test_meta_factory->CreateTestFactory(*param_it));
18128 static void ClearTestResult(TestInfo* test_info) { argument
18129 test_info->result_.Clear();
18253 void AddTestInfo(TestInfo * test_info);
18275 static bool TestPassed(const TestInfo* test_info) { argument
18276 return test_info->should_run() && test_info
18280 TestFailed(const TestInfo* test_info) argument
18286 TestReportableDisabled(const TestInfo* test_info) argument
18291 TestDisabled(const TestInfo* test_info) argument
18296 TestReportable(const TestInfo* test_info) argument
18301 ShouldRunTest(const TestInfo* test_info) argument
[all...]
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest-all.cc1054 // test_info: the TestInfo object
1057 TestInfo* test_info) {
1071 GetTestCase(test_info->test_case_name(),
1072 test_info->type_param(),
1074 tear_down_tc)->AddTestInfo(test_info);
1579 void OnTestStart(const TestInfo& test_info) { argument
1580 SendLn(std::string("event=TestStart&name=") + test_info.name());
1583 void OnTestEnd(const TestInfo& test_info) { argument
1585 FormatBool((test_info.result())->Passed()) +
1587 StreamableToString((test_info
1055 AddTestInfo(Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo* test_info) argument
3709 TestInfo* const test_info = local
3907 AddTestInfo(TestInfo * test_info) argument
4156 PrintFullTestCommentIfPresent(const TestInfo& test_info) argument
4258 OnTestStart(const TestInfo& test_info) argument
4277 OnTestEnd(const TestInfo& test_info) argument
4328 const TestInfo& test_info = *test_case.GetTestInfo(j); local
4767 OutputXmlTestInfo(::std::ostream* stream, const char* test_case_name, const TestInfo& test_info) argument
5957 TestInfo* const test_info = test_case->test_info_list()[j]; local
6024 const TestInfo* const test_info = local
[all...]
/external/gtest/include/gtest/
H A Dgtest.h715 static void ClearTestResult(TestInfo* test_info) { argument
716 test_info->result_.Clear();
840 void AddTestInfo(TestInfo * test_info);
862 static bool TestPassed(const TestInfo* test_info) { argument
863 return test_info->should_run() && test_info->result()->Passed();
867 static bool TestFailed(const TestInfo* test_info) { argument
868 return test_info->should_run() && test_info->result()->Failed();
873 static bool TestReportableDisabled(const TestInfo* test_info) { argument
878 TestDisabled(const TestInfo* test_info) argument
883 TestReportable(const TestInfo* test_info) argument
888 ShouldRunTest(const TestInfo* test_info) argument
[all...]
/external/gtest/include/gtest/internal/
H A Dgtest-param-util.h490 linked_ptr<TestInfo> test_info = *test_it; local
500 test_case_name += test_info->test_case_base_name;
507 test_name_stream << test_info->test_base_name << "/" << i;
516 test_info->test_meta_factory->CreateTestFactory(*param_it));
/external/gtest/src/
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);
1178 void OnTestStart(const TestInfo& test_info) { argument
1179 SendLn(std::string("event=TestStart&name=") + test_info.name());
1182 void OnTestEnd(const TestInfo& test_info) { argument
1184 FormatBool((test_info.result())->Passed()) +
1186 StreamableToString((test_info
654 AddTestInfo(Test::SetUpTestCaseFunc set_up_tc, Test::TearDownTestCaseFunc tear_down_tc, TestInfo* test_info) argument
[all...]
H A Dgtest.cc2225 TestInfo* const test_info = local
2228 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info);
2229 return test_info;
2271 // Returns true iff the test name of test_info matches name_.
2272 bool operator()(const TestInfo * test_info) const {
2273 return test_info && test_info->name() == name_;
2423 void TestCase::AddTestInfo(TestInfo * test_info) { argument
2424 test_info_list_.push_back(test_info);
2672 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { argument
2774 OnTestStart(const TestInfo& test_info) argument
2793 OnTestEnd(const TestInfo& test_info) argument
2844 const TestInfo& test_info = *test_case.GetTestInfo(j); local
3283 OutputXmlTestInfo(::std::ostream* stream, const char* test_case_name, const TestInfo& test_info) argument
4473 TestInfo* const test_info = test_case->test_info_list()[j]; local
4540 const TestInfo* const test_info = local
[all...]
/external/gtest/test/
H A Dgtest-param-test_test.cc798 const ::testing::TestInfo* const test_info = member in class:testing
801 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name());
805 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name());
807 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param());
827 const ::testing::TestInfo* const test_info = member in class:testing
830 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param());
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());

Completed in 788 milliseconds

123