Lines Matching defs:completions
180 def COMPLETION_MSG(str_before, str_after, completions):
182 return "'%s' successfully completes to '%s', but completions were:\n%s" % (
185 "\n".join(completions),
2120 completions and descriptions is returned.
2122 :param match_desc_pairs: A list of pairs that indicate what completions have to be in the list of
2123 completions returned by LLDB. The first element of the pair is the completion
2125 :param enforce_order: True iff the order in which the completions are returned by LLDB
2179 "Got the following " + str(num_matches) + " completions back:\n"
2201 assumes that there should be no completions provided and that the result
2230 self.fail("Expected no completions but got:\n" + compare_string)
2240 def completions_match(self, command, completions):
2241 """Checks that the completions for the given command are equal to the
2242 given list of completions"""
2248 completions, list(match_strings)[1:], "List of returned completion is wrong"
2251 def completions_contain(self, command, completions):
2252 """Checks that the completions for the given command contain the given
2253 list of completions."""
2257 for completion in completions: