dart-sdk/tests
Harry Terkelsen 3a25ead178 Generate super.noSuchMethod if super call is malformed
This doesn't fix all of the errors with 
'Error: ".function" called on null' stacktraces. 

Change-Id: I7ddc0405db7e2f028eb27028c854dab29a0adf16
Reviewed-on: https://dart-review.googlesource.com/5522
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Harry Terkelsen <het@google.com>
2017-09-15 20:03:51 +00:00
..
angular
co19 Update statuses for slow and flaky tests that affect the CQ. 2017-09-15 13:14:28 +00:00
compiler Handle factory constructor calls in inferrer 2017-09-15 18:14:39 +00:00
corelib_2 Handle break to labeled statement 2017-09-14 08:59:11 +00:00
dart
html Small update to status files after Chrome update to 61. 2017-09-06 17:41:27 +00:00
isolate isolate/kill_self_synchronously_test does not run on dart2js 2017-09-14 21:50:08 +00:00
kernel
language Generate super.noSuchMethod if super call is malformed 2017-09-15 20:03:51 +00:00
language_2 Generate super.noSuchMethod if super call is malformed 2017-09-15 20:03:51 +00:00
language_strong Revert "Migrate test block 136 to Dart 2.0." 2017-09-15 18:30:04 +00:00
lib [Fuchsia] Rename MG-nnn -> ZX-nnn 2017-09-12 20:28:12 +00:00
lib_2 More generally prevent HTML test from running in the VM. 2017-09-15 19:40:43 +00:00
lib_strong Migrated test block 189 to Dart 2.0 2017-09-15 14:19:50 +00:00
search
standalone Revert "Revert "Adding option to print out status files for a configuration."" 2017-09-13 12:52:18 +00:00
standalone_2
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.