dart-sdk/samples
Bob Nystrom 9c2dff8ebc Refactor test option parsing code.
This doesn’t touch the resulting configuration map, which is what this
is leading up to, but it cleans up the specification and parsing of the
options and removes a lot of redundancy.

Behavior should be the same as it was before, except that all options
now allow both their underscore-separated and hyphen-separated names.
So this is now valid:

test.py --hot_reload --append-logs

Where before, you use to have to do --hot-reload (OK) and
--append_logs (bad, since almost all other options expect hyphens).

R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2902023002 .
2017-05-26 13:36:44 -07:00
..
build_dart Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
build_dart_simple Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
sample_extension Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
.gitignore Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
README Initial github commit for getting stuff working 2015-05-16 15:41:58 +02:00
samples.status Refactor test option parsing code. 2017-05-26 13:36:44 -07:00

This directory contains sample Dart programs.