dart-sdk/tests
Konstantin Shcheglov 27ab6478b9 Report errors for the new top-level inference rules.
We also stop type inference most of these cases with task based analysis.
Summary based analysis is not changed yet.

R=brianwilkerson@google.com
BUG=

Review-Url: https://codereview.chromium.org/2782533002 .
2017-03-28 09:41:04 -07:00
..
_chrome
benchmark_smoke Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
co19 Remove ie10 and opera sections from status files 2017-03-28 16:38:59 +02:00
compiler Remove ie10 and opera sections from status files 2017-03-28 16:38:59 +02:00
corelib Remove ie10 and opera sections from status files 2017-03-28 16:38:59 +02:00
corelib_strong Re-land "Format all multitests" 2017-03-23 12:40:21 -07:00
html Remove ie10 and opera sections from status files 2017-03-28 16:38:59 +02:00
isolate Re-land "Format all multitests" 2017-03-23 12:40:21 -07:00
kernel Switch -c dartk/dartkp configuration to use fasta. 2017-02-26 20:39:02 +01:00
language Revert "VM: [Kernel] Avoid emitting :expr_temp and capturing :iterator" 2017-03-28 09:29:04 +02:00
language_strong Report errors for the new top-level inference rules. 2017-03-28 09:41:04 -07:00
lib Remove ie10 and opera sections from status files 2017-03-28 16:38:59 +02:00
lib_strong Re-land "Format all multitests" 2017-03-23 12:40:21 -07:00
standalone [dart:io] Adds a finalizer to _NativeSocket to avoid socket leaks 2017-03-28 07:44:05 -07:00
utils Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01: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.