[lldb][NFC] Test quotes when completing

llvm-svn: 369353
This commit is contained in:
Raphael Isemann 2019-08-20 09:26:58 +00:00
parent f9d90bc5f6
commit 213a5abb4f
1 changed files with 26 additions and 0 deletions

View File

@ -90,6 +90,32 @@ class CommandLineCompletionTestCase(TestBase):
['mips',
'arm64'])
@skipIfFreeBSD # timing out on the FreeBSD buildbot
def test_quoted_command(self):
self.complete_from_to('"set',
['"settings" '])
@skipIfFreeBSD # timing out on the FreeBSD buildbot
def test_quoted_arg_with_quoted_command(self):
self.complete_from_to('"settings" "repl',
['"replace" '])
@skipIfFreeBSD # timing out on the FreeBSD buildbot
def test_quoted_arg_without_quoted_command(self):
self.complete_from_to('settings "repl',
['"replace" '])
@skipIfFreeBSD # timing out on the FreeBSD buildbot
def test_single_quote_command(self):
self.complete_from_to("'set",
["'settings' "])
@skipIfFreeBSD # timing out on the FreeBSD buildbot
def test_terminated_quote_command(self):
# This should not crash, but we don't get any
# reasonable completions from this.
self.complete_from_to("'settings'", [])
@skipIfFreeBSD # timing out on the FreeBSD buildbot
def test_process_launch_arch_arm(self):
self.complete_from_to('process launch --arch arm',