dart-sdk/tests
Dmitry Stefantsov 00f75adfaf Emit a compile-time error on incorrect types of initializing formals
Fixes #32526.

Bug: http://dartbug.com/32526
Change-Id: I1e4738937ade7592f7fb1d16bf485ad4ccd077c2
Reviewed-on: https://dart-review.googlesource.com/46801
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
Reviewed-by: Peter von der Ahé <ahe@google.com>
2018-05-31 13:31:42 +00:00
..
angular
co19 Emit a compile-time error on incorrect types of initializing formals 2018-05-31 13:31:42 +00:00
co19_2 Update fasta parser to generate error when "throw" missing expression 2018-04-06 16:10:12 +00:00
compiler Handle generic jsinterop classes as type arguments. 2018-05-31 07:50:52 +00:00
corelib Make dart2js only run with 64 bit ints, not the larger ints from the vm. 2018-05-30 17:21:49 +00:00
corelib_2 [vm] Prepare status for app_jitk builders (#33126) 2018-05-29 11:43:25 +00:00
dart
html Remove support for dart:isolate in dart2js. 2018-05-10 01:20:17 +00:00
isolate Remove support for dart:isolate in dart2js. 2018-05-10 01:20:17 +00:00
kernel [vm] Prepare status for app_jitk builders (#33126) 2018-05-29 11:43:25 +00:00
language Make dart2js only run with 64 bit ints, not the larger ints from the vm. 2018-05-30 17:21:49 +00:00
language_2 Emit a compile-time error on incorrect types of initializing formals 2018-05-31 13:31:42 +00:00
lib Make dart2js only run with 64 bit ints, not the larger ints from the vm. 2018-05-30 17:21:49 +00:00
lib_2 Reapply "[mirrors] Add IsolateMirror.loadUri." 2018-05-29 22:01:01 +00:00
search
standalone [infra] Add support for app_jitk compiler to test.py (#33126) 2018-05-28 11:54:56 +00:00
standalone_2 [vm] Prepare status for app_jitk builders (#33126) 2018-05-29 11:43:25 +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.