dart-sdk/tests
Johnni Winther ab636dfbd1 Reenable warnings/hints for method type variables in dart2js
Change-Id: I09662afc8b1a4e8c9fdbfe2e342e80ea58351593
Reviewed-on: https://dart-review.googlesource.com/32060
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-01-08 12:48:02 +00:00
..
angular
co19 [VM, Tests] Turn Dart 2.0 fixed-size integers ON by default, v2 2018-01-05 01:44:56 +00:00
compiler Reenable warnings/hints for method type variables in dart2js 2018-01-08 12:48:02 +00:00
corelib [VM, Tests] Turn Dart 2.0 fixed-size integers ON by default, v2 2018-01-05 01:44:56 +00:00
corelib_2 Improve for-in statement inference. 2018-01-07 18:57:11 +00:00
dart
html Updated PYTHON code to correctly generate web_sql and re-wrote/re-enabled async web_sql test. 2017-12-29 23:51:02 +00:00
isolate Adjust status files for passing tests. 2018-01-05 06:58:30 +00:00
kernel [VM, Tests] Turn Dart 2.0 fixed-size integers ON by default, v2 2018-01-05 01:44:56 +00:00
language Support generic closures in rti analysis 2018-01-08 11:36:40 +00:00
language_2 [Gardening] Mark language_2/assertion_test crash in dartp-debug-strong 2018-01-08 12:25:02 +00:00
lib [VM, Tests] Turn Dart 2.0 fixed-size integers ON by default, v2 2018-01-05 01:44:56 +00:00
lib_2 Reland "Treat most warnings as errors in strong mode." 2018-01-08 09:20:02 +00:00
search
standalone [dart:io] Allow setting overrides in the root Zone 2017-12-18 22:46:07 +00:00
standalone_2 Reland "Treat most warnings as errors in strong mode." 2018-01-08 09:20:02 +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.