dart-sdk/tests
Stephen Adams 8a7c3331df dart2js: Make String.split return List<String>
Two follow-on optimization would reduce the generated code to closer to the original size:

- It would be profitable to write an optimization the removes the type
  information from any list when it can be proven the type information
  is not used.

- Provided the split result list is not modified, we can strengthen
  accesses to be non-null Strings.

Bug: https://github.com/dart-lang/sdk/issues/30548
Change-Id: I87ecdd129ec0227f982bd2e1f34193b3d6b0d81b
Reviewed-on: https://dart-review.googlesource.com/35081
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-01-18 02:02:24 +00:00
..
angular
co19 Update fasta parser to report ParserErrorCode.FUNCTION_TYPED_PARAMETER_VAR 2018-01-17 18:28:48 +00:00
compiler Update RTI optimization to handle type literal uses 2018-01-17 15:12:55 +00:00
corelib There is no longer a safarimobilesim test runtime. 2018-01-17 13:13:17 +00:00
corelib_2 dart2js: Make String.split return List<String> 2018-01-18 02:02:24 +00:00
dart
html There is no longer a safarimobilesim test runtime. 2018-01-17 13:13:17 +00:00
isolate There is no longer a safarimobilesim test runtime. 2018-01-17 13:13:17 +00:00
kernel Disable int64 when running dart2js 2018-01-16 19:52:22 +00:00
language There is no longer a safarimobilesim test runtime. 2018-01-17 13:13:17 +00:00
language_2 fix test for #31436 to pass on Dart 2 impls 2018-01-17 23:53:26 +00:00
lib There is no longer a safarimobilesim test runtime. 2018-01-17 13:13:17 +00:00
lib_2 Fix typed JS interop in DDK 2018-01-17 21:46:48 +00:00
search
standalone [dart:io] Allow setting overrides in the root Zone 2017-12-18 22:46:07 +00:00
standalone_2 Fix fuzzy arrow issues in tests. 2018-01-16 23:08: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.