dart-sdk/tests
Lasse Reichstein Holst Nielsen 757d806b36 Add type parameter to Isolate.spawn.
This is a strong mode migration that was missed in the earlier rounds.
It allows use of functions that have a more restricted argument type than Object in strong mode
while still ensuring that the argument has a correct type.

Change-Id: Ib00e3f4b4a679c003a992d674c36ef672729b22e
Reviewed-on: https://dart-review.googlesource.com/24540
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2017-12-04 07:11:44 +00:00
..
angular Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
co19 Remove comments from status files. 2017-11-28 07:56:20 +00:00
compiler Implement too difficult computation for kernel. 2017-12-01 16:13:26 +00:00
corelib [kernel] Update cloner.dart 2017-12-01 14:06:26 +00:00
corelib_2 Fix kernel status files for list_test/01 and list_test/none. 2017-12-02 05:13:27 +00:00
dart Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
html Set "type" for FutureOr to dynamic (temporarily). 2017-11-30 18:18:04 +00:00
isolate Remove comments from status files. 2017-11-28 07:56:20 +00:00
kernel Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
language Update dart2js_with_kernel status after revert 2017-12-01 18:55:01 +00:00
language_2 Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
lib Remove comments from status files. 2017-11-28 07:56:20 +00:00
lib_2 Add type parameter to Isolate.spawn. 2017-12-04 07:11:44 +00:00
lib_strong Remove comments from status files. 2017-11-28 07:56:20 +00:00
search Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
standalone Remove comments from status files. 2017-11-28 07:56:20 +00:00
standalone_2 Remove duplicate entries for identical section. 2017-11-28 07:57:51 +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.