dart-sdk/tests
Regis Crelier 8ca244ba27 Make finalization of recursive function types more robust, especially since
the Kernel frontend may omit the information that a function type is a typedef.
Re-enable several previously failing tests for dartk.

R=asiva@google.com

Review-Url: https://codereview.chromium.org/2806893002 .
2017-04-10 11:06:14 -07:00
..
_chrome
benchmark_smoke Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
co19 Small steps towards deferred loading. 2017-04-07 12:23:35 +02:00
compiler Extract ResolutionWorldBuilderBase from ElementResolutionWorldBuilder 2017-04-07 09:59:49 +02:00
corelib Restore status line for non-dart2js compilers. 2017-04-06 14:46:17 +02:00
corelib_strong Issue 29186. Make several top-level variables explicitly 'dynamic'. 2017-04-06 10:57:39 -07:00
html Remove ie10 and opera sections from status files 2017-03-28 16:38:59 +02:00
isolate Small steps towards deferred loading. 2017-04-07 12:23:35 +02:00
kernel Switch -c dartk/dartkp configuration to use fasta. 2017-02-26 20:39:02 +01:00
language Make finalization of recursive function types more robust, especially since 2017-04-10 11:06:14 -07:00
language_strong fix #29233, final fields can be settable in a mock 2017-04-07 14:12:49 -07:00
lib Mark lib/async/stream_type_test with Pass 2017-04-10 14:18:10 +02:00
lib_strong Fix multitest lines in status files for strong-mode async libs 2017-04-10 11:30:58 +02:00
standalone Handle bad packages files and #void without crashing. 2017-04-06 12:05:54 +02:00
utils Implement various getters on DillMember. 2017-04-06 10:54:48 +02: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.