dart-sdk/tests
Zach Anderson afb490adbc [dart:io] Provide modern Dart-styled constants
This CL updates dart:io but not dart:_http. It updates the sdk sources,
the patch files, and tests.

Change-Id: I64c3da407f09fa2bc6eec582049c4ae3a8afbe6d
Reviewed-on: https://dart-review.googlesource.com/52990
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-05-03 17:00:14 +00:00
..
angular
co19 Update co19 status 2018-05-02 07:13:41 +00:00
co19_2 Update fasta parser to generate error when "throw" missing expression 2018-04-06 16:10:12 +00:00
compiler Check type-variable bounds on generic methods 2018-05-03 09:36:58 +00:00
corelib Use interceptor for reading type arguments 2018-04-11 21:25:26 +00:00
corelib_2 Check type-variable bounds on generic methods 2018-05-03 09:36:58 +00:00
dart
html More tests passing. 2018-04-11 02:10:25 +00:00
isolate [infra] Keep comments intact when updating status files. 2018-04-10 19:03:21 +00:00
kernel [infra] Keep comments intact when updating status files. 2018-04-10 19:03:21 +00:00
language Update status 2018-05-01 12:42:31 +00:00
language_2 Check type-variable bounds on generic methods 2018-05-03 09:36:58 +00:00
lib dart2js: turn on sync-async by default 2018-04-27 19:48:46 +00:00
lib_2 [fasta] Report type argument number mismatch during outline building 2018-04-30 13:01:15 +00:00
search
standalone [dart:io] Provide modern Dart-styled constants 2018-05-03 17:00:14 +00:00
standalone_2 [dart:io] Provide modern Dart-styled constants 2018-05-03 17:00:14 +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.