dart-sdk/tests
Sigmund Cherem 3ec1b929e3 Remove dependencies on isolates.
This starts removing support for isolates. I've kept around the
isolate library for now, but I stopped injecting the isolate logic
unless you directly access an isolate API.

Concrete changes:

* Timer no longer uses the event queue: this was only used in worker
isolates, soon to be removed.

* Checking for whether the code is run within a worker is not dependent
   on initializing the isolates global state. This was important to allow
   deferred-loading to work without the isolate logic.

* Workers no longer track pending async calls correctly. This may make it possible
   to terminate worker isolates early, again this wont be relevant shortly.

Bug: https://github.com/dart-lang/sdk/issues/32684
Change-Id: I05025418e05c3641ba1a3bc34ea75ca558a28fbd
Reviewed-on: https://dart-review.googlesource.com/54160
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
2018-05-09 16:36:26 +00:00
..
angular
co19 Remove dependencies on isolates. 2018-05-09 16:36:26 +00:00
co19_2 Update fasta parser to generate error when "throw" missing expression 2018-04-06 16:10:12 +00:00
compiler Remove dependencies on isolates. 2018-05-09 16:36:26 +00:00
corelib Use interceptor for reading type arguments 2018-04-11 21:25:26 +00:00
corelib_2 Make cast do the same things as retype. 2018-05-09 08:00:08 +00:00
dart
html Remove dependencies on isolates. 2018-05-09 16:36:26 +00:00
isolate Remove dependencies on isolates. 2018-05-09 16:36:26 +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 Mark metadata_test as failing on dart_precompiled 2018-05-09 13:58:03 +00:00
lib [VM] Update status file, test became much slower after strong-mode changes to mirrors implementation 2018-05-09 13:33:03 +00:00
lib_2 Remove dependencies on isolates. 2018-05-09 16:36:26 +00:00
search
standalone [dart:io] Provide modern Dart-styled constants 2018-05-03 17:00:14 +00:00
standalone_2 [VM] Fix for issue 33027 (Fixes strong mode runtime error in _FileSystemWatcher 2018-05-07 17:45:02 +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.