dart-sdk/tests
Johnni Winther 4e6e68fca8 Update constant_expression_test to match CFE encoding
Closes #32511

Change-Id: I7a76bff6ed59023edbb4d678991d627b683ddf6f
Reviewed-on: https://dart-review.googlesource.com/52220
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2018-04-20 20:03:59 +00:00
..
angular
co19 Revert "Error on missing method implementation in non-abstract class" 2018-04-18 17:27:22 +00:00
co19_2 Update fasta parser to generate error when "throw" missing expression 2018-04-06 16:10:12 +00:00
compiler Update constant_expression_test to match CFE encoding 2018-04-20 20:03:59 +00:00
corelib Use interceptor for reading type arguments 2018-04-11 21:25:26 +00:00
corelib_2 update dart2js --strong status 2018-04-19 01:20:47 +00:00
dart
html More tests passing. 2018-04-11 02:10:25 +00:00
isolate [infra] Keep comments intact when updating status files. 2018-04-10 19:03:21 +00:00
kernel [infra] Keep comments intact when updating status files. 2018-04-10 19:03:21 +00:00
language Include call on Closure in inference 2018-04-13 08:46:26 +00:00
language_2 Revert "Pass type argument into rewritten marked function" 2018-04-20 19:30:14 +00:00
lib Always call writeAnnotationList to write annotations. 2018-04-13 12:41:17 +00:00
lib_2 More upper-case constants found. 2018-04-19 15:08:18 +00:00
search
standalone Remove uses of upper-case constants in remaining SDK code. 2018-04-16 16:11:57 +00:00
standalone_2 Remove more usages of upper-case constants in SDK 2018-04-19 13:31:57 +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.