dart-sdk/tests
Kevin Millikin 7ff8adcec9 Fix an incorrect dart:mirrors test
The class defined by an anonymous mixin application is always
abstract.  If it were not, then it would be a Dart 2 static error that
it does not provide implementations of any of the abstract members of
the mixed-in class.  For example:

  class S {}
  abstract class M {
    int f();
  }
  abstract class C extends S with M {}

The class defined by `S with M` must be abstract because it does not
provide an implementation of `f`.

Change-Id: I3a990d7db4c5cb3c2dc83f4f12e4fd1eba68f876
Reviewed-on: https://dart-review.googlesource.com/56107
Commit-Queue: Kevin Millikin <kmillikin@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-05-22 13:56:41 +00:00
..
angular
co19 Switch to BigInt for ConstantValue. 2018-05-22 01:04:41 +00:00
co19_2 Update fasta parser to generate error when "throw" missing expression 2018-04-06 16:10:12 +00:00
compiler [dart2js] 'Fix' error in registrations 2018-05-22 01:56:11 +00:00
corelib Switch to BigInt for ConstantValue. 2018-05-22 01:04:41 +00:00
corelib_2 [kernel/vm] VM support for instantiate-to-bounds. 2018-05-18 11:07:17 +00:00
dart
html Remove support for dart:isolate in dart2js. 2018-05-10 01:20:17 +00:00
isolate Remove support for dart:isolate in dart2js. 2018-05-10 01:20:17 +00:00
kernel [infra] Keep comments intact when updating status files. 2018-04-10 19:03:21 +00:00
language Switch to BigInt for ConstantValue. 2018-05-22 01:04:41 +00:00
language_2 fix #33103, switch dartdevk to use Kernel nSM stubs 2018-05-18 23:43:58 +00:00
lib Switch to BigInt for ConstantValue. 2018-05-22 01:04:41 +00:00
lib_2 Fix an incorrect dart:mirrors test 2018-05-22 13:56:41 +00:00
search
standalone [dart:io] Revert recent non-utf8 path handling 2018-05-16 15:47:10 +00:00
standalone_2 Adjust status file. 2018-05-19 01:11:40 +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.