dart-sdk/tests
2017-01-26 11:46:06 +01:00
..
_chrome
benchmark_smoke fixes #28236, generic methods should not cause warnings in Dart 1 2017-01-09 12:46:20 -08:00
co19 Update dart2js status for co19 roll 2017-01-24 12:01:54 +01:00
compiler Add no-info mappings at start of out.js and after mapped functions 2017-01-26 11:46:06 +01:00
corelib Fix invalid URIs generated using Uri constructor with clever paths. 2017-01-16 09:16:06 +01:00
corelib_strong Fix noSuchMethod handling of methods that are also extension methods. Fix noSuchMethod handling of methods with names that are rewritten in DDC e.g. "_get" instead of "[]" Fix some mirror system handling of symbols with names that are rewritten in DDC 2017-01-24 11:16:21 -08:00
html fixes #28236, generic methods should not cause warnings in Dart 1 2017-01-09 12:46:20 -08:00
isolate Reland "VM: Fix memory leaks during isolate spawning" 2017-01-24 12:04:41 +01:00
kernel VM: [Kernel] Ensure we have the correct try-index when translating finally blocks 2016-11-11 20:38:47 +01:00
language Revert "Remove package:unittest from some tests" 2017-01-25 11:06:58 -08:00
language_strong Fix noSuchMethod handling of methods that are also extension methods. Fix noSuchMethod handling of methods with names that are rewritten in DDC e.g. "_get" instead of "[]" Fix some mirror system handling of symbols with names that are rewritten in DDC 2017-01-24 11:16:21 -08:00
lib fix #28008, fix #28009 implement FutureOr<T> 2017-01-25 15:32:57 -08:00
lib_strong Fix noSuchMethod handling of methods that are also extension methods. Fix noSuchMethod handling of methods with names that are rewritten in DDC e.g. "_get" instead of "[]" Fix some mirror system handling of symbols with names that are rewritten in DDC 2017-01-24 11:16:21 -08:00
standalone Revert "Remove package:unittest from some tests" 2017-01-25 11:06:58 -08:00
utils fixes #28236, generic methods should not cause warnings in Dart 1 2017-01-09 12:46:20 -08:00
light_unittest.dart
README Remove old java-based analyzer from test scripts and status files 2015-12-17 14:44:57 +01:00

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.