dart-sdk/tests/language/control_flow_collections
Sigmund Cherem 9a9f23fd35 [tests] update await_for_test to test behavior variations.
This introduces an asyncExpectThrowsWhen to async_helper, similar to
Expect.throwsWhen, to allow specifying semantics under behavior
variations in this test.

We also update await_for_test to no longer skip expectations in dart2js.

Change-Id: Ie147f74f384a0e196e40b75c59fe585f011ede49
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/351721
Reviewed-by: Lasse Nielsen <lrn@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2024-02-14 21:43:47 +00:00
..
await_for_downcast_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
await_for_dynamic_null_test.dart Simplify asyncExpectThrows and enhance Expect.throws. 2022-01-06 17:06:47 +00:00
await_for_inference_test.dart
await_for_null_test.dart [cfe] Indicate nullability as assignability issue when appropriate 2020-10-29 16:10:03 +00:00
await_for_syntax_error_test.dart
await_for_test.dart [tests] update await_for_test to test behavior variations. 2024-02-14 21:43:47 +00:00
await_for_type_error_test.dart
for_await_test.dart
for_const_error_test.dart
for_downcast_test.dart [cfe] Indicate nullability as assignability issue when appropriate 2020-10-29 16:10:03 +00:00
for_dynamic_null_strong_test.dart
for_dynamic_null_weak_test.dart [tests] Loosen weak expectation to any throw 2020-04-23 21:54:10 +00:00
for_inference_test.dart
for_non_bool_condition_test.dart
for_null_condition_test.dart [cfe] Indicate nullability as assignability issue when appropriate 2020-10-29 16:10:03 +00:00
for_runtime_error_test.dart
for_test.dart
for_variable_test.dart
if_await_test.dart
if_const_error_test.dart
if_const_test.dart
if_downcast_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
if_dynamic_null_strong_test.dart
if_dynamic_null_weak_test.dart
if_inference_test.dart
if_null_condition_test.dart [cfe] Indicate nullability as assignability issue when appropriate 2020-10-29 16:10:03 +00:00
if_promotion_test.dart
if_runtime_error_test.dart
if_test.dart
map_set_ambiguity_error_test.dart
map_set_ambiguity_test.dart
syntax_error_test.dart
syntax_test.dart
type_error_test.dart
utils.dart [web-fixit] Use generic types in control-flow-collections tests 2023-11-28 02:16:39 +00:00