Searched refs:expected_arg (Results 1 – 5 of 5) sorted by relevance
/external/autotest/client/common_lib/test_utils/ |
D | mock.py | 53 def _compare(cls, actual_arg, expected_arg): argument 54 if isinstance(expected_arg, argument_comparator): 55 return expected_arg.is_satisfied_by(actual_arg) 56 if not cls._types_match(expected_arg, actual_arg): 59 if isinstance(expected_arg, list) or isinstance(expected_arg, tuple): 61 if len(actual_arg) != len(expected_arg): 63 for actual_item, expected_item in zip(actual_arg, expected_arg): 66 elif isinstance(expected_arg, dict): 69 sorted(expected_arg.keys())): 72 if not cls._compare(value, expected_arg[key]): [all …]
|
/external/grpc-grpc/test/cpp/common/ |
D | channel_arguments_test.cc | 102 bool HasArg(grpc_arg expected_arg) { in HasArg() argument 107 if (arg.type == expected_arg.type && in HasArg() 108 grpc::string(arg.key) == expected_arg.key) { in HasArg() 110 return arg.value.integer == expected_arg.value.integer; in HasArg() 112 return grpc::string(arg.value.string) == expected_arg.value.string; in HasArg() 114 return arg.value.pointer.p == expected_arg.value.pointer.p && in HasArg() 116 expected_arg.value.pointer.vtable->copy && in HasArg() 118 expected_arg.value.pointer.vtable->destroy; in HasArg()
|
/external/fonttools/Tests/misc/ |
D | psCharStrings_test.py | 153 for arg, expected_arg in zip(cs.program, expected_program): 155 self.assertIsInstance(expected_arg, str) 156 self.assertEqual(arg, expected_arg) 158 self.assertNotIsInstance(expected_arg, str) 159 self.assertAlmostEqual(arg, expected_arg)
|
/external/toolchain-utils/crosperf/ |
D | download_images_unittest.py | 126 expected_arg = ( 129 self.assertEqual(expected_arg, actual_arg) 139 expected_arg = ( 142 self.assertEqual(expected_arg, actual_arg)
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ |
D | convert_nodes.cc | 4733 TrtInputArg expected_arg = in ConvertPack() local 4739 inputs_is_weight.push_back({StrCat("values_", i), expected_arg}); in ConvertPack()
|