Home
last modified time | relevance | path

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

123456789

/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/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 …]
/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/vixl/tools/
Dgenerate_simulator_traces.py163 test_name = test[len('AARCH64_'):] variable
164 trace_filename = GetAArch64Filename(test_name)
177 trace_f.write("#ifndef VIXL_" + test_name.upper() + "_TRACE_AARCH64_H_\n")
178 trace_f.write("#define VIXL_" + test_name.upper() + "_TRACE_AARCH64_H_\n")
183 + test_name.upper() + "_TRACE_AARCH64_H_" + '\n')
212 test_name = test[len('AARCH32_'):] variable
216 test_name = test_name.replace('and_', 'and') variable
223 trace_filename = GetAArch32Filename(test_name)
228 trace_f.write("#ifndef VIXL_" + test_name.upper() + "_H_\n")
229 trace_f.write("#define VIXL_" + test_name.upper() + "_H_\n")
[all …]
/third_party/vixl/tools/test_generator/
Dparser.py320 def ParseTestFile(test_name, test_isa, mnemonics, operand_list, input_list, argument
345 test_name = test_name + "-" + name
359 return generator.Generator(test_name, test_isa, json_test_file["type"],
363 def ParseConfig(test_name, test_isas, data_type_builder, json_config): argument
389 ParseTestFile(test_name, test_isa, mnemonics, operand_list,
406 test_name = stripped_basename[:-4]
410 test_name = stripped_basename
412 return (test_name, isa)
420 test_name, _ = GetTestNameAndISAFromFileName(filename)
421 return test_name
[all …]
/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/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/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/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/node/deps/openssl/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/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/mbedtls/scripts/mbedtls_dev/
Dbignum_mod_raw.py40 test_name = "mbedtls_mpi_mod_raw_sub" variable in BignumModRawSub
59 test_name = "fix_quasi_reduction" variable in BignumModRawFixQuasiReduction
90 test_name = "mbedtls_mpi_mod_raw_mul" variable in BignumModRawMul
114 test_name = "mbedtls_mpi_mod_raw_inv_prime (Montgomery form only)" variable in BignumModRawInvPrime
139 test_name = "mbedtls_mpi_mod_raw_add" variable in BignumModRawAdd
216 test_name = "Rep canon->mod" variable in BignumModRawCanonicalToModulusRep
224 test_name = "Rep mod->canon" variable in BignumModRawModulusToCanonicalRep
241 test_name = "Convert into Mont: " variable in BignumModRawConvertToMont
254 test_name = "Convert from Mont: " variable in BignumModRawConvertFromMont
267 test_name = "Modular negation: " variable in BignumModRawModNegate
/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,
/third_party/json/cmake/
Dtest.cmake113 function(_json_test_add_test test_name file main cxx_standard)
114 set(test_target ${test_name}_cpp${cxx_standard})
135 if(TARGET _json_test_interface_${test_name})
136 target_link_libraries(${test_target} PRIVATE _json_test_interface_${test_name})
140 if(TARGET _json_test_interface_${test_name}_cpp_${cxx_standard})
142 _json_test_interface_${test_name}_cpp_${cxx_standard}
165 if(TARGET _json_test_interface_${test_name})
166 _json_test_apply_test_properties(${test_target} _json_test_interface_${test_name})
170 if(TARGET _json_test_interface_${test_name}_cpp_${cxx_standard})
172 _json_test_interface_${test_name}_cpp_${cxx_standard}
[all …]

123456789