dart-sdk/tests
danrubel 4da09b06d0 enable fasta scanner in analyzer by default
* update test because fasta scanner correctly warns on 1.e+2
* fasta scanner correctly produces compile time error
    see dartbug.com/28664
    fix dartbug.com/28680
* update fasta AsciiControlCharacter error code
* enable fasta scanner in analyzer by default

R=ahe@google.com, paulberry@google.com

Review-Url: https://codereview.chromium.org/2967363003 .
2017-07-06 13:35:50 -04:00
..
_chrome
benchmark_smoke
co19 Fix status file line. 2017-07-05 16:04:00 +02:00
compiler Bring js_model/model_test on par with compile_from_dill tests. 2017-07-06 16:38:15 +02:00
corelib Fix computation of default values for named parameters. 2017-06-26 11:37:17 +02:00
corelib_strong Run dartdevc tests on drt instead of Chrome on the bots. 2017-07-05 09:45:16 -07:00
html
isolate Fix status file expression. 2017-07-03 15:43:01 +02:00
kernel Change how unresolved super sends are handled. 2017-06-29 12:21:49 +02:00
language enable fasta scanner in analyzer by default 2017-07-06 13:35:50 -04:00
language_strong fix #30030, fix #27327 - fix tearoffs and various Object member bugs 2017-07-05 14:17:53 -07:00
lib Revert "Make Zone API strong mode clean." 2017-06-28 13:31:32 +02:00
lib_strong Run dartdevc tests on drt instead of Chrome on the bots. 2017-07-05 09:45:16 -07:00
standalone Use relative URIs for core library part-of statements. 2017-07-03 10:04:06 +02:00
utils
light_unittest.dart
README

Run Existing Tests
==================

See the output of

  ../tools/test.py --help

for how to run tests.

See also

  https://code.google.com/p/dart/wiki/Building#Testing

for detailed examples.

Create New Tests
================

See comments above

  factory StandardTestSuite.forDirectory

in

  ../tools/testing/dart/test_suite.dart

for the default test directory layout. By default test-file names must
end in "_test.dart", but some test suites, such as ./co19, subclass
StandardTestSuite and override this default.

See comments at the beginning of

  ../tools/testing/dart/multitest.dart

for how to create tests that pass by failing with a known error. For
example,

  ...
  int x = "not an int"; /// 01: static type warning
  ...

as part of a test will only pass the "--compiler dart2analyzer" test if
the assignment generates a static type warning.