o CommandObjectSettingsSet.cpp:
Fix a bug where "settings set -r th" wouldn't complete.
o UserSettingsController.cpp:
Fix a bug where "settings set target.process." wouldn't complete.
o test/functionalities/completion:
Add various completion test cases related to 'settings set' command.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148596 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/lldbtest.py b/test/lldbtest.py
index becd373..b6851e3 100644
--- a/test/lldbtest.py
+++ b/test/lldbtest.py
@@ -206,6 +206,10 @@
'''A generic "Command '%s' returns successfully" message generator.'''
return "Command '%s' returns successfully" % str
+def COMPLETIOND_MSG(str_before, str_after):
+ '''A generic message generator for the completion mechanism.'''
+ return "'%s' successfully completes to '%s'" % (str_before, str_after)
+
def EXP_MSG(str, exe):
'''A generic "'%s' returns expected result" message generator if exe.
Otherwise, it generates "'%s' matches expected result" message.'''