dart-sdk/tests
Peter von der Ahé 38db4a10db Normalize status file
Change-Id: Ic3d18aed72c572fe07bbd2a98b85431a0a143019
Reviewed-on: https://dart-review.googlesource.com/65505
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Peter von der Ahé <ahe@google.com>
2018-07-18 11:21:21 +00:00
..
angular
co19 Check void usage and invalid returns 2018-07-18 10:18:52 +00:00
co19_2 Check void usage and invalid returns 2018-07-18 10:18:52 +00:00
compiler Update dart2js extra test wrt. void rules 2018-07-18 09:48:19 +00:00
corelib
corelib_2 [build] Add -a kbc for interpreter 2018-07-17 21:51:41 +00:00
dart
html Remove some broad dart2analyzer status file exclusions. 2018-07-13 04:20:21 +00:00
isolate [build] Add -a kbc for interpreter 2018-07-17 21:51:41 +00:00
kernel [build] Add -a kbc for interpreter 2018-07-17 21:51:41 +00:00
language [fasta] Update test status after the fixes for #32613 2018-07-18 10:00:08 +00:00
language_2 Check void usage and invalid returns 2018-07-18 10:18:52 +00:00
lib [build] Add -a kbc for interpreter 2018-07-17 21:51:41 +00:00
lib_2 Check void usage and invalid returns 2018-07-18 10:18:52 +00:00
search
standalone [build] Add -a kbc for interpreter 2018-07-17 21:51:41 +00:00
standalone_2 Normalize status file 2018-07-18 11:21:21 +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.