dart-sdk/tests
Peter von der Ahé cc1a7b35d0 Update SDK wrt to void and invalid returns
Change-Id: Ia1a6b056351beb9faddc2c6e86280983a2395d45
Reviewed-on: https://dart-review.googlesource.com/65140
Commit-Queue: Peter von der Ahé <ahe@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-07-17 13:37:47 +00:00
..
angular
co19 Update status for ie11 2018-07-17 08:28:15 +00:00
co19_2 [Fasta] Additional override checks 2018-07-16 15:00:05 +00:00
compiler Fix tracking of native classes needed for rti. 2018-07-16 10:09:06 +00:00
corelib Compile time error for web int literals that cannot be represented exactly 2018-06-22 10:47:54 +00:00
corelib_2 fix #33287, error in dartdevc if an int cannot be represented in JS 2018-07-12 00:47:01 +00:00
dart
html Remove some broad dart2analyzer status file exclusions. 2018-07-13 04:20:21 +00:00
isolate Remove some broad dart2analyzer status file exclusions. 2018-07-13 04:20:21 +00:00
kernel Remove some broad dart2analyzer status file exclusions. 2018-07-13 04:20:21 +00:00
language CFE and member conflict rules 2018-07-16 14:09:01 +00:00
language_2 Update SDK wrt to void and invalid returns 2018-07-17 13:37:47 +00:00
lib Fix FF and IE status to make bots green 2018-07-09 23:21:26 +00:00
lib_2 Reapply "Create _nullFuture and _falseFuture in the root zone." 2018-07-16 16:19:15 +00:00
search
standalone Reland: [dart:io] Adds Socket.startConnect 2018-07-03 14:47:41 +00:00
standalone_2 Revert "[vm/compiler] Improved type analysis for check class." 2018-07-16 22:58:53 +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.