dart-sdk/tests
Johnni Winther 220a91122a Add --strong-mode flag to dart2js
+ move generic methods tests into a subfolder.

Change-Id: I00cde6a7dc7d6ff1677a8ca60f3a243f065e3765
Reviewed-on: https://dart-review.googlesource.com/31782
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-01-02 08:42:21 +00:00
..
angular
co19 Adjusted status for flakiness on new platform 2017-12-15 10:50:44 +00:00
compiler Add --strong-mode flag to dart2js 2018-01-02 08:42:21 +00:00
corelib Tiny fix to fix type errors in our compiler while running host-checked 2017-12-15 18:42:33 +00:00
corelib_2 [gardening] Update status files. 2017-12-20 23:03:10 +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 Update status files for simarm/simarm64/simdbc64 2017-12-14 15:34:15 +00:00
kernel [vm/testing] Make --strong -c dartk configuration a Dart 2.0 configuration. 2017-12-12 12:19:10 +00:00
language Update .status files 2017-12-21 22:49:02 +00:00
language_2 Update language_2_dart2js.status 2017-12-29 01:41:43 +00:00
lib [VM] Fix various issues in the VM, mainly simdbc64 related 2017-12-19 14:49:52 +00:00
lib_2 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
search
standalone [dart:io] Allow setting overrides in the root Zone 2017-12-18 22:46:07 +00:00
standalone_2 [gardening] Update status files. 2017-12-20 23:03:10 +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.