dart-sdk/tests
Régis Crelier 804fc2add3 [VM runtime] Consider partial instantiation when printing closures (fixes #34034).
Add regression test.

Change-Id: Ie83e8dc68e853942b186314cc572b2cf075d455f
Reviewed-on: https://dart-review.googlesource.com/67681
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Régis Crelier <regis@google.com>
2018-08-01 15:43:48 +00:00
..
angular
co19 Skip co19 in ie11 for now 2018-07-25 17:08:15 +00:00
co19_2 Fix #33415 no error for awaiting a void expression. 2018-07-24 19:31:57 +00:00
compiler Initial support for inlining-data in source-maps. 2018-07-31 21:41:50 +00:00
corelib Fix bots for CONSTANT removal 2018-07-18 16:42:34 +00:00
corelib_2 Remove non-strong dart2js builders from test_matrix.json 2018-07-30 17:47:44 +00:00
dart
html Remove some broad dart2analyzer status file exclusions. 2018-07-13 04:20:21 +00:00
isolate Remove deprecated SDK constant declarations. 2018-07-18 13:05:00 +00:00
kernel [build] Add -a kbc for interpreter 2018-07-17 21:51:41 +00:00
language [gardening] Update status of dissasemble_test on Windows 2018-07-31 15:57:42 +00:00
language_2 [VM runtime] Consider partial instantiation when printing closures (fixes #34034). 2018-08-01 15:43:48 +00:00
lib Remove deprecated SDK constant declarations. 2018-07-18 13:05:00 +00:00
lib_2 Update status for Dart2js minified CSP on Chrome with fast startup 2018-07-31 10:18:40 +00:00
search
standalone [build] Add -a kbc for interpreter 2018-07-17 21:51:41 +00:00
standalone_2 Refactor test.dart by changing class Configuration to TestConfiguration 2018-07-31 11:11:16 +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.