HomeSort by relevance Sort by last modified time
    Searched refs:expected_arg (Results 1 - 4 of 4) sorted by null

  /external/grpc-grpc/test/cpp/common/
channel_arguments_test.cc 102 bool HasArg(grpc_arg expected_arg) {
107 if (arg.type == expected_arg.type &&
108 grpc::string(arg.key) == expected_arg.key) {
110 return arg.value.integer == expected_arg.value.integer;
112 return grpc::string(arg.value.string) == expected_arg.value.string;
114 return arg.value.pointer.p == expected_arg.value.pointer.p &&
116 expected_arg.value.pointer.vtable->copy &&
118 expected_arg.value.pointer.vtable->destroy;
  /external/autotest/client/common_lib/test_utils/
mock.py 53 def _compare(cls, actual_arg, expected_arg):
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()))
    [all...]
  /external/toolchain-utils/crosperf/
download_images_unittest.py 122 expected_arg = (
125 self.assertEqual(expected_arg, actual_arg)
135 expected_arg = (
138 self.assertEqual(expected_arg, actual_arg)
  /external/v8/tools/release/
test_scripts.py 307 for (expected_arg, actual_arg) in zip(expected_call['args'], args):
308 if expected_arg != actual_arg:
310 (expected_arg, actual_arg))
    [all...]

Completed in 87 milliseconds