dart-sdk/tests
Clement Skau d5fada929d [vm/ffi/test] Replaces FfiNative transform test with expect.
We can't rely on GC to trigger the finalizer of a given test object,
so the previous liveness test was unreliable.

Instead we add an expect test to verify we generate the necessary
`reachabilityFence(..)`s to ensure liveness.

TEST=Adds expect.
Bug: https://github.com/dart-lang/sdk/issues/47362
Change-Id: Ia57a07522c8b8265b24780f00f3339b50534eb60
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-nnbd-mac-release-arm64-try,vm-kernel-nnbd-mac-debug-x64-try,vm-kernel-mac-product-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/215542
Commit-Queue: Clement Skau <cskau@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2021-10-06 10:40:16 +00:00
..
co19 [co19_2] Status files updated 2021-09-27 10:27:42 +00:00
co19_2 [co19_2] Status files updated 2021-09-27 10:27:42 +00:00
corelib Remove references to dartfmt in various comments and docs. 2021-10-01 00:56:14 +00:00
corelib_2 Use interpolation in print and writeAll 2021-09-29 02:45:32 +00:00
dartdevc [ddc] Unify pkg:js types and allow subtyping between them 2021-07-30 00:33:54 +00:00
dartdevc_2 [ddc] Unify pkg:js types and allow subtyping between them 2021-07-30 00:33:54 +00:00
ffi [vm/ffi/test] Replaces FfiNative transform test with expect. 2021-10-06 10:40:16 +00:00
ffi_2 [test/ffi] Fix errors in tests 2021-09-28 13:17:01 +00:00
language [cfe] Refactor detection of instance type variable access in static context 2021-10-05 11:58:04 +00:00
language_2 [cfe] Refactor detection of instance type variable access in static context 2021-10-05 11:58:04 +00:00
lib [vm/sendandexit] Introduce Isolate.exit([port, message]). 2021-09-30 20:20:24 +00:00
lib_2 [vm/sendandexit] Introduce Isolate.exit([port, message]). 2021-09-30 20:20:24 +00:00
modular [ddc] Fix private class exposed by typedef 2021-04-05 18:54:56 +00:00
standalone Add a test for Platform.localeName 2021-10-04 18:41:50 +00:00
standalone_2 Add a test for Platform.localeName 2021-10-04 18:41:50 +00:00
web [dart2js] Improve type inference for createSentinel. 2021-09-13 21:59:20 +00:00
web_2 Remove obsolete internal dart2js annotations 2021-08-04 23:27:18 +00:00
legacy_status_dart2js.csv [dart2js] Remove obsolete unittests. 2020-05-12 17:16:39 +00:00
README.md Update tests/README to point to new doc. 2019-08-06 22:19:42 +00:00

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.