Fix CommandLineCompletionTestCase.test_watchpoint_xxx tests after r230408

llvm-svn: 230463
This commit is contained in:
Ilia K 2015-02-25 05:47:10 +00:00
parent 33d1dc0008
commit e20ede26d2
1 changed files with 13 additions and 3 deletions

View File

@ -43,10 +43,20 @@ class CommandLineCompletionTestCase(TestBase):
turn_off_re_match=True)
@expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
def test_watchpoint_command_dash_w_space(self):
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):
"""Test that 'watchpoint set variable -w' completes to 'watchpoint set variable -w '."""