dart-sdk/tests
Johnni Winther d13bf49870 Check type-variable bounds on generic methods
Closes #32711

Change-Id: I86c123f5a8b9eda393b276248cdd27d1b109354b
Reviewed-on: https://dart-review.googlesource.com/53201
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-05-03 09:36:58 +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 [test] app_snapshot_share_test cannot run on Android. 2018-04-28 00:30:54 +00:00
standalone_2 [test] app_snapshot_share_test cannot run on Android. 2018-04-28 00:30:54 +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.