Home
last modified time | relevance | path

Searched refs:expected_arg (Results 1 – 3 of 3) sorted by relevance

/external/autotest/client/common_lib/test_utils/
Dmock.py53 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/toolchain-utils/crosperf/
Ddownload_images_unittest.py122 expected_arg = (
125 self.assertEqual(expected_arg, actual_arg)
135 expected_arg = (
138 self.assertEqual(expected_arg, actual_arg)
/external/v8/tools/release/
Dtest_scripts.py341 for (expected_arg, actual_arg) in zip(expected_call['args'], args):
342 if expected_arg != actual_arg:
344 (expected_arg, actual_arg))