dart-sdk/tests
Zach Anderson bc923bed16 [dart:io] Reland: Adds Platform.localeName
The Mac OS build broke because a typedef wasn't added until 10.12.

related #29126

Review-Url: https://codereview.chromium.org/2786183003 .
2017-03-30 13:51:46 -07:00
..
_chrome
benchmark_smoke
co19 Update status file for kernel/VM results. 2017-03-30 15:20:48 +02:00
compiler Use InterceptorDataBuilderImpl and BackendUsageBuilderImpl for kernel/closed_world_test 2017-03-29 11:32:40 +02:00
corelib Fix edge cases where a FormatException source argument starts with a newline. 2017-03-30 15:17:38 +02:00
corelib_strong Update status files to fix the bots (TBR) 2017-03-30 13:19:42 -07:00
html Remove ie10 and opera sections from status files 2017-03-28 16:38:59 +02:00
isolate Update status files for all test suites for -c dartk / -c dartkp configuration. 2017-03-29 13:18:57 +02:00
kernel
language Fix a couple of bugs with async stack traces 2017-03-30 11:02:33 -07:00
language_strong Update status files to fix the bots (TBR) 2017-03-30 13:19:42 -07:00
lib Update status file for kernel/VM results. 2017-03-30 15:20:48 +02:00
lib_strong Update status files to fix the bots (TBR) 2017-03-30 13:19:42 -07:00
standalone [dart:io] Reland: Adds Platform.localeName 2017-03-30 13:51:46 -07:00
utils
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.