/external/tensorflow/tensorflow/python/kernel_tests/ |
D | parsing_ops_test.py | 92 def _test(self, kwargs, expected_values=None, expected_err=None): argument 94 if expected_err: 95 with self.assertRaisesWithPredicateMatch(expected_err[0], 96 expected_err[1]): 190 expected_err=( 201 expected_err=( 226 expected_err=(errors_impl.OpError, 246 expected_err=(ValueError, "Missing shape for feature a")) 865 expected_err=( 885 expected_err=(ValueError, [all …]
|
D | parse_single_example_op_test.py | 92 def _test(self, kwargs, expected_values=None, expected_err=None): argument 94 if expected_err: 95 with self.assertRaisesWithPredicateMatch(expected_err[0], 96 expected_err[1]): 189 expected_err=(errors_impl.OpError, 198 expected_err=(errors_impl.OpError, 216 expected_err=(errors_impl.OpError, "Key: a.")) 232 expected_err=(ValueError, "Missing shape for feature a")) 778 expected_err=(errors_impl.OpError, "Key: b.")) 795 expected_err=(ValueError, [all …]
|
/external/libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/ |
D | last_write_time.sh.cpp | 69 const std::errc expected_err = std::errc::value_too_large; in TEST_CASE() local 73 TEST_CHECK(ErrorIs(ec, expected_err)); in TEST_CASE() 77 TEST_CHECK(ErrorIs(ec, expected_err)); in TEST_CASE() 79 ExceptionChecker CheckExcept(file, expected_err, in TEST_CASE()
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | parse_example_dataset_test.py | 70 expected_err=None, argument 73 if expected_err: 74 with self.assertRaisesWithPredicateMatch(expected_err[0], 75 expected_err[1]): 175 expected_err=(errors_impl.InvalidArgumentError, 182 expected_err=(errors_impl.InvalidArgumentError, 200 expected_err=(errors_impl.InvalidArgumentError, 211 expected_err=(ValueError, "Missing shape for feature a")) 713 expected_err=(errors_impl.InvalidArgumentError, 727 expected_err=(ValueError, [all …]
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/ |
D | file_size.pass.cpp | 67 std::errc expected_err; in TEST_CASE() member 78 TEST_CHECK(ErrorIs(ec, TC.expected_err)); in TEST_CASE() 80 ExceptionChecker Checker(TC.p, TC.expected_err, "file_size"); in TEST_CASE()
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2net.py | 209 url, req, expected_err = url 211 req = expected_err = None 218 if expected_err: 220 (expected_err, url, req, type(err), err)) 221 self.assertIsInstance(err, expected_err, msg)
|
D | test_xmlrpc.py | 949 expected_err = "invalid literal for int() with base 10: 'I am broken'" 950 self.assertEqual(e.headers.get("x-exception"), expected_err)
|
/external/python/cpython3/Lib/test/ |
D | test_urllib2net.py | 221 url, req, expected_err = url 223 req = expected_err = None 230 if expected_err: 232 (expected_err, url, req, type(err), err)) 233 self.assertIsInstance(err, expected_err, msg)
|
D | test_xmlrpc.py | 1272 expected_err = "invalid literal for int() with base 10: 'I am broken'" 1273 self.assertEqual(e.headers.get("X-exception"), expected_err)
|
/external/jemalloc/test/integration/ |
D | MALLOCX_ARENA.c | 32 int expected_err = (have_dss || prec_ind == 0) ? 0 : EFAULT; in thd_start() local 37 sizeof(const char *)), expected_err, in thd_start()
|
/external/jemalloc_new/test/integration/ |
D | MALLOCX_ARENA.c | 31 int expected_err = (have_dss || prec_ind == 0) ? 0 : EFAULT; in thd_start() local 36 sizeof(const char *)), expected_err, in thd_start()
|
/external/libcxx/test/support/ |
D | filesystem_test_helper.hpp | 448 std::errc expected_err; member 457 : expected_err{first_err}, num_paths(0), func_name(func_name), 461 : expected_err(first_err), expected_path1(p), num_paths(1), 466 : expected_err(first_err), expected_path1(p1), expected_path2(p2), 470 TEST_CHECK(ErrorIsImp(Err.code(), {expected_err})); in operator ()() 477 std::string message = std::make_error_code(expected_err).message(); in check_libcxx_string()
|
/external/deqp-deps/SPIRV-Tools/test/val/ |
D | val_id_test.cpp | 781 spv_result_t Val(const SpirvVector& v, const std::string& expected_err = "") { in Val() argument 788 testing::ContainsRegex(expected_err)); in Val() 3440 const std::string expected_err = "The Result Type of " + instr + in TEST_P() local 3445 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P() 3495 const std::string expected_err = in TEST_P() local 3500 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P() 3516 const std::string expected_err = instr + in TEST_P() local 3521 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P() 3616 const std::string expected_err = "The number of indexes in " + instr + in TEST_P() local 3620 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_id_test.cpp | 781 spv_result_t Val(const SpirvVector& v, const std::string& expected_err = "") { in Val() argument 790 testing::ContainsRegex(expected_err)); in Val() 3465 const std::string expected_err = "The Result Type of " + instr + in TEST_P() local 3470 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P() 3520 const std::string expected_err = in TEST_P() local 3525 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P() 3541 const std::string expected_err = instr + in TEST_P() local 3546 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P() 3641 const std::string expected_err = "The number of indexes in " + instr + in TEST_P() local 3645 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P() [all …]
|
/external/protobuf/objectivec/DevTools/ |
D | pddm_tests.py | 267 for idx, (input_str, expected_err) in enumerate(test_list, 1): 272 self.assertEqual(e.message, expected_err, 385 for idx, (input_str, expected_err) in enumerate(test_list, 1): 391 self.assertEqual(e.message, expected_err,
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
D | file_size.pass.cpp | 84 std::errc expected_err; in TEST_CASE() member 103 TEST_CHECK(ErrorIs(ec, TC.expected_err)); in TEST_CASE() 105 ExceptionChecker Checker(p, TC.expected_err, "directory_entry::file_size"); in TEST_CASE()
|
/external/python/oauth2client/tests/ |
D | test_client.py | 663 expected_err = client.ApplicationDefaultCredentialsError 664 with self.assertRaises(expected_err) as exc_manager: 689 expected_err = client.ApplicationDefaultCredentialsError 690 with self.assertRaises(expected_err) as exc_manager:
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_constructor_test.cc | 2449 #define EXPECT_IMPORT_FAILURE(graph_def, options, expected_err) \ in TEST_F() argument 2453 EXPECT_TRUE(s.error_message().find(expected_err) != string::npos) << s; \ in TEST_F()
|
/external/flatbuffers/tests/ |
D | test.cpp | 2160 const char *expected_err) { in ConformTest() argument 2164 TEST_NOTNULL(strstr(err.c_str(), expected_err)); in ConformTest()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_verifier.c | 14235 const char *expected_err; in do_test_single() local 14254 expected_err = unpriv && test->errstr_unpriv ? in do_test_single() 14280 if (!strstr(bpf_vlog, expected_err) && !reject_from_alignment) { in do_test_single() 14282 expected_err, bpf_vlog); in do_test_single()
|