dart-sdk/tests
Johnni Winther 4d7327b7b7 Run inference test in strong mode
Change-Id: Iacfe794fe3303fd94574f6761389cce5f34e82da
Reviewed-on: https://dart-review.googlesource.com/49483
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-04-05 11:07:21 +00:00
..
angular
co19 Remove defaultValue parameter from Stream.first/lastWhere. 2018-04-03 10:58:15 +00:00
co19_2 Improve for statement errors and recovery 2018-03-15 11:43:13 +00:00
compiler Run inference test in strong mode 2018-04-05 11:07:21 +00:00
corelib Remove Maps; move _fillMapWith* methods to MapBase 2018-03-26 21:23:21 +00:00
corelib_2 Callable object support in Analyzer and DDC. 2018-03-30 18:14:55 +00:00
dart
html Fixed MessageChannel receiveing messages on ports. 2018-03-30 17:16:15 +00:00
isolate Round 6 of status updates: remaining issues in d8, safari, ie11, ff (hopefully) 2018-03-14 19:25:29 +00:00
kernel
language [fasta] Do new/const insertion in simple cases 2018-03-30 18:35:05 +00:00
language_2 [VM runtime] Ignore 'implements Function' in strong mode type tests (fixes #32154). 2018-04-04 17:52:55 +00:00
lib [fasta] Do new/const insertion in simple cases 2018-03-30 18:35:05 +00:00
lib_2 [VM runtime] Ignore 'implements Function' in strong mode type tests (fixes #32154). 2018-04-04 17:52:55 +00:00
search
standalone [dart:io] Adds IOOverrides.socketConnect 2018-03-28 23:07:49 +00:00
standalone_2 Update status for analyzer on Windows after test.py fixes 2018-03-13 12:25:24 +00:00
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.