dart-sdk/tests
Konstantin Shcheglov c39df1b6db Issue 34495. Change the way unexpected elements are handled in pushInstanceCreation() of expression builder.
R=brianwilkerson@google.com, paulberry@google.com

Bug: https://github.com/dart-lang/sdk/issues/34495
Change-Id: I4b56b274d33e2a274de564d3dd78f592e482e660
Reviewed-on: https://dart-review.googlesource.com/c/83200
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2018-11-06 22:45:42 +00:00
..
angular
co19_2 Merge commit '9a1a7763f150e92e39a05519be47e581584c5de9' into analyzer 2018-11-05 04:01:07 -08:00
compiler Use '==' in more cases. 2018-11-05 19:43:08 +00:00
corelib_2 [VM] Follow-up status file update after landing changes to kernel2kernel constant evaluator 2018-11-02 11:14:15 +00:00
dart
kernel [vm/aot] Fix obfuscation. 2018-10-26 13:00:33 +00:00
language_2 Issue 34495. Change the way unexpected elements are handled in pushInstanceCreation() of expression builder. 2018-11-06 22:45:42 +00:00
lib_2 [vm/aot] Fix obfuscation. 2018-10-26 13:00:33 +00:00
search
standalone Revert "Fix bug in TTL logic for IPv6" 2018-11-05 21:16:45 +00:00
standalone_2 Revert "Fix bug in TTL logic for IPv6" 2018-11-05 21:16:45 +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.