dart-sdk/tests
Zach Anderson 64bf1b49b0 Revert "[dart:io] Moves Http code into a separate library."
Reverting for broken Flutter build and kernel platform compilation test. It looks like the new _http library is missing from various snapshots. Not sure why this didn't fail locally.

This reverts commit ac9ff3f3af.

Change-Id: I7fbc2f842cf1380793e7af9fb869cacd14682885
Reviewed-on: https://dart-review.googlesource.com/7600
Reviewed-by: Zach Anderson <zra@google.com>
2017-09-21 15:57:59 +00:00
..
angular Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
co19 Disable co19 WebGL tests unless the builder_tag is set to run_webgl_tests to combat flakiness 2017-09-20 17:01:47 +00:00
compiler Remove this local from factory constructors 2017-09-21 14:42:54 +00:00
corelib_2 Make JRecordFields not instance members (they were falsely categorized as such because the boxes were "classes"). 2017-09-20 19:26:08 +00:00
dart Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
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 [VM, Precompiler] Support obfuscation of the symbolic information in precompiler 2017-08-25 09:48:23 +02:00
language Rietveld 2688903004 (spec_parser) migrated to Gerrit. 2017-09-21 09:36:10 +00:00
language_2 Rietveld 2688903004 (spec_parser) migrated to Gerrit. 2017-09-21 09:36:10 +00:00
language_strong Rietveld 2688903004 (spec_parser) migrated to Gerrit. 2017-09-21 09:36:10 +00:00
lib Revert "[dart:io] Moves Http code into a separate library." 2017-09-21 15:57:59 +00:00
lib_2 Revert "[dart:io] Moves Http code into a separate library." 2017-09-21 15:57:59 +00:00
lib_strong Migrated test block 179 to Dart 2.0. 2017-09-20 19:29:01 +00:00
search Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
standalone Revert "[dart:io] Moves Http code into a separate library." 2017-09-21 15:57:59 +00:00
standalone_2 Migrate first block of tests in standalone to standalone_2 2017-08-01 09:05:01 -07: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.