dart-sdk/tests
Lasse R.H. Nielsen 0b91676362 Remove the retype method.
See #33075.

Bug: http://dartbug.com/33075
Change-Id: I1ee2f587afbc672dd08ac61ac003bbdc85bb95e2
Reviewed-on: https://dart-review.googlesource.com/59091
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-06-12 14:36:09 +00:00
..
angular
co19 Parse name of factory as method name instead of constructor reference. 2018-06-11 09:55:24 +00:00
co19_2 Better test error handler argument types. 2018-06-01 12:26:37 +00:00
compiler Provide default type variable bounds on inlining. 2018-06-12 09:05:09 +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 Remove the retype method. 2018-06-12 14:36:09 +00:00
dart
html Clean up additional dart2js strong mode runtime error and don't add method type variable in dart 1 version. 2018-05-31 18:52:06 +00:00
isolate [vm] Remove --limit-ints-to-64-bits option and old _Bigint class 2018-06-04 20:10:40 +00:00
kernel [vm] Prepare status for app_jitk builders (#33126) 2018-05-29 11:43:25 +00:00
language Parse name of factory as method name instead of constructor reference. 2018-06-11 09:55:24 +00:00
language_2 Use default type for type variable bounds. 2018-06-12 09:05:09 +00:00
lib Reapply "Make --sync-async the default for the VM." 2018-06-06 14:32:13 +00:00
lib_2 Run dartdevk against its own compiled SDK and packages 2018-06-08 19:18:34 +00:00
search
standalone [dart:_http] Adds Dart-styled constants 2018-06-07 16:18:33 +00:00
standalone_2 Fix type errors in tests, these tests fork a process and when run with 2018-06-08 00:17:53 +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.