dart-sdk/tests
Martin Kustermann 117924ed15 Update kernel status files for precompilation after refactoring
The tests for which dartk is missing a compile-time error will run the precompiler on the result and will therefore have a different status entry (even though it is caused by dartk).

Review URL: https://codereview.chromium.org/2547523002 .
2016-12-01 14:48:24 +01:00
..
_chrome
benchmark_smoke
co19 Update kernel status files for precompilation after refactoring 2016-12-01 14:48:24 +01:00
compiler Disallow null in spanFromSpannable. 2016-12-01 10:53:56 +01:00
corelib Update status for failing tests 2016-11-29 14:26:27 +01:00
html Support extending TemplateElement in IE11 + webcomponents-lite.js 2016-11-14 07:32:09 -08:00
isolate Update status for co19 tests on browsers. 2016-11-28 16:32:41 +01:00
kernel VM: [Kernel] Ensure we have the correct try-index when translating finally blocks 2016-11-11 20:38:47 +01:00
language Update kernel status files for precompilation after refactoring 2016-12-01 14:48:24 +01:00
lib Fix dartium test expectations 2016-11-28 14:04:14 -08:00
standalone Increase subprocess timeout in standalone/io/test_runner_test. 2016-11-28 17:42:47 +01:00
utils Need to skip if runtime is drt. 2016-11-04 10:36:19 -07: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.