dart-sdk/tests
Dmitry Stefantsov 9c340f9eb1 Revert last 4 commits by @lrn
Reverted commits:
* ef097edad6. ("Make Analyzer, VM and
  dart2js accept URI strings as part-of library identifier.")
* e8e1857814. ("Fix bad example of URI
  part-of to be bad, not good.")
* 58f7a92ede. ("Add changelog entry for
  allowing URI in part-of.")
* a4a7d98dce. ("Use FutureOr in
  Completer.complete.")

TBR=lrn@google.com

Review-Url: https://codereview.chromium.org/2724853002 .
2017-03-01 16:44:52 +01:00
..
_chrome
benchmark_smoke Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
co19 Update status files for debug mode dartk/dartkp. 2017-03-01 10:31:42 +01:00
compiler Remove HRuntimeType implementation 2017-02-28 09:33:32 -08:00
corelib Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
corelib_strong Fix corelib_strong/sort_test on dev_compiler 2017-02-08 23:06:52 +01:00
html Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
isolate [Fuchsia] Update test status files 2017-02-10 21:34:33 -08:00
kernel Switch -c dartk/dartkp configuration to use fasta. 2017-02-26 20:39:02 +01:00
language Revert last 4 commits by @lrn 2017-03-01 16:44:52 +01:00
language_strong Add some tests for calls with checks in strong mode. 2017-03-01 11:28:23 +01:00
lib Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
lib_strong Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge output. Fix case where exceptions were throw. Correct display of statics, fix indentation bugs. Add improved custom formatter test to main repro. As a drive by fix, switch hashCode to use a symbol instead of the name $identityHash as $identityHash was making custom formatter test output unstable. 2017-02-28 17:47:53 -08:00
standalone Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
utils Remove status file sections for the CPS IR. 2017-02-28 17:11:19 +01:00
light_unittest.dart
README Remove old java-based analyzer from test scripts and status files 2015-12-17 14:44:57 +01:00

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.