summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Really get rid of the inputFrom stuff, including documentationkotfu2018-04-291-22/+0
|
* pylint cleanupskotfu2018-04-291-9/+9
|
* multilineCommands -> multiline_commandskotfu2018-04-291-2/+2
|
* Fix incorrect error messagekotfu2018-04-291-3/+2
|
* outputTo -> output_tokotfu2018-04-291-5/+5
|
* pipeTo -> pipe_tokotfu2018-04-291-9/+9
|
* multilineCommand -> multiline_commandkotfu2018-04-291-8/+8
|
* Move quotes and redirection_chars from arguments to constantskotfu2018-04-291-2/+0
| | | | Since the tab completion code relies on these same constants, if we allow them to be passed to the statement parser, we could have a situation where the statement parser and tab completion return different results.
* Fix broken interrupt unit testskotfu2018-04-271-0/+1
|
* Merge branch 'ply' of github.com:python-cmd2/cmd2 into plykotfu2018-04-261-5/+6
|\
| * Merge branch 'master' into plyTodd Leonhardt2018-04-261-5/+6
| |\
| | * No longer running test_path_completion_complete_user unit test on WindowsKevin Van Brunt2018-04-261-5/+6
| | |
* | | First stage of refactoring cmd2.parseline() for tab completionkotfu2018-04-262-39/+37
|/ /
* | Remove POSIX_SHLEX and STRIP_QUOTES_FOR_NON_POSIXkotfu2018-04-253-25/+1
| |
* | Cleanup todo listkotfu2018-04-241-35/+0
| |
* | Add test for alias expansion on incomplete multiline commandskotfu2018-04-242-18/+25
| |
* | Refactoring and code cleanupkotfu2018-04-243-370/+347
| | | | | | | | | | | | - rename CommandParser to StatementParser - move tests from test_shlexparsing.py to test_parsing.py - standardize the output of the parse() method into a variable called statement.
* | Merge branch 'master' into plykotfu2018-04-233-82/+38
|\ \ | |/
| * Switched the default behavior in cmd2 for argparse commands to use the ↵Eric Lin2018-04-211-80/+9
| | | | | | | | AutoCompleter by default.
| * Changed cmd2 to use autocompleter by default for all argparse commands. Not ↵Eric Lin2018-04-202-2/+29
| | | | | | | | all tests are passing yet.
* | Add todo for implementing input redirectionkotfu2018-04-231-2/+1
| |
* | Multiline now workingkotfu2018-04-231-6/+2
| |
* | Multiline support mostly donekotfu2018-04-232-21/+22
| |
* | More work on multilinekotfu2018-04-231-5/+7
| |
* | Fix parsing of input redirection and appending outputkotfu2018-04-232-2/+18
| |
* | Shortcut and alias processing added to CommandParser()kotfu2018-04-231-3/+17
| |
* | Updates to comments and todo listkotfu2018-04-221-0/+2
| |
* | Fix default_to_shell unit testskotfu2018-04-221-2/+2
| |
* | remove old pyparsing unit tests, they have all been duplicated in shlexkotfu2018-04-221-239/+0
| |
* | Submenus now call all hookskotfu2018-04-221-0/+4
| |
* | Fix default() methodkotfu2018-04-221-0/+3
| |
* | args has to be ‘’ not Nonekotfu2018-04-221-9/+2
| |
* | refactor Command() to Statement(str)kotfu2018-04-221-0/+2
| | | | | | | | | | - Command class renamed to Statement, and is now a subclass of str. - str’s are immutable, and the string needs to contain the arguments, so revise the parseString method
* | Delete plyparsing experimentkotfu2018-04-221-214/+0
| |
* | A bit of renamingkotfu2018-04-211-0/+3
| |
* | Move CommandParser class into its own filekotfu2018-04-201-202/+15
| |
* | Merge branch 'master' into plykotfu2018-04-194-49/+532
|\ \ | |/
| * Addresses comments on #362Eric Lin2018-04-193-33/+14
| |
| * Adjusted some coverage configuration. Found and fixed bug in help completion.Eric Lin2018-04-183-105/+229
| |
| * Merge remote-tracking branch 'origin/master' into autocompleterEric Lin2018-04-188-58/+42
| |\ | | | | | | | | | | | | Updated AutoCompleter (#349) to match new directory structure from packaging effort.
| * | Added check for whether the terminal is present before reprinting the ↵Eric Lin2018-04-171-4/+0
| | | | | | | | | | | | prompt. Re-enabled test cases that were failing due to there not being a terminal during unit tests.
| * | Some minor tweaks to AutoCompleter handling a collection of index-based ↵Eric Lin2018-04-172-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | function arguments. Added example for fully custom completion functions mixed with argparse/AutoCompleter handling - Also demonstrates the ability to pass in a list, tuple, or dict of parameters to append to the custom completion function. Added new test cases exercising the custom completion function calls. Added AutoCompleter and rl_utils to the coverage report.
| * | Marked the 2 tests failing the windows unit test as skip for windows. It ↵Eric Lin2018-04-171-3/+6
| | | | | | | | | | | | works fine when I test by hand.
| * | Added unit tests for AutoCompleter.Eric Lin2018-04-161-0/+301
| | |
* | | First multi-line test passeskotfu2018-04-181-8/+11
| | |
* | | Merge branch 'master' into plykotfu2018-04-187-110/+80
|\ \ \ | | |/ | |/| | | | | | | # Conflicts: # setup.py
| * | Cleaned up __init__.pyTodd Leonhardt2018-04-173-32/+32
| | | | | | | | | | | | | | | Removed things which were only needed for unit tests from __init__.py - Converted to importing from cmd2.cmd2.<foo> within the relevant unit tests
| * | Fix unit tests on package branchTodd Leonhardt2018-04-171-1/+1
| | |
| * | Most of the unit tests fixed.kotfu2018-04-165-7/+6
| | |
| * | Basic structure for cmd2 as a packagekotfu2018-04-165-5/+10
| | |