Home
last modified time | relevance | path

Searched refs:test_name (Results 1 – 25 of 198) sorted by relevance

12345678

/third_party/unity/auto/
Dparse_output.rb67 def push_xml_output_passed(test_name) argument
68 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '"/>'
72 def push_xml_output_failed(test_name, reason) argument
73 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '">'
79 def push_xml_output_ignored(test_name, reason) argument
80 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '">'
89 test_name = test_suite_name.split(@path_delim)
92 base_name = test_name[test_name.size - 1].split('.')[0]
115 test_name = array[1]
117 printf "%-40s PASS\n", test_name
[all …]
/third_party/googletest/googletest/include/gtest/hwext/
Dgtest-ext.h13 #define GTEST_TEST_UNIQUE_ID_(test_case_name, test_name, file_line) \ argument
14 test_case_name##_##test_name##_##file_line
18 # define HWTEST(test_case_name, test_name, test_flags) \ argument
19 …UNIQUE_ID_(test_case_name, test_name, __LINE__) = testing::ext::TestDefManager::instance()->regist…
20 TEST(test_case_name, test_name)
24 # define HWTEST_F(test_case_name, test_name, test_flags) \ argument
25 …UNIQUE_ID_(test_case_name, test_name, __LINE__) = testing::ext::TestDefManager::instance()->regist…
26 TEST_F(test_case_name, test_name)
29 # define HWTYPED_TEST(test_case_name, test_name, test_flags) \ argument
30 …UNIQUE_ID_(test_case_name, test_name, __LINE__) = testing::ext::TestDefManager::instance()->regist…
[all …]
/third_party/cJSON/tests/unity/auto/
Dparse_output.rb50 test_name = test_suite_name.split('/')
52 base_name = test_name[test_name.size - 1].split('.')
60 test_name = array[last_item - 1]
62 printf "%-40s PASS\n", test_name
66 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '"/>'
74 test_name = array[1].sub(')', '')
78 @array_list.push ' <testcase classname="' + test_suite + '" name="' + test_name + '"/>'
84 test_name = array[last_item - 2]
87 printf "%-40s IGNORED\n", test_name
89 if test_name.start_with? 'TEST('
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/
DCMakeLists.txt17 foreach (test_name IN ITEMS ${TEST_PROGS})
18 if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${test_name}.c)
19 add_executable (${test_name} ${test_name}.c)
20 elseif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${test_name}.cc)
21 add_executable (${test_name} ${test_name}.cc)
23 message (FATAL_ERROR "No source file found for test ${test_name}")
25 target_link_libraries (${test_name} harfbuzz harfbuzz-subset)
27 set_property (TARGET ${test_name} PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
28 add_test (NAME ${test_name} COMMAND ${test_name})
30 add_test (${test_name} ${test_name})
/third_party/python/Lib/test/libregrtest/
Druntest.py168 def get_abs_module(ns: Namespace, test_name: str) -> str:
169 if test_name.startswith('test.') or ns.testdir:
170 return test_name
173 return 'test.' + test_name
176 def _runtest(ns: Namespace, test_name: str) -> TestResult:
202 result = _runtest_inner(ns, test_name,
215 result = _runtest_inner(ns, test_name,
233 def runtest(ns: Namespace, test_name: str) -> TestResult:
245 return _runtest(ns, test_name)
251 return Failed(test_name)
[all …]
Dmain.py103 test_name = result.name
106 self.test_times.append((result.duration_sec, test_name))
109 self.good.append(test_name)
111 self.skipped.append(test_name)
112 self.resource_denieds.append(test_name)
114 self.skipped.append(test_name)
116 self.environment_changed.append(test_name)
119 self.bad.append(test_name)
122 self.run_no_tests.append(test_name)
129 self.bad.remove(test_name)
[all …]
/third_party/protobuf/conformance/
Dconformance_test.cc83 const string& test_name, const string& input) in ConformanceRequestSetting() argument
89 test_name_(test_name) { in ConformanceRequestSetting()
178 void ConformanceTestSuite::ReportSuccess(const string& test_name) { in ReportSuccess() argument
179 if (expected_to_fail_.erase(test_name) != 0) { in ReportSuccess()
183 test_name.c_str()); in ReportSuccess()
184 unexpected_succeeding_tests_.insert(test_name); in ReportSuccess()
189 void ConformanceTestSuite::ReportFailure(const string& test_name, in ReportFailure() argument
194 if (expected_to_fail_.erase(test_name) == 1) { in ReportFailure()
199 StringAppendF(&output_, "WARNING, test=%s: ", test_name.c_str()); in ReportFailure()
201 StringAppendF(&output_, "ERROR, test=%s: ", test_name.c_str()); in ReportFailure()
[all …]
Dtext_format_conformance_suite.cc81 const string& test_name = setting.GetTestName(); in ParseResponse() local
87 ReportFailure(test_name, level, request, response, in ParseResponse()
96 ReportFailure(test_name, level, request, response, in ParseResponse()
106 ReportFailure(test_name, level, request, response, in ParseResponse()
116 test_name, level, request, response, in ParseResponse()
125 GOOGLE_LOG(FATAL) << test_name in ParseResponse()
132 void TextFormatConformanceTestSuite::ExpectParseFailure(const string& test_name, in ExpectParseFailure() argument
140 conformance::TEXT_FORMAT_TEST, prototype, test_name, input); in ExpectParseFailure()
145 ".Proto3.TextFormatInput.", test_name); in ExpectParseFailure()
159 const string& test_name, ConformanceLevel level, const string& input_text) { in RunValidTextFormatTest() argument
[all …]
Dbinary_json_conformance_suite.h56 void RunValidJsonTest(const std::string& test_name, ConformanceLevel level,
60 const std::string& test_name, ConformanceLevel level,
63 void RunValidJsonIgnoreUnknownTest(const std::string& test_name,
67 void RunValidProtobufTest(const std::string& test_name,
72 void RunValidBinaryProtobufTest(const std::string& test_name,
76 void RunValidBinaryProtobufTest(const std::string& test_name,
82 const std::string& test_name, ConformanceLevel level,
95 void RunValidJsonTestWithValidator(const std::string& test_name,
100 void ExpectParseFailureForJson(const std::string& test_name,
103 void ExpectSerializeFailureForJson(const std::string& test_name,
[all …]
Dtext_format_conformance_suite.h45 void RunValidTextFormatTest(const std::string& test_name,
47 void RunValidTextFormatTestProto2(const std::string& test_name,
50 void RunValidTextFormatTestWithMessage(const std::string& test_name,
54 void RunValidUnknownTextFormatTest(const std::string& test_name,
56 void ExpectParseFailure(const std::string& test_name, ConformanceLevel level,
/third_party/spirv-tools/test/diff/diff_files/
Dgenerate_tests.py129 def make_src_file(test_name): argument
130 return '{}_src.spvasm'.format(test_name)
132 def make_dst_file(test_name): argument
133 return '{}_dst.spvasm'.format(test_name)
135 def make_cpp_file(test_name): argument
136 return '{}_autogen.cpp'.format(test_name)
138 def make_camel_case(test_name): argument
139 return test_name.replace('_', ' ').title().replace(' ', '')
207 test_name = test_name_camel_case,
212 def generate_test(diff_tool, test_name): argument
[all …]
/third_party/cef/tests/ceftests/
Dtest_util.h99 #define RC_TEST_BASE(test_case_name, test_name, test_class, test_mode, \ argument
101 TEST(test_case_name, test_name) { \
119 #define RC_TEST_GROUP_IN_MEMORY(test_case_name, test_name, test_class, \ argument
121 RC_TEST_BASE(test_case_name, test_name##RCNone, test_class, test_mode, \
123 RC_TEST_BASE(test_case_name, test_name##RCGlobal, test_class, test_mode, \
125 RC_TEST_BASE(test_case_name, test_name##RCGlobalWithHandler, test_class, \
127 RC_TEST_BASE(test_case_name, test_name##RCCustomInMemory, test_class, \
129 RC_TEST_BASE(test_case_name, test_name##RCCustomInMemoryWithHandler, \
133 #define RC_TEST_GROUP_ON_DISK(test_case_name, test_name, test_class, \ argument
135 RC_TEST_BASE(test_case_name, test_name##RCCustomOnDisk, test_class, \
[all …]
Dthread_helper.h41 #define NAMED_THREAD_TEST(thread_id, test_case_name, test_name) \ argument
42 TEST(test_case_name, test_name) { \
45 RunOnThread(thread_id, base::BindOnce(test_name##Impl), event); \
51 #define UI_THREAD_TEST(test_case_name, test_name) \ argument
52 NAMED_THREAD_TEST(TID_UI, test_case_name, test_name)
60 #define NAMED_THREAD_TEST_ASYNC(thread_id, test_case_name, test_name) \ argument
61 TEST(test_case_name, test_name) { \
64 RunOnThreadAsync(thread_id, base::BindOnce(test_name##Impl), event); \
70 #define UI_THREAD_TEST_ASYNC(test_case_name, test_name) \ argument
71 NAMED_THREAD_TEST_ASYNC(TID_UI, test_case_name, test_name)
/third_party/skia/tools/
Djsondiff.py88 for test_name in all_expectations.keys():
89 test_expectations = all_expectations[test_name]
97 test_name, num_allowed_digests))
102 test_name, digest_pair[0]))
103 result_dict[test_name] = digest_pair[1]
131 for test_name in results_of_this_type.keys():
132 digest_pair = results_of_this_type[test_name]
137 test_name, digest_pair[0]))
138 result_dict[test_name] = digest_pair[1]
/third_party/flutter/skia/tools/
Djsondiff.py88 for test_name in all_expectations.keys():
89 test_expectations = all_expectations[test_name]
97 test_name, num_allowed_digests))
102 test_name, digest_pair[0]))
103 result_dict[test_name] = digest_pair[1]
131 for test_name in results_of_this_type.keys():
132 digest_pair = results_of_this_type[test_name]
137 test_name, digest_pair[0]))
138 result_dict[test_name] = digest_pair[1]
/third_party/skia/third_party/externals/tint/test/
Dextract-spvasm.py30 test_name = ''
36 test_name = run_match.group(1)
37 test_name = re.sub('[^0-9a-zA-Z]', '_', test_name) + '.spvasm'
42 with open(test_name, 'w') as f:
43 f.write('; Test: ' + test_name + '\n')
/third_party/openssl/util/perl/OpenSSL/
DTest.pm78 my $test_name = undef;
136 my $old_test_name = $test_name;
137 $test_name = shift;
140 BAIL_OUT("setup() must receive a name") unless $test_name;
142 if $old_test_name && $old_test_name ne $test_name;
665 BAIL_OUT("Must run setup() first") if (! $test_name);
684 BAIL_OUT("Must run setup() first") if (! $test_name);
949 $directories{RESULTS} = catdir($directories{RESULTTOP}, $test_name);
978 BAIL_OUT("Must run setup() first") if (! $test_name);
985 BAIL_OUT("Must run setup() first") if (! $test_name);
[all …]
/third_party/openssl/test/recipes/
D70-test_sslcertstatus.t14 my $test_name = "test_sslcertstatus";
15 setup($test_name);
20 plan skip_all => "$test_name needs the dynamic engine feature enabled"
23 plan skip_all => "$test_name needs the sock feature enabled"
26 plan skip_all => "$test_name needs the ocsp feature enabled"
29 plan skip_all => "$test_name needs TLS enabled"
D70-test_tls13alerts.t14 my $test_name = "test_tls13alerts";
15 setup($test_name);
20 plan skip_all => "$test_name needs the dynamic engine feature enabled"
23 plan skip_all => "$test_name needs the sock feature enabled"
26 plan skip_all => "$test_name needs TLS1.3 enabled"
D70-test_sslskewith0p.t14 my $test_name = "test_sslskewith0p";
15 setup($test_name);
20 plan skip_all => "$test_name needs the dynamic engine feature enabled"
26 plan skip_all => "$test_name needs the sock feature enabled"
29 plan skip_all => "$test_name needs TLS enabled"
/third_party/skia/third_party/externals/harfbuzz/test/shape/
Dmeson.build12 test_name = file_name.split('.')[0] variable
14 test(test_name, shaping_run_tests_py,
26 test_name = file_name.split('.')[0] variable
28 test(test_name, shaping_run_tests_py,
40 test_name = file_name.split('.')[0] variable
42 test(test_name, shaping_run_tests_py,
/third_party/harfbuzz/test/shaping/
Dmeson.build12 test_name = file_name.split('.')[0].underscorify() variable
14 test(test_name, shaping_run_tests_py,
26 test_name = file_name.split('.')[0].underscorify() variable
28 test(test_name, shaping_run_tests_py,
40 test_name = file_name.split('.')[0].underscorify() variable
42 test(test_name, shaping_run_tests_py,
/third_party/googletest/googletest/include/gtest/
Dgtest-param-test.h409 #define TEST_P(test_suite_name, test_name) \ argument
410 class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name) \
413 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() {} \
424 GTEST_STRINGIFY_(test_suite_name), GTEST_STRINGIFY_(test_name), \
426 test_suite_name, test_name)>(), \
432 test_name)); \
435 test_name)::gtest_registering_dummy_ = \
436 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::AddToRegistry(); \
437 void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()
/third_party/mesa3d/src/gtest/include/gtest/
Dgtest-param-test.h414 #define TEST_P(test_suite_name, test_name) \ argument
415 class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name) \
418 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() {} \
429 GTEST_STRINGIFY_(test_suite_name), GTEST_STRINGIFY_(test_name), \
431 test_suite_name, test_name)>()); \
436 test_name)); \
439 test_name)::gtest_registering_dummy_ = \
440 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::AddToRegistry(); \
441 void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()
/third_party/python/Lib/idlelib/idle_test/
Dhtest.py396 test_name = k[:-5]
398 test_spec['name'] = test_name
400 test = getattr(mod, test_name)
403 test_name = tk.StringVar(root)
409 nonlocal test_name, callable_object, test_kwds
415 test_name.set('Test ' + test_spec['name'])
432 button = tk.Button(root, textvariable=test_name,

12345678