/third_party/boost/libs/regex/test/regress/ |
D | test_mfc.cpp | 34 const std::string& ss = test_info<char>::search_text(); in test_mfc() 35 const std::string& ss2 = test_info<char>::expression(); in test_mfc() 38 boost::regex_constants::match_flag_type opts = test_info<char>::match_options(); in test_mfc() 39 const int* answer_table = test_info<char>::answer_table(); in test_mfc() 40 boost::regex r = boost::make_regex(s2, test_info<char>::syntax_options()); in test_mfc() 124 answer_table = test_info<char>::answer_table(); in test_mfc() 158 answer_table = test_info<char>::answer_table(); in test_mfc() 212 const std::wstring& ss = test_info<wchar_t>::search_text(); in test_mfc() 213 const std::wstring& ss2 = test_info<wchar_t>::expression(); in test_mfc() 216 boost::regex_constants::match_flag_type opts = test_info<wchar_t>::match_options(); in test_mfc() [all …]
|
D | test_deprecated.cpp | 81 const std::string& expression = test_info<char>::expression(); in test_deprecated() 84 const std::string& search_text = test_info<char>::search_text(); in test_deprecated() 87 int posix_options = get_posix_compile_options(test_info<char>::syntax_options()); in test_deprecated() 90 int posix_match_options = get_posix_match_flags(test_info<char>::match_options()); in test_deprecated() 93 const int* results = test_info<char>::answer_table(); in test_deprecated() 137 if(test_info<char>::syntax_options() & ~boost::regex::icase) in test_deprecated() 143 boost::RegEx e(expression, (test_info<char>::syntax_options() & boost::regex::icase) != 0); in test_deprecated() 148 if(e.Search(search_text, test_info<char>::match_options())) in test_deprecated() 209 const std::wstring& expression = test_info<wchar_t>::expression(); in test_deprecated() 212 const std::wstring& search_text = test_info<wchar_t>::search_text(); in test_deprecated() [all …]
|
D | test_partial_match.hpp | 39 && (test_info<charT>::match_options() & boost::match_partial)) ) in test_sub_match() 83 const std::basic_string<charT>& search_text = test_info<charT>::search_text(); in test_simple_search() 84 boost::regex_constants::match_flag_type opts = test_info<charT>::match_options(); in test_simple_search() 85 const int* answer_table = test_info<charT>::answer_table(); in test_simple_search() 129 const std::basic_string<charT>& search_text = test_info<charT>::search_text(); in test_regex_iterator() 130 boost::regex_constants::match_flag_type opts = test_info<charT>::match_options(); in test_regex_iterator() 131 const int* answer_table = test_info<charT>::answer_table(); in test_regex_iterator() 190 const std::basic_string<charT>& search_text = test_info<charT>::search_text(); in test_regex_token_iterator() 191 boost::regex_constants::match_flag_type opts = test_info<charT>::match_options(); in test_regex_token_iterator() 192 const int* answer_table = test_info<charT>::answer_table(); in test_regex_token_iterator() [all …]
|
D | test_icu.cpp | 169 boost::regex_constants::match_flag_type opts = test_info<wchar_t>::match_options(); in test_icu_grep() 170 const int* answer_table = test_info<wchar_t>::answer_table(); in test_icu_grep() 237 …expression.assign(test_info<wchar_t>::expression().begin(), test_info<wchar_t>::expression().end()… in test_icu() 239 …std::copy(test_info<wchar_t>::expression().begin(), test_info<wchar_t>::expression().end(), std::b… in test_icu() 241 boost::regex_constants::syntax_option_type syntax_options = test_info<UChar32>::syntax_options(); in test_icu() 260 …search_text.assign(test_info<wchar_t>::search_text().begin(), test_info<wchar_t>::search_text().en… in test_icu() 262 …std::copy(test_info<wchar_t>::search_text().begin(), test_info<wchar_t>::search_text().end(), std:… in test_icu() 264 boost::regex_constants::match_flag_type opts = test_info<wchar_t>::match_options(); in test_icu() 265 const int* answer_table = test_info<wchar_t>::answer_table(); in test_icu() 403 …expression.assign(test_info<wchar_t>::expression().begin(), test_info<wchar_t>::expression().end()… in test_icu() [all …]
|
D | test.hpp | 84 test_info<charT>::set_typename(""); in do_test() 86 …test_info<charT>::set_typename(typeid(boost::basic_regex<charT, boost::cpp_regex_traits<charT> >).… in do_test() 109 test_info<charT>::set_typename(""); in do_test() 111 …test_info<charT>::set_typename(typeid(boost::basic_regex<charT, boost::c_regex_traits<charT> >).na… in do_test() 120 test_info<charT>::set_typename(""); in do_test() 122 …test_info<charT>::set_typename(typeid(boost::basic_regex<charT, boost::w32_regex_traits<charT> >).… in do_test() 131 test_info<charT>::set_typename("Deprecated interfaces"); in do_test() 137 test_info<charT>::set_typename("MFC/ATL interfaces"); in do_test() 143 test_info<charT>::set_typename("ICU interfaces"); in do_test() 160 test_info<char>::set_info(__FILE__, __LINE__, se, f);\ [all …]
|
D | test_regex_replace.hpp | 27 const string_type& search_text = test_info<charT>::search_text(); in test_regex_replace() 28 boost::regex_constants::match_flag_type opts = test_info<charT>::match_options(); in test_regex_replace() 29 const string_type& format_string = test_info<charT>::format_string(); in test_regex_replace() 30 const string_type& result_string = test_info<charT>::result_string(); in test_regex_replace() 45 const std::basic_string<charT>& expression = test_info<charT>::expression(); in test() 46 boost::regex_constants::syntax_option_type syntax_options = test_info<charT>::syntax_options(); in test()
|
D | test_regex_search.hpp | 47 && (test_info<charT>::match_options() & boost::match_partial)) ) in test_sub_match() 102 const std::basic_string<charT>& search_text = test_info<charT>::search_text(); in test_simple_search() 103 boost::regex_constants::match_flag_type opts = test_info<charT>::match_options(); in test_simple_search() 104 const int* answer_table = test_info<charT>::answer_table(); in test_simple_search() 182 const std::basic_string<charT>& search_text = test_info<charT>::search_text(); in test_regex_iterator() 183 boost::regex_constants::match_flag_type opts = test_info<charT>::match_options(); in test_regex_iterator() 184 const int* answer_table = test_info<charT>::answer_table(); in test_regex_iterator() 243 const std::basic_string<charT>& search_text = test_info<charT>::search_text(); in test_regex_token_iterator() 244 boost::regex_constants::match_flag_type opts = test_info<charT>::match_options(); in test_regex_token_iterator() 245 const int* answer_table = test_info<charT>::answer_table(); in test_regex_token_iterator() [all …]
|
D | info.hpp | 204 struct test_info struct 209 struct test_info<char> struct 228 std::ostream& operator<<(std::ostream& os, const test_info<charT>&) in operator <<() 230 if(test_info<charT>::need_to_print()) in operator <<() 232 …os << test_info<charT>::file() << ":" << test_info<charT>::line() << ": Error in test here:" << st… in operator <<() 233 test_info<charT>::clear(); in operator <<() 244 std::cerr << test_info<charT>();\ 246 << " (While testing " << test_info<charT>::expression_typename() << ")" << std::endl
|
/third_party/boost/libs/predef/test/ |
D | tested_at.cpp | 16 struct test_info struct 21 test_info(std::string const & v, bool p) : value(v), passed(p) {} in test_info() argument 22 test_info(test_info const & o) : value(o.value), passed(o.passed) {} in test_info() function 25 std::vector<test_info> test_results; 28 #define PREDEF_CHECK(X) test_results.push_back(test_info(#X,(X))) 44 std::vector<test_info>::iterator i = test_results.begin(); in main() 45 std::vector<test_info>::iterator e = test_results.end(); in main()
|
D | workaround.cpp | 16 struct test_info struct 21 test_info(std::string const & v, bool p) : value(v), passed(p) {} in test_info() argument 22 test_info(test_info const & o) : value(o.value), passed(o.passed) {} in test_info() function 25 std::vector<test_info> test_results; 28 #define PREDEF_CHECK(X) test_results.push_back(test_info(#X,(X))) 44 std::vector<test_info>::iterator i = test_results.begin(); in main() 45 std::vector<test_info>::iterator e = test_results.end(); in main()
|
D | version.cpp | 15 struct test_info struct 20 test_info(std::string const & v, bool p) : value(v), passed(p) {} in test_info() argument 21 test_info(test_info const & o) : value(o.value), passed(o.passed) {} in test_info() function 24 std::vector<test_info> test_results; 27 #define PREDEF_CHECK(X) test_results.push_back(test_info(#X,(X))) 65 std::vector<test_info>::iterator i = test_results.begin(); in main() 66 std::vector<test_info>::iterator e = test_results.end(); in main()
|
D | make.cpp | 16 struct test_info struct 21 test_info(std::string const & v, bool p) : value(v), passed(p) {} in test_info() function 22 test_info(test_info const & o) : value(o.value), passed(o.passed) {} in test_info() argument 25 std::vector<test_info> test_results; 28 #define PREDEF_CHECK(X) test_results.push_back(test_info(#X,(X))) 76 std::vector<test_info>::iterator i = test_results.begin(); in main() 77 std::vector<test_info>::iterator e = test_results.end(); in main()
|
/third_party/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_suite.GetTestInfo(j); in main() local 144 if (test_info.result()->Failed() && in main() 145 strcmp(test_info.name(), "Fails") != 0) { in main()
|
/third_party/cef/tests/gtest/teamcity/src/ |
D | teamcity_gtest.cpp | 38 void TeamcityGoogleTestEventListener::OnTestStart(const TestInfo& test_info) { in OnTestStart() argument 39 messages.testStarted(test_info.name(), flowid); in OnTestStart() 43 void TeamcityGoogleTestEventListener::OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument 44 const TestResult* result = test_info.result(); in OnTestEnd() 71 test_info.name(), in OnTestEnd() 77 messages.testFinished(test_info.name(), static_cast<int>(result->elapsed_time()), flowid); in OnTestEnd()
|
/third_party/googletest/googletest/test/ |
D | googletest-failfast-unittest_.cc | 130 void OnTestStart(const ::testing::TestInfo& test_info) override { in OnTestStart() argument 131 printf("We are in OnTestStart of %s.%s.\n", test_info.test_suite_name(), in OnTestStart() 132 test_info.name()); in OnTestStart() 141 void OnTestEnd(const ::testing::TestInfo& test_info) override { in OnTestEnd() argument 142 printf("We are in OnTestEnd of %s.%s.\n", test_info.test_suite_name(), in OnTestEnd() 143 test_info.name()); in OnTestEnd()
|
D | googletest-param-test-test.cc | 782 const ::testing::TestInfo* const test_info = in TEST_P() local 785 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_suite_name()); in TEST_P() 789 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); in TEST_P() 791 EXPECT_EQ(::testing::PrintToString(GetParam()), test_info->value_param()); in TEST_P() 803 const ::testing::TestInfo* const test_info = in TEST_P() local 806 EXPECT_STREQ("FortyTwo/MacroNamingTest", test_info->test_suite_name()); in TEST_P() 807 EXPECT_STREQ("FooSomeTestName/0", test_info->name()); in TEST_P() 817 const ::testing::TestInfo* const test_info = in TEST_F() local 820 EXPECT_STREQ("MacroNamingTestNonParametrized", test_info->test_suite_name()); in TEST_F() 821 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_suite_name(), test_info.name()); in OnTestStart()
|
D | gtest-unittest-api_test.cc | 211 const TestInfo* const test_info = test_suite->GetTestInfo(0); in TEST() local 212 EXPECT_STREQ("Dummy2", test_info->name()); in TEST() 213 EXPECT_STREQ("DISABLED_Test", test_info->test_suite_name()); in TEST() 214 EXPECT_TRUE(IsNull(test_info->value_param())); in TEST() 215 EXPECT_TRUE(IsNull(test_info->type_param())); in TEST() 216 EXPECT_FALSE(test_info->should_run()); in TEST()
|
/third_party/mesa3d/src/gallium/tests/unit/ |
D | u_prim_verts_test.c | 6 struct test_info { struct 12 struct test_info tests[] = { argument 34 struct test_info *info = &tests[i]; in main()
|
/third_party/mesa3d/src/gtest/include/gtest/ |
D | gtest.h | 797 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 798 test_info->result_.Clear(); in ClearTestResult() 930 void AddTestInfo(TestInfo * test_info); 960 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 961 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 965 static bool TestSkipped(const TestInfo* test_info) { in TestSkipped() argument 966 return test_info->should_run() && test_info->result()->Skipped(); in TestSkipped() 970 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument 971 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 976 static bool TestReportableDisabled(const TestInfo* test_info) { in TestReportableDisabled() argument [all …]
|
/third_party/googletest/googletest/include/gtest/ |
D | gtest.h | 813 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 814 test_info->result_.Clear(); in ClearTestResult() 948 void AddTestInfo(TestInfo * test_info); 981 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 982 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 986 static bool TestSkipped(const TestInfo* test_info) { in TestSkipped() argument 987 return test_info->should_run() && test_info->result()->Skipped(); in TestSkipped() 991 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument 992 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 997 static bool TestReportableDisabled(const TestInfo* test_info) { in TestReportableDisabled() argument [all …]
|
/third_party/googletest/googletest/src/ |
D | gtest.cc | 2761 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2764 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2765 return test_info; in MakeAndRegisterTestInfo() 2806 bool operator()(const TestInfo * test_info) const { in operator ()() 2807 return test_info && test_info->name() == name_; in operator ()() 2987 void TestSuite::AddTestInfo(TestInfo* test_info) { in AddTestInfo() argument 2988 test_info_list_.push_back(test_info); in AddTestInfo() 3329 static void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 3330 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 3331 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() [all …]
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest.cc | 2586 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2589 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2590 return test_info; in MakeAndRegisterTestInfo() 2631 bool operator()(const TestInfo * test_info) const { in operator ()() 2632 return test_info && test_info->name() == name_; in operator ()() 2789 void TestSuite::AddTestInfo(TestInfo* test_info) { in AddTestInfo() argument 2790 test_info_list_.push_back(test_info); in AddTestInfo() 3083 static void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 3084 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 3085 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() [all …]
|
/third_party/flutter/engine/flutter/third_party/txt/tests/ |
D | render_test.cc | 40 const auto& test_info = in GetNextSnapshotName() local 44 stream << "snapshots/" << test_info->test_case_name() << "_" in GetNextSnapshotName() 45 << test_info->name(); in GetNextSnapshotName()
|
/third_party/jerryscript/tests/unit-core/ |
D | test-objects-foreach.c | 142 static const jerry_object_native_info_t test_info = variable 201 jerry_set_object_native_pointer (object, &test_data, &test_info); in main() 206 …TEST_ASSERT (jerry_objects_foreach_by_native_info (&test_info, find_test_object_by_data, &found_ob… in main() 221 …TEST_ASSERT (!jerry_objects_foreach_by_native_info (&test_info, find_test_object_by_data, &found_o… in main()
|