dart-sdk/tests
Dmitry Stefantsov e7830a9f7b Add a flag to Procedures indicating that it's a redirecting factory
Fixes #32282

Bug: http://dartbug.com/32282
Change-Id: Iee8535b053ced415e3047e990a0940d859faa86a
Reviewed-on: https://dart-review.googlesource.com/43440
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Kevin Millikin <kmillikin@google.com>
2018-02-27 10:42:07 +00:00
..
angular
co19 [kernel/vm] Initial obfuscate support for kernel pipeline 2018-02-27 10:11:17 +00:00
co19_2 Update fasta parser listeners to generate additional errors 2018-02-26 19:48:25 +00:00
compiler Include type arguments passed through generic calls in rti emission 2018-02-27 10:01:14 +00:00
corelib Fail if mirrors are really used. 2018-02-27 04:57:27 +00:00
corelib_2 Fail if mirrors are really used. 2018-02-27 04:57:27 +00:00
dart
html Install JS-interop properties on JavaScriptObject 2018-02-23 00:31:52 +00:00
isolate Move new tests from tests/isolate to tests/lib_2/isolate. 2018-02-22 10:03:23 +00:00
kernel Fix bot 2018-02-27 06:56:30 +00:00
language Fail if mirrors are really used. 2018-02-27 04:57:27 +00:00
language_2 Add a flag to Procedures indicating that it's a redirecting factory 2018-02-27 10:42:07 +00:00
lib Skip 'lib' test directory when running tests in dartk or dartkp mode 2018-02-27 01:35:14 +00:00
lib_2 Add a flag to Procedures indicating that it's a redirecting factory 2018-02-27 10:42:07 +00:00
search
standalone Skip remaining Dart 1.0 tests 2018-02-15 14:14:07 +00:00
standalone_2 Update status for dartk on standalone test that times out or passes 2018-02-23 09:27:46 +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.