From cdbac995518f20653bc89cc992592ee510ac0873 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Tue, 15 Mar 2016 01:43:00 +0000 Subject: Add some test coverage for the changes in alias help llvm-svn: 263520 --- lldb/packages/Python/lldbsuite/test/help/TestHelp.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'lldb/packages/Python/lldbsuite/test/help/TestHelp.py') diff --git a/lldb/packages/Python/lldbsuite/test/help/TestHelp.py b/lldb/packages/Python/lldbsuite/test/help/TestHelp.py index 4bfbe6ef188..92bb9fa5f21 100644 --- a/lldb/packages/Python/lldbsuite/test/help/TestHelp.py +++ b/lldb/packages/Python/lldbsuite/test/help/TestHelp.py @@ -166,6 +166,24 @@ class HelpCommandTestCase(TestBase): patterns = ['expression +--', 'variable +--']) + @no_debug_info_test + def test_help_po_hides_options(self): + """Test that 'help po' does not show all the options for expression""" + self.expect("help po", + substrs = ['--show-all-children', '--object-description'], matching=False) + + @no_debug_info_test + def test_help_run_hides_options(self): + """Test that 'help run' does not show all the options for process launch""" + self.expect("help run", + substrs = ['--arch', '--environment'], matching=False) + + @no_debug_info_test + def test_help_next_shows_options(self): + """Test that 'help next' shows all the options for thread step-over""" + self.expect("help next", + substrs = ['--python-class','--run-mode'], matching=True) + @no_debug_info_test def test_help_provides_alternatives(self): """Test that help on commands that don't exist provides information on additional help avenues""" -- cgit v1.2.3