dart-sdk/tests
Stephen Adams e1cabfd1d4 [dart2js] 'Fix' error in registrations
Restore 'overregisration' removed by
https://dart.googlesource.com/sdk/+/929b79e86533b6c409437fbc4a08cf5dfde8be75

Change-Id: I607d2bfbbaa4ea9d320b37aebba06acd1da1af19
Reviewed-on: https://dart-review.googlesource.com/56038
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2018-05-22 01:56:11 +00:00
..
angular
co19 Switch to BigInt for ConstantValue. 2018-05-22 01:04:41 +00:00
co19_2 Update fasta parser to generate error when "throw" missing expression 2018-04-06 16:10:12 +00:00
compiler [dart2js] 'Fix' error in registrations 2018-05-22 01:56:11 +00:00
corelib Switch to BigInt for ConstantValue. 2018-05-22 01:04:41 +00:00
corelib_2 [kernel/vm] VM support for instantiate-to-bounds. 2018-05-18 11:07:17 +00:00
dart
html Remove support for dart:isolate in dart2js. 2018-05-10 01:20:17 +00:00
isolate Remove support for dart:isolate in dart2js. 2018-05-10 01:20:17 +00:00
kernel [infra] Keep comments intact when updating status files. 2018-04-10 19:03:21 +00:00
language Switch to BigInt for ConstantValue. 2018-05-22 01:04:41 +00:00
language_2 fix #33103, switch dartdevk to use Kernel nSM stubs 2018-05-18 23:43:58 +00:00
lib Switch to BigInt for ConstantValue. 2018-05-22 01:04:41 +00:00
lib_2 Delete elements.dart and resolution_types.dart 2018-05-16 09:54:18 +00:00
search
standalone [dart:io] Revert recent non-utf8 path handling 2018-05-16 15:47:10 +00:00
standalone_2 Adjust status file. 2018-05-19 01:11:40 +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.