dart-sdk/tests
Sigmund Cherem 920d44c3d4 Include dart.io in dart2js platform
Change-Id: I7bd4356556023ff4a56d876684ea63bad1917b07
Reviewed-on: https://dart-review.googlesource.com/8341
Reviewed-by: Emily Fortuna <efortuna@google.com>
Reviewed-by: Peter von der Ahé <ahe@google.com>
2017-09-27 02:06:10 +00:00
..
angular Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
co19 Report error if a member has the same name as the enclosing class 2017-09-25 11:55:02 +00:00
compiler Include dart.io in dart2js platform 2017-09-27 02:06:10 +00:00
corelib dart2js kernel: generate constants for default arguments in Function.apply 2017-09-27 00:35:53 +00:00
corelib_2 dart2js kernel: generate constants for default arguments in Function.apply 2017-09-27 00:35:53 +00:00
dart Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
html Add html tests for dart2js kernel testing. 2017-09-26 21:19:57 +00:00
isolate isolate/kill_self_synchronously_test does not run on dart2js 2017-09-14 21:50:08 +00:00
kernel [VM, Precompiler] Support obfuscation of the symbolic information in precompiler 2017-08-25 09:48:23 +02:00
language dart2js kernel: generate constants for default arguments in Function.apply 2017-09-27 00:35:53 +00:00
language_2 dart2js kernel: generate constants for default arguments in Function.apply 2017-09-27 00:35:53 +00:00
language_strong Fixed bad status migration [TBR]. 2017-09-26 20:33:25 +00:00
lib Reland: [dart:io] Moves Http code into a separate library. 2017-09-21 19:21:25 +00:00
lib_2 Test custom_elements_tests is buggy. 2017-09-26 22:41:48 +00:00
lib_strong Re-Migrate Block 192 and 193 to original unittest usage and re-run migration tool to move over *.html files too. 2017-09-26 18:44:04 +00:00
search Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
standalone Reland: [dart:io] Moves Http code into a separate library. 2017-09-21 19:21:25 +00:00
standalone_2 Migrate first block of tests in standalone to standalone_2 2017-08-01 09:05:01 -07:00
light_unittest.dart Format all tests. 2017-04-17 14:53:02 -07:00
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.