dart-sdk/tests
Jens Johansen 30d9bf2ed3 Revert "Void is not required to be null anymore."
This reverts commit 6caf9ef443.

Commit breaks vm-kernel-linux-debug-x64-be.

Triggers asserts like
../../runtime/vm/flow_graph_compiler_x64.cc: 658: error: expected: dst_type.IsMalformedOrMalbounded() || (!dst_type.IsDynamicType() && !dst_type.IsObjectType() && !dst_type.IsVoidType())

Quick-check with python tools/test.py -cdartk -t120 --builder-tag no_ipv6 --vm-options --no-enable-malloc-hooks isolate

BUG=

Review-Url: https://codereview.chromium.org/2865603003 .
2017-05-05 08:56:26 +02:00
..
_chrome Format all tests. 2017-04-17 14:53:02 -07:00
benchmark_smoke Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
co19 Revert "Void is not required to be null anymore." 2017-05-05 08:56:26 +02:00
compiler Handle const Symbol(...) in kernel_impact 2017-05-04 10:28:34 +02:00
corelib Make json-maps implement Map<String, dynamic>. 2017-05-02 14:51:32 +02:00
corelib_strong Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
html Fix status for new custom-elements + mirrors test 2017-05-02 18:42:30 -07:00
isolate Do not list Timeout as the only test outcome in isolate.status. 2017-05-04 11:26:37 +02:00
kernel Format all tests. 2017-04-17 14:53:02 -07:00
language Revert "Void is not required to be null anymore." 2017-05-05 08:56:26 +02:00
language_strong fix #29544, mixins to a class with named constructors 2017-05-04 12:33:45 -07:00
lib Gardening: Mark two tests passing on dark(p). 2017-05-03 12:12:34 +02:00
lib_strong fix #29530, field metadata generation 2017-05-02 14:45:34 -07:00
standalone Revert "Throw when adding something to a closed sink and improve documentation." 2017-05-04 12:52:47 +02:00
utils Handle symbol literals in closed_world2_test 2017-05-03 10:41:59 +02:00
light_unittest.dart Format all tests. 2017-04-17 14:53:02 -07:00
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.