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/dbus/bus/
Dsignals.c1857 const char *expected_arg; in match_rule_matches() local
1861 expected_arg = rule->args[i]; in match_rule_matches()
1868 if (expected_arg != NULL) in match_rule_matches()
1890 expected_arg[expected_length - 1] != '/') in match_rule_matches()
1893 if (memcmp (actual_arg, expected_arg, in match_rule_matches()
1905 if (memcmp (expected_arg, actual_arg, expected_length) != 0) in match_rule_matches()
1926 memcmp (expected_arg, actual_arg, expected_length) != 0) in match_rule_matches()
/external/v8/tools/release/
Dtest_scripts.py342 for (expected_arg, actual_arg) in zip(expected_call['args'], args):
343 if expected_arg != actual_arg:
345 (expected_arg, actual_arg))