dart-sdk/tests
Zachary Anderson dcd275fa74 [dart:io] Begins work on mocking support
Change-Id: I770ed9485a934af07e570fbad3f3fb84ebef973d
Reviewed-on: https://dart-review.googlesource.com/3302
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Florian Loitsch <floitsch@google.com>
2017-10-10 17:39:12 +00:00
..
angular Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
co19 Gardening: Adjusted status of tabindex-removal-from-focused-element_t01 2017-10-10 14:07:20 +00:00
compiler one more fix 2017-10-09 23:18:27 +00:00
corelib Use the validating constructor when creating a Symbol. 2017-10-06 19:54:47 +00:00
corelib_2 Use the validating constructor when creating a Symbol. 2017-10-06 19:54:47 +00:00
dart Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
html More changes to get angular app compiling. 2017-09-28 19:37:25 +00:00
isolate [kernel] Fix closure in for loop 2017-10-03 07:56:13 +00:00
kernel [kernel] Assert not optimizing when running constant evaluator. 2017-10-05 11:48:10 +00:00
language Use the RHS as the return value for super set exprs 2017-10-09 18:53:55 +00:00
language_2 Migrate test block 158 to Dart 2.0 2017-10-10 16:28:31 +00:00
language_strong Migrate test block 158 to Dart 2.0 2017-10-10 16:28:31 +00:00
lib [VM] Make _StringBase implement String 2017-10-10 10:33:31 +00:00
lib_2 Migrated Block 199 to Dart 2.0 2017-10-10 13:53:24 +00:00
lib_strong Migrated Block 199 to Dart 2.0 2017-10-10 13:53:24 +00:00
search Migrate test block 47 and downstream dependencies to Dart 2.0. 2017-08-16 11:23:13 -07:00
standalone [dart:io] Begins work on mocking support 2017-10-10 17:39:12 +00:00
standalone_2 Update status for standalone_2/io/process_segfault test on android 2017-10-09 15:42:01 +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.