dart-sdk/tests
Samir Jindel de408202a5 [vm/precomp] Take 4 for procedure- and class-entrypoints.
This reverts commit 08f59e5de3.

There are no changes to take 3 except fixing merge conflicts.

Change-Id: I45d5a16274c80f469827c19f4e4f4ca724e85a67
Cq-Include-Trybots: luci.dart.try:vm-kernel-win-release-x64-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-win-release-x64-try
Reviewed-on: https://dart-review.googlesource.com/68363
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2018-08-07 13:54:27 +00:00
..
angular
co19 Mark tests with Dart 1 constants in const context failing in all configs. 2018-08-06 08:31:37 +00:00
co19_2 Fix #33415 no error for awaiting a void expression. 2018-07-24 19:31:57 +00:00
compiler Make minified names explicit in printed representation of types. 2018-08-06 22:28:11 +00:00
corelib Mark tests with Dart 1 constants in const context failing in all configs. 2018-08-06 08:31:37 +00:00
corelib_2 Remove $runtime == drt sections and uses of drt from status files. 2018-08-03 12:40:46 +00:00
dart
html Remove $runtime == drt sections and uses of drt from status files. 2018-08-03 12:40:46 +00:00
isolate Remove deprecated SDK constant declarations. 2018-07-18 13:05:00 +00:00
kernel [build] Add -a kbc for interpreter 2018-07-17 21:51:41 +00:00
language Remove $runtime == drt sections and uses of drt from status files. 2018-08-03 12:40:46 +00:00
language_2 Adjusted method_override_test to eliminate spurious compile time error 2018-08-07 12:55:21 +00:00
lib Mark tests with Dart 1 constants in const context failing in all configs. 2018-08-06 08:31:37 +00:00
lib_2 Remove $runtime == drt sections and uses of drt from status files. 2018-08-03 12:40:46 +00:00
search
standalone [build] Add -a kbc for interpreter 2018-07-17 21:51:41 +00:00
standalone_2 [vm/precomp] Take 4 for procedure- and class-entrypoints. 2018-08-07 13:54:27 +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.