clap/tests
Kevin K cf9d6ce5cd
refactor: refactors the internals a bit
Flags, Opts, and Positionals now store their internals using compartmented Base, Valued, and
Switched structs to keep the code duplication down and make it easier to maintain.

Iniside the src/app/parser.rs there have been several changes to make reasoning about the code
easier. Primarily moving related sections out of the large get_matches_with into their own
functions.
2016-11-20 14:47:03 -05:00
..
app.yml feat(arg_aliases): Ability to alias arguments 2016-10-04 12:26:51 -04:00
app_settings.rs tests(AllowNegativeNumbers): adds some new tests for AllowNegativeNumbers and AllowLeadingHyphen 2016-10-21 09:42:25 -04:00
arg_aliases.rs tests: updates tests to new space counts in help messages 2016-10-20 19:39:21 -04:00
completions.rs feat(Completions): adds the ability to generate completions to io::Write object 2016-07-14 09:38:13 +01:00
conflicts.rs tests: updates conflict tests to new more precise output 2016-10-31 00:35:13 -04:00
delimiters.rs tests: adds tests for value delimiters 2016-09-18 16:01:26 -04:00
derive_order.rs tests: Add tests related to #706 2016-10-26 20:47:19 +02:00
example1_tmpl_full.txt feat(HELP): Add a Templated Help system. 2016-04-13 07:06:23 -03:00
example1_tmpl_simple.txt feat(HELP): Add a Templated Help system. 2016-04-13 07:06:23 -03:00
flags.rs tests(multiples): adds tests for > u8::max vals and occurrences 2016-02-02 07:45:49 -05:00
groups.rs tests(Usage Strings): updates usage string tests 2016-06-24 00:17:04 -04:00
help.rs tests(Help Message): adds tests to guard aginst multiple values throwing off alignment 2016-10-24 05:56:21 -04:00
hidden_args.rs style: remove the .ok() in result.ok().expect("...") 2016-10-05 23:16:22 +02:00
multiple_occurrences.rs tests(Value Delimiters): updates tests to new value delimiter rules 2016-09-10 18:18:43 -04:00
multiple_values.rs tests: adds tests against issue-725 part 2 2016-11-01 23:32:26 -04:00
opts.rs refactor: refactors the internals a bit 2016-11-20 14:47:03 -05:00
positionals.rs tests(correctness): No longer use App::get_matches() in some places 2016-10-04 23:22:43 +02:00
posix_compatible.rs tests: adds tests for different value delimiters 2016-01-28 11:45:31 -05:00
possible_values.rs docs: fix tests that fail when the "suggestions" feature is disabled 2016-10-16 11:31:12 +02:00
require.rs test: adds tests for required_unless_one cases 2016-07-23 17:22:14 -04:00
subcommands.rs docs: fix tests that fail when the "suggestions" feature is disabled 2016-10-16 11:31:12 +02:00
template_help.rs tests: updates tests to new space counts in help messages 2016-10-20 19:39:21 -04:00
tests.rs style: remove #[allow("warning that apparently doesn't exist")] 2016-10-05 23:15:53 +02:00
unique_args.rs refactor(v2): improving macros for code dedup 2016-01-28 11:45:31 -05:00
utf8.rs chore: fixes doc and style mistakes 2016-01-28 21:58:40 -05:00
version.rs tests: removes extra newline from version output tests 2016-06-04 11:28:24 -04:00
yaml.rs tests(yaml): use scope wide attribute 2016-01-11 21:13:14 -08:00