Home
last modified time | relevance | path

Searched refs:test_name (Results 1 - 25 of 148) sorted by relevance

123456

/third_party/googletest/googletest/include/gtest/hwext/
H A Dgtest-ext.h13 #define GTEST_TEST_UNIQUE_ID_(test_case_name, test_name, file_line) \
14 test_case_name##_##test_name##_##file_line
18 # define HWTEST(test_case_name, test_name, test_flags) \
19 bool GTEST_TEST_UNIQUE_ID_(test_case_name, test_name, __LINE__) = testing::ext::TestDefManager::instance()->regist(#test_case_name, #test_name, test_flags, testing::ext::Plain);\
20 TEST(test_case_name, test_name)
24 # define HWTEST_F(test_case_name, test_name, test_flags) \
25 bool GTEST_TEST_UNIQUE_ID_(test_case_name, test_name, __LINE__) = testing::ext::TestDefManager::instance()->regist(#test_case_name, #test_name, test_flags, testing::ext::Fixtured);\
26 TEST_F(test_case_name, test_name)
[all...]
/third_party/unity/auto/
H A Dparse_output.rb85 def push_xml_output_passed(test_name, execution_time = 0)
86 @array_list.push " <testcase classname=#{xml_encode_s(@test_suite)} name=#{xml_encode_s(test_name)} time=#{xml_encode_s((execution_time / 1000.0).to_s)} />"
90 def push_xml_output_failed(test_name, reason, execution_time = 0)
91 @array_list.push " <testcase classname=#{xml_encode_s(@test_suite)} name=#{xml_encode_s(test_name)} time=#{xml_encode_s((execution_time / 1000.0).to_s)} >"
97 def push_xml_output_ignored(test_name, reason, execution_time = 0)
98 @array_list.push " <testcase classname=#{xml_encode_s(@test_suite)} name=#{xml_encode_s(test_name)} time=#{xml_encode_s((execution_time / 1000.0).to_s)} >"
107 test_name = test_suite_name.split(@path_delim)
110 base_name = test_name[test_name.size - 1].split('.')[0]
133 test_name
[all...]
/third_party/cJSON/tests/unity/auto/
H A 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
[all...]
/third_party/spirv-tools/test/diff/diff_files/
H A Dgenerate_tests.py61 TEST(DiffTest, {test_name}) {{
67 TEST(DiffTest, {test_name}NoDebug) {{
81 TEST(DiffTest, {test_name}{test_tag}) {{
129 def make_src_file(test_name):
130 return '{}_src.spvasm'.format(test_name)
132 def make_dst_file(test_name):
133 return '{}_dst.spvasm'.format(test_name)
135 def make_cpp_file(test_name):
136 return '{}_autogen.cpp'.format(test_name)
138 def make_camel_case(test_name)
[all...]
/third_party/python/Lib/test/libregrtest/
H A Druntest.py169 def get_abs_module(ns: Namespace, test_name: str) -> str:
170 if test_name.startswith('test.') or ns.testdir:
171 return test_name
174 return 'test.' + test_name
177 def _runtest(ns: Namespace, test_name: str) -> TestResult:
214 result = _runtest_inner(ns, test_name,
230 result = _runtest_inner(ns, test_name,
248 def runtest(ns: Namespace, test_name: str) -> TestResult:
252 test_name -- the name of the test
260 return _runtest(ns, test_name)
[all...]
H A Dmain.py117 test_name = result.name
120 self.test_times.append((result.duration_sec, test_name))
123 self.good.append(test_name)
125 self.skipped.append(test_name)
126 self.resource_denieds.append(test_name)
128 self.skipped.append(test_name)
130 self.environment_changed.append(test_name)
133 self.bad.append(test_name)
136 self.run_no_tests.append(test_name)
143 self.bad.remove(test_name)
[all...]
/third_party/protobuf/conformance/
H A 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...]
H A Dconformance_test.cc83 const string& test_name, const string& input) in ConformanceRequestSetting()
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 in ReportFailure()
77 ConformanceRequestSetting( ConformanceLevel level, conformance::WireFormat input_format, conformance::WireFormat output_format, conformance::TestCategory test_category, const Message& prototype_message, const string& test_name, const string& input) ConformanceRequestSetting() argument
213 ReportSkip(const string& test_name, const ConformanceRequest& request, const ConformanceResponse& response) ReportSkip() argument
252 const string& test_name = setting.GetTestName(); VerifyResponse() local
310 RunTest(const string& test_name, const ConformanceRequest& request, ConformanceResponse* response) RunTest() argument
388 AddExpectedFailedTest(const std::string& test_name) AddExpectedFailedTest() argument
[all...]
H A 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, ConformanceLeve in RunValidTextFormatTest()
158 RunValidTextFormatTest( const string& test_name, ConformanceLevel level, const string& input_text) RunValidTextFormatTest() argument
164 RunValidTextFormatTestProto2( const string& test_name, ConformanceLevel level, const string& input_text) RunValidTextFormatTestProto2() argument
170 RunValidTextFormatTestWithMessage( const string& test_name, ConformanceLevel level, const string& input_text, const Message& prototype) RunValidTextFormatTestWithMessage() argument
183 RunValidUnknownTextFormatTest( const string& test_name, const Message& message) RunValidUnknownTextFormatTest() argument
[all...]
H A 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,
H A Dconformance_test.h77 virtual void RunTest(const std::string& test_name,
101 void RunTest(const std::string& test_name,
213 const std::string& test_name,
270 void ReportSuccess(const std::string& test_name);
271 void ReportFailure(const std::string& test_name, ConformanceLevel level,
275 void ReportSkip(const std::string& test_name,
285 void RunTest(const std::string& test_name,
289 void AddExpectedFailedTest(const std::string& test_name);
/third_party/vixl/tools/
H A Dgenerate_simulator_traces.py163 test_name = test[len('AARCH64_'):]
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_'):]
216 test_name = test_name.replace('and_', 'and')
223 trace_filename = GetAArch32Filename(test_name)
228 trace_f.write("#ifndef VIXL_" + test_name
[all...]
/third_party/vixl/tools/test_generator/
H A Dparser.py320 def ParseTestFile(test_name, test_isa, mnemonics, operand_list, input_list,
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):
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,
[all...]
/third_party/skia/third_party/externals/tint/test/
H A 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/skia/tools/
H A 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/mbedtls/scripts/mbedtls_dev/
H A 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 variable in BignumModRawModNegate
[all...]
H A Decp.py23 test_name = "ecp_mod_p192_raw" variable in EcpP192R1Raw
100 test_name = "ecp_mod_p224_raw" variable in EcpP224R1Raw
179 test_name = "ecp_mod_p256_raw" variable in EcpP256R1Raw
263 test_name = "ecp_mod_p384_raw" variable in EcpP384R1Raw
386 test_name = "ecp_mod_p521_raw" variable in EcpP521R1Raw
493 test_name = "ecp_mod_p192k1_raw" variable in EcpP192K1Raw
565 test_name = "ecp_mod_p224k1_raw" variable in EcpP224K1Raw
639 test_name = "ecp_mod_p256k1_raw" variable in EcpP256K1Raw
715 test_name = "mbedtls_ecp_mod_p255_raw" variable in EcpP255Raw
784 test_name variable in EcpP448Raw
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A 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/mesa3d/src/gtest/include/gtest/
H A Dgtest-param-test.h414 #define TEST_P(test_suite_name, test_name) \
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/skia/third_party/externals/abseil-cpp/absl/types/internal/
H A Dconformance_testing.h161 void operator()(absl::string_view test_name, absl::string_view context, \
166 test_name, absl::StrCat(context, \
177 errors->addTestSuccess(test_name); \
186 void operator()(absl::string_view test_name, absl::string_view context, \
191 test_name, absl::StrCat(context, \
202 errors->addTestSuccess(test_name); \
222 void operator()(absl::string_view test_name, absl::string_view context, in operator ()()
227 test_name, absl::StrCat(context, in operator ()()
238 errors->addTestSuccess(test_name); in operator ()()
254 absl::string_view test_name, in ExpectOneWayEquality()
253 ExpectOneWayEquality(ConformanceErrors* errors, absl::string_view test_name, absl::string_view context, const T& lhs, const T& rhs, absl::string_view lhs_name, absl::string_view rhs_name) ExpectOneWayEquality() argument
285 ExpectEquality(ConformanceErrors* errors, absl::string_view test_name, absl::string_view context, const T& lhs, const T& rhs, absl::string_view lhs_name, absl::string_view rhs_name) ExpectEquality() argument
666 const absl::string_view test_name = "Comparison"; ExpectOrdered() local
[all...]
/third_party/googletest/googletest/include/gtest/
H A Dgtest-param-test.h450 #define TEST_P(test_suite_name, test_name) \
451 class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name) \
454 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() {} \
465 GTEST_STRINGIFY_(test_suite_name), GTEST_STRINGIFY_(test_name), \
467 test_suite_name, test_name)>(), \
474 test_name)::gtest_registering_dummy_ = \
475 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::AddToRegistry(); \
476 void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()
/third_party/node/deps/googletest/include/gtest/
H A Dgtest-param-test.h450 #define TEST_P(test_suite_name, test_name) \
451 class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name) \
455 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() {} \
466 GTEST_STRINGIFY_(test_suite_name), GTEST_STRINGIFY_(test_name), \
468 test_suite_name, test_name)>(), \
475 test_name)::gtest_registering_dummy_ = \
476 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::AddToRegistry(); \
477 void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()
/third_party/ltp/testcases/open_posix_testsuite/scripts/
H A Dgenerate-makefiles.sh220 test_name="$prereq"
222 test_name=`echo "$test_name" | sed -e "s,$suffix,,"`
225 c_file="$test_name.c"
246 echo "\$(subdir)/$test_name compile PASSED"; \\
247 echo "\$(subdir)/$test_name compile PASSED" >> \$(LOGFILE); \\
250 echo "\$(subdir)/$test_name compile FAILED; SKIPPING"; \\
251 (echo "\$(subdir)/$test_name compile FAILED; SKIPPING"; cat logfile.\$\$\$\$) >> \$(LOGFILE); \\
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl3cTransformFeedbackTests.hpp375 CaptureVertexInterleaved(deqp::Context& context, const char* test_name, const char* test_description);
456 CaptureGeometryInterleaved(deqp::Context& context, const char* test_name, const char* test_description);
494 CaptureVertexSeparate(deqp::Context& context, const char* test_name, const char* test_description);
528 CaptureGeometrySeparate(deqp::Context& context, const char* test_name, const char* test_description);
632 CheckGetXFBVarying(deqp::Context& context, const char* test_name, const char* test_description);
698 QueryVertexInterleaved(deqp::Context& context, const char* test_name, const char* test_description);
730 QueryGeometryInterleaved(deqp::Context& context, const char* test_name, const char* test_description);
764 QueryVertexSeparate(deqp::Context& context, const char* test_name, const char* test_description);
799 QueryGeometrySeparate(deqp::Context& context, const char* test_name, const char* test_description);
826 DiscardVertex(deqp::Context& context, const char* test_name, cons
[all...]
/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h604 const char* test_name) { in AddTestName()
609 FormatFileLocation(file, line).c_str(), test_name, case_name); in AddTestName()
614 ::std::make_pair(test_name, CodeLocation(file, line))); in AddTestName()
618 bool TestExists(const std::string& test_name) const { in TestExists()
619 return registered_tests_.count(test_name) > 0; in TestExists()
622 const CodeLocation& GetCodeLocation(const std::string& test_name) const { in GetCodeLocation()
623 RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); in GetCodeLocation()
784 std::string test_name = in Register() local
786 if (!state->TestExists(test_name)) { in Register()
788 case_name, test_name in Register()
603 AddTestName(const char* file, int line, const char* case_name, const char* test_name) AddTestName() argument
[all...]

Completed in 28 milliseconds

123456