dart-sdk/tests
Johnni Winther 68d110ac2a Add test for codegen of optional parameters on native functions.
Change-Id: Ice329d52be74f98653e5434b148b2b2c8f46c7d6
Reviewed-on: https://dart-review.googlesource.com/c/91661
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2019-02-01 09:23:55 +00:00
..
angular
co19_2 Issue 34437. Restore checking that optional parameters in derived classes should have the same default values as overridden. 2019-01-29 22:35:15 +00:00
compiler Add test for codegen of optional parameters on native functions. 2019-02-01 09:23:55 +00:00
corelib_2
dart
kernel
language_2 Skip the spread tests on platforms that aren't using the new test workflow. 2019-02-01 00:30:38 +00:00
lib_2
search
standalone
standalone_2 [ VM / dart:io ] Updated Link implementation for Windows to use actual symbolic links. 2019-01-29 19:26:47 +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.