dart-sdk/tests
2017-02-28 17:47:53 -08:00
..
_chrome
benchmark_smoke Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
co19 Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
compiler Remove HRuntimeType implementation 2017-02-28 09:33:32 -08:00
corelib Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
corelib_strong Fix corelib_strong/sort_test on dev_compiler 2017-02-08 23:06:52 +01:00
html Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
isolate [Fuchsia] Update test status files 2017-02-10 21:34:33 -08:00
kernel Switch -c dartk/dartkp configuration to use fasta. 2017-02-26 20:39:02 +01:00
language Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
language_strong keep null check on virtual field 2017-02-10 16:00:13 -08:00
lib Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
lib_strong Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge output. Fix case where exceptions were throw. Correct display of statics, fix indentation bugs. Add improved custom formatter test to main repro. As a drive by fix, switch hashCode to use a symbol instead of the name $identityHash as $identityHash was making custom formatter test output unstable. 2017-02-28 17:47:53 -08:00
standalone Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
utils Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01: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.