Files
sdk/tests
Kevin Millikin 508793071a Do not invoke fatal in dart:_internal when fuzzing mirrors
Add fatal from dart:_internal to the blacklist of functions we should
not invoke while fuzzing mirrors.  Invoking it will not succeed.

Arguably, mirrors should not be able to see any of the members of
dart:_internal but that's a bigger implementation change and possibly
a breaking change.

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2687883002 .
2017-02-09 14:08:29 +01:00
..
2017-02-08 16:03:46 -08:00
2017-02-08 11:37:01 +01:00

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.