[Lldb-commits] [lldb] r230463 - Fix CommandLineCompletionTestCase.test_watchpoint_xxx tests after r230408

Ilia K ki.stfu at gmail.com
Tue Feb 24 21:47:10 PST 2015


Author: ki.stfu
Date: Tue Feb 24 23:47:10 2015
New Revision: 230463

URL: http://llvm.org/viewvc/llvm-project?rev=230463&view=rev
Log:
Fix CommandLineCompletionTestCase.test_watchpoint_xxx tests after r230408


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=230463&r1=230462&r2=230463&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/completion/TestCompletion.py (original)
+++ lldb/trunk/test/functionalities/completion/TestCompletion.py Tue Feb 24 23:47:10 2015
@@ -43,9 +43,19 @@ class CommandLineCompletionTestCase(Test
                               turn_off_re_match=True)
 
     @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
-    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_co(self):
+        """Test that 'watchpoint co' completes to 'watchpoint command '."""
+        self.complete_from_to('watchpoint co', 'watchpoint command ')
+
+    @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
+    def test_watchpoint_command_space(self):
+        """Test that 'watchpoint command ' completes to ['Available completions:', 'add', 'delete', 'list']."""
+        self.complete_from_to('watchpoint command ', ['Available completions:', 'add', 'delete', 'list'])
+
+    @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
+    def test_watchpoint_command_a(self):
+        """Test that 'watchpoint command a' completes to 'watchpoint command add '."""
+        self.complete_from_to('watchpoint command a', 'watchpoint command add ')
 
     @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
     def test_watchpoint_set_variable_dash_w(self):





More information about the lldb-commits mailing list