dart-sdk/tests
Jenny Messerly cbca4006f8 fix #30907, add library constants for all SDK libraries
Change-Id: I34669398e9bd7dfb2c9c5130279e88c772b3a5b3
Reviewed-on: https://dart-review.googlesource.com/53162
Reviewed-by: Vijay Menon <vsm@google.com>
2018-05-02 19:33:36 +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 Avoid strong+checked mode: strong mode supersedes checked mode 2018-05-02 08:33:28 +00:00
corelib Use interceptor for reading type arguments 2018-04-11 21:25:26 +00:00
corelib_2 Revert "Fix incorrect handling of NSM forwarders and pull all logic into CFE." 2018-05-02 16:05:26 +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 fix #30907, add library constants for all SDK libraries 2018-05-02 19:33:36 +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.