dart-sdk/tests
Ryan Macnak c30af41b96 Reapply "[mirrors] Add IsolateMirror.loadUri."
- Forward only kImportTag requests to DFE. This restores the current handling of a kScriptTag request when loading the kernel isolate in the simulators.
 - Mark dynamic_load_test as failing in the reload stress tests (reload fails to preserve library identity).

Change-Id: Ibe6f0a3505b99736a38d566abf3b2151505d7a7e
Reviewed-on: https://dart-review.googlesource.com/56706
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-05-29 22:01:01 +00:00
..
angular
co19 Improve field type argument recovery 2018-05-29 16:30:46 +00:00
co19_2 Update fasta parser to generate error when "throw" missing expression 2018-04-06 16:10:12 +00:00
compiler Import link.dart directly 2018-05-29 07:40:27 +00:00
corelib [infra] Add support for app_jitk compiler to test.py (#33126) 2018-05-28 11:54:56 +00:00
corelib_2 [vm] Prepare status for app_jitk builders (#33126) 2018-05-29 11:43:25 +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 [vm] Prepare status for app_jitk builders (#33126) 2018-05-29 11:43:25 +00:00
language Improve field type argument recovery 2018-05-29 16:30:46 +00:00
language_2 [vm] Prepare status for app_jitk builders (#33126) 2018-05-29 11:43:25 +00:00
lib [infra] Add support for app_jitk compiler to test.py (#33126) 2018-05-28 11:54:56 +00:00
lib_2 Reapply "[mirrors] Add IsolateMirror.loadUri." 2018-05-29 22:01:01 +00:00
search
standalone [infra] Add support for app_jitk compiler to test.py (#33126) 2018-05-28 11:54:56 +00:00
standalone_2 [vm] Prepare status for app_jitk builders (#33126) 2018-05-29 11:43:25 +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.