dart-sdk/tests
Aske Simon Christensen f2766eb24e Disallow references to this in field initializers.
Fixes https://github.com/dart-lang/sdk/issues/33858

Change-Id: I619de64353ac5131d949d8e3898617435e9f6dcc
Reviewed-on: https://dart-review.googlesource.com/68920
Commit-Queue: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
2018-08-10 11:12:58 +00:00
..
angular
co19 Disallow references to this in field initializers. 2018-08-10 11:12:58 +00:00
co19_2 Disallow references to this in field initializers. 2018-08-10 11:12:58 +00:00
compiler Allow x == null to be a constant value whenever x is const. 2018-08-09 23:48:21 +00:00
corelib [vm/precomp] Update status files for Dart 1 AOT. 2018-08-08 12:22:43 +00:00
corelib_2 Remove $runtime == drt sections and uses of drt from status files. 2018-08-03 12:40:46 +00:00
dart
html Remove $runtime == drt sections and uses of drt from status files. 2018-08-03 12:40:46 +00:00
isolate Disallow references to this in field initializers. 2018-08-10 11:12:58 +00:00
kernel
language Disallow references to this in field initializers. 2018-08-10 11:12:58 +00:00
language_2 Disallow references to this in field initializers. 2018-08-10 11:12:58 +00:00
lib Mark tests with Dart 1 constants in const context failing in all configs. 2018-08-06 08:31:37 +00:00
lib_2 Disallow references to this in field initializers. 2018-08-10 11:12:58 +00:00
search
standalone
standalone_2 [kernel/vm] Fix native extensions. 2018-08-10 11:06:56 +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.