dart-sdk/tests
Ben Konyi 59525264e8 [ VM / dart:isolate ] Added ability to set names for spawned isolates.
Fixes issue #34059

Change-Id: I315498b02edc184e9e408c93eddb78aa1a5a8a1d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/90341
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2019-03-14 22:23:09 +00:00
..
angular
co19_2 Skip control-flow-collections tests on all runtimes 2019-03-14 13:09:07 +00:00
compiler Enforce override annotations in dart2js 2019-03-14 18:47:05 +00:00
corelib_2 [VM] Adding regexp lookbehind assertion support. 2019-03-14 14:26:47 +00:00
dart
kernel
language_2 Skip control-flow-collections tests on all runtimes 2019-03-14 13:09:07 +00:00
lib_2 [ VM / dart:isolate ] Added ability to set names for spawned isolates. 2019-03-14 22:23:09 +00:00
search
standalone
standalone_2
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.