Searched refs:match_fns (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | truth.py | 68 def emits(self, *match_fns, at_least_times=1, timeout=DEFAULT_TIMEOUT): argument 69 if len(match_fns) == 0: 71 elif len(match_fns) == 1: 72 …NOT_FOR_YOU_assert_event_occurs(self._value, match_fns[0], at_least_times=at_least_times, timeout=… 75 return MultiMatchStreamSubject(self._value, match_fns, timeout) 77 def emitsNone(self, *match_fns, timeout): argument 78 if len(match_fns) == 0: 81 elif len(match_fns) == 1: 82 NOT_FOR_YOU_assert_none_matching(self._value, match_fns[0], timeout=timeout) 90 def __init__(self, stream, match_fns, timeout): argument [all …]
|
D | event_stream.py | 245 match_fns, argument 249 pending_matches = list(match_fns) 266 len(matched_order) == len(match_fns), 267 msg=("Expected at least %d events, but got %d" % (len(match_fns), len(matched_order)))) 271 while i < len(match_fns): 272 if match_fns[i] is not matched_order[i]: 276 …(istream, correct_order, "Events not received in correct order %s %s" % (match_fns, matched_order))
|