dart-sdk/tests
Terry Lucas cf87b84f7d Support Promise to Future for both DDC and dart2js.
APIs in the newer Chrome IDLs support more JS style promises. The Dart web libraries now hookup those promises and return a Dart Future.
Additionally, a new type maplike is exposed in the IDL this is exposed too.

Change-Id: I44175877eb95f4d910586d42c0139fb182483f82
Reviewed-on: https://dart-review.googlesource.com/49800
Commit-Queue: Terry Lucas <terry@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
2018-05-23 04:08:14 +00:00
..
angular
co19 Skip expressions by parsing them with a no-op listener. 2018-05-22 16:51:29 +00:00
co19_2 Update fasta parser to generate error when "throw" missing expression 2018-04-06 16:10:12 +00:00
compiler [dart2js] merge generator body into empty entry function 2018-05-22 21:17:44 +00:00
corelib Switch to BigInt for ConstantValue. 2018-05-22 01:04:41 +00:00
corelib_2 Update status for new test 2018-05-22 18:33:54 +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 [js_runtime] Fix for 'o is FutureOr<T>' with function type T 2018-05-22 16:43:54 +00:00
lib Switch to BigInt for ConstantValue. 2018-05-22 01:04:41 +00:00
lib_2 Support Promise to Future for both DDC and dart2js. 2018-05-23 04:08:14 +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.