[Lldb-commits] [lldb] r161684 - /lldb/trunk/test/functionalities/completion/TestCompletion.py

Johnny Chen johnny.chen at apple.com
Fri Aug 10 12:05:48 PDT 2012


Author: johnny
Date: Fri Aug 10 14:05:48 2012
New Revision: 161684

URL: http://llvm.org/viewvc/llvm-project?rev=161684&view=rev
Log:
Add command completion test case for 'watchpoint command'.

Modified:
    lldb/trunk/test/functionalities/completion/TestCompletion.py

Modified: lldb/trunk/test/functionalities/completion/TestCompletion.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/completion/TestCompletion.py?rev=161684&r1=161683&r2=161684&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/completion/TestCompletion.py (original)
+++ lldb/trunk/test/functionalities/completion/TestCompletion.py Fri Aug 10 14:05:48 2012
@@ -28,6 +28,10 @@
         self.complete_from_to('process print hello\\', 'process print hello\\',
                               turn_off_re_match=True)
 
+    def test_watchpoint_command_dash_w_space(self):
+        """Test that 'watchpoint command' completes to ['Available completions:', 'add', 'delete', 'list']."""
+        self.complete_from_to('watchpoint command', ['Available completions:', 'add', 'delete', 'list'])
+
     def test_watchpoint_set_variable_dash_w(self):
         """Test that 'watchpoint set variable -w' completes to 'watchpoint set variable -w '."""
         self.complete_from_to('watchpoint set variable -w', 'watchpoint set variable -w ')





More information about the lldb-commits mailing list