dart-sdk/tests
Paul Berry 029771d746 Add type inference for complex assignments whose LHS is an index expression.
In later CLs I will expand on this code to handle other kinds of
complex assignments.

R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2926763003 .
2017-06-08 09:25:24 -07:00
..
_chrome Format all tests. 2017-04-17 14:53:02 -07:00
benchmark_smoke Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
co19 Dart gardening: next round of commits to make the tree green. 2017-06-07 16:26:58 -07:00
compiler Introduce JsStrategy skeleton 2017-06-08 09:36:05 +02:00
corelib Dart gardening: another chrome status file edit. 2017-06-07 14:55:14 -07:00
corelib_strong Add negation to single-identifier tests in status files. 2017-06-02 10:38:14 +02:00
html dart gardening: webgl starts working after chrome roll? 2017-06-07 17:50:06 -07:00
isolate Add negation to single-identifier tests in status files. 2017-06-02 10:38:14 +02:00
kernel Remove the argument from main in a test 2017-05-11 14:55:00 +02:00
language Add type inference for complex assignments whose LHS is an index expression. 2017-06-08 09:25:24 -07:00
language_strong Add negation to single-identifier tests in status files. 2017-06-02 10:38:14 +02:00
lib Clean up handling of types. 2017-06-02 14:53:20 +02:00
lib_strong Add negation to single-identifier tests in status files. 2017-06-02 10:38:14 +02:00
standalone Clean up status files. 2017-06-08 13:50:30 +02:00
utils Handle symbol literals in closed_world2_test 2017-05-03 10:41:59 +02:00
light_unittest.dart Format all tests. 2017-04-17 14:53:02 -07:00
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.