dart-sdk/tests
Stephen Adams bbfd4025c3 Fix copyright date in new test
TBR=johnniwinther@google.com

Change-Id: I36f3366ecd64dff247a1f94f5caa2714fefb3a09
Reviewed-on: https://dart-review.googlesource.com/76704
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2018-09-26 16:55:54 +00:00
..
angular
co19 Error on re-export, export and import of libraries with same name. 2018-09-25 09:09:21 +00:00
co19_2 Make Uri.parse accept [ and ] in path, query and fragment. 2018-09-26 14:09:37 +00:00
compiler Fix copyright date in new test 2018-09-26 16:55:54 +00:00
corelib [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
corelib_2 Make Uri.parse accept [ and ] in path, query and fragment. 2018-09-26 14:09:37 +00:00
dart
html Remove special handling of _htmltest.html tests. 2018-08-30 14:37:57 +00:00
isolate [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
kernel [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
language [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
language_2 Verify that mixin constraints can't be satisfied by the application (or named class) itself. 2018-09-26 13:07:04 +00:00
lib [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
lib_2 Error on re-export, export and import of libraries with same name. 2018-09-25 09:09:21 +00:00
search
standalone [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
standalone_2 [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +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.