dart-sdk/tests
Samir Jindel ae7bf9e999 [vm] Support closurization of methods through @pragma entry-points.
Fixes dartbug.com/35720.

Also enable native extensions in AOT.
Increases Flutter Gallery snapshot size by 0.19%.

Change-Id: I1b24c3b9a49a13fd48452e9a89595516a7f01780
Cq-Include-Trybots: luci.dart.try:vm-kernel-optcounter-threshold-linux-release-x64-try, vm-kernel-precomp-linux-debug-x64-try, vm-kernel-precomp-linux-release-simarm-try, vm-kernel-precomp-linux-release-simarm64-try, vm-kernel-precomp-linux-release-x64-try, vm-kernel-precomp-mac-release-simarm64-try, vm-kernel-precomp-win-release-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/92283
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2019-02-14 17:47:28 +00:00
..
angular
co19_2 [co19] DEPS updated 2019-02-14 09:02:50 +00:00
compiler Remove obsolete expectMoreSpecific parameter 2019-02-13 10:51:55 +00:00
corelib_2 Move environment handling into the front-end constant evaluator. 2019-02-04 13:31:30 +00:00
dart
kernel Remove --fast-startup flag support from testing scripts and status files 2019-01-16 11:32:44 +00:00
language_2 [tests] Add missing parenthesis on <list|map|set>Equals() calls 2019-02-13 23:51:37 +00:00
lib_2 [vm/gardening] Mark convert/base64_test/01 as flaky 2019-02-14 16:42:48 +00:00
search
standalone [test] Repair DWARF stacktrace test from Dart 2 damage. 2019-01-04 20:47:44 +00:00
standalone_2 [vm] Support closurization of methods through @pragma entry-points. 2019-02-14 17:47:28 +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.