dart-sdk/tests
Lasse R.H. Nielsen 429bca8e65 Make Uri.parse accept [ and ] in path, query and fragment.
Also accept `#` in fragment.
Fix bug in parsing URI where first character of path needs escaping.
The characters are escaped, but parsing doesn't fail, like it previously
did on misplaced general delimiters in those places

Fixes #34451.

Bug: https://dartbug.com/34451
Change-Id: I99aa39bd2909661802ad9d1bb5dada94d579141b
Reviewed-on: https://dart-review.googlesource.com/74780
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-09-26 14:09:37 +00:00
..
angular
co19 Error on re-export, export and import of libraries with same name. 2018-09-25 09:09:21 +00:00
co19_2 Make Uri.parse accept [ and ] in path, query and fragment. 2018-09-26 14:09:37 +00:00
compiler Add @pragma('dart2js:noInline') and @pragma('dart2js:tryInline') 2018-09-26 01:19:50 +00:00
corelib [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
corelib_2 Make Uri.parse accept [ and ] in path, query and fragment. 2018-09-26 14:09:37 +00:00
dart
html Remove special handling of _htmltest.html tests. 2018-08-30 14:37:57 +00:00
isolate [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
kernel [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
language [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
language_2 Verify that mixin constraints can't be satisfied by the application (or named class) itself. 2018-09-26 13:07:04 +00:00
lib [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
lib_2 Error on re-export, export and import of libraries with same name. 2018-09-25 09:09:21 +00:00
search
standalone [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +00:00
standalone_2 [VM] Remove support for option --no-preview-dart-2 2018-09-24 20:38:08 +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.