dart-sdk/tests
William Hesse e4f5497d0e Update status for dart2js-with-kernel
Change-Id: I233dbf8d5cbc8c93e3dcd3369f067345e6f04a56
Reviewed-on: https://dart-review.googlesource.com/40282
Reviewed-by: Peter von der Ahé <ahe@google.com>
2018-02-09 12:53:19 +00:00
..
angular
co19 Fix remaining co19 test that is still expecting compiletime error 2018-02-09 02:31:42 +00:00
co19_2 Add a .gitignore for tests/co19_2/src 2018-02-05 00:08:46 +00:00
compiler Fix deferred loading in the presence of type parameters too 2018-02-09 00:25:26 +00:00
corelib Update status files for $compiler == fasta 2018-02-07 15:38:09 +00:00
corelib_2 Small cleanup of dart2js status files on Dart2 tests 2018-02-09 01:02:36 +00:00
dart
html Update status files for $compiler == fasta 2018-02-07 15:38:09 +00:00
isolate Update status files for $compiler == fasta 2018-02-07 15:38:09 +00:00
kernel Update status for new dartk and dartkp builders 2018-02-08 16:52:56 +00:00
language Update status for dart2js-with-kernel 2018-02-09 12:53:19 +00:00
language_2 Update status for dart2js-with-kernel 2018-02-09 12:53:19 +00:00
lib Avoid patching with redirecting factories in vm-related patches 2018-02-08 14:11:50 +00:00
lib_2 fix DDC explicit field initialization to null 2018-02-09 02:48:07 +00:00
search
standalone Update status files for $compiler == fasta 2018-02-07 15:38:09 +00:00
standalone_2 Reland https://dart-review.googlesource.com/c/sdk/+/37441 with fixes 2018-02-08 20:46:19 +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.