dart-sdk/pkg/front_end/testcases
Johnni Winther 0769b22b4f [cfe] Support interface member access on extension types
Change-Id: I53975b71683e119fe6abec72341cdcd814244f58
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/318982
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2023-08-09 12:19:39 +00:00
..
agnostic [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
class_modifiers [cfe] Change error message for mixin subtype restriction. 2023-06-14 14:28:48 +00:00
const_functions [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
constructor_tearoffs [dart2js] Enable verification of compilation with errors 2023-08-03 08:14:19 +00:00
dart2js [cfe] Update ast-to-text for extension type declarations 2023-08-08 14:53:20 +00:00
dart2wasm Front end: add unchecked "as" nodes for promoted getter accesses. 2023-08-03 12:07:45 +00:00
dartdevc [cfe] Update ast-to-text for extension type declarations 2023-08-08 14:53:20 +00:00
dartino
enhanced_enums [cfe] Support redirecting factories in inline classes 2023-06-14 10:31:42 +00:00
expression [cfe] Handle exhaustiveness checking in expression evaluation 2023-07-18 10:17:49 +00:00
extensions [cfe] Generate statements for trivial pattern assignments 2023-07-28 11:11:37 +00:00
general [cfe] Treat promitions from T? to non-nullable as two-step 2023-08-02 09:51:31 +00:00
generic_metadata [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
implicit_getter_calls [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
incremental [cfe] Handle absolute part/part-of uri with packages 2023-07-25 11:42:58 +00:00
inference [cfe] Refactor HierarchyBuilder 2023-07-24 14:55:14 +00:00
inference_new [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
inference_update_1 [cfe] Ensure Member.isInlineClassMember is set 2023-06-08 15:02:03 +00:00
inference_update_2 Front end: add unchecked "as" nodes for promoted getter accesses. 2023-08-03 12:07:45 +00:00
inline_class [cfe] Support interface member access on extension types 2023-08-09 12:19:39 +00:00
instantiate_to_bound [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
late_lowering [cfe] Generate statements for trivial pattern assignments 2023-07-28 11:11:37 +00:00
late_lowering_sentinel [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
macros [cfe] Ensure Member.isInlineClassMember is set 2023-06-08 15:02:03 +00:00
named_arguments_anywhere [cfe] Support redirecting factories in inline classes 2023-06-14 10:31:42 +00:00
new_const_insertion [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
nnbd [cfe] Treat promitions from T? to non-nullable as two-step 2023-08-02 09:51:31 +00:00
nnbd_mixed [cfe] Treat promitions from T? to non-nullable as two-step 2023-08-02 09:51:31 +00:00
no_such_method_forwarders [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
none [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
nonfunction_type_aliases [cfe] Support redirecting factories in inline classes 2023-06-14 10:31:42 +00:00
offsets [cfe] Generate statements for trivial pattern assignments 2023-07-28 11:11:37 +00:00
patterns [cfe] Rename InlineClass to ExtensionTypeDeclaration 2023-08-01 09:04:38 +00:00
rasta [cfe] Generate statements for trivial pattern assignments 2023-07-28 11:11:37 +00:00
records [cfe] Generate statements for trivial pattern assignments 2023-07-28 11:11:37 +00:00
regress [cfe] Support redirecting factories in inline classes 2023-06-14 10:31:42 +00:00
runtime_checks [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
runtime_checks_new [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
sealed_class [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
set_literals [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
static_field_lowering [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
super_parameters [cfe] Preserve the required flag in synthesized mixin constructors 2023-07-14 11:33:45 +00:00
triple_shift [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
unified_collections [cfe] Generate statements for trivial pattern assignments 2023-07-28 11:11:37 +00:00
unscheduled_experiments
variance [cfe] Treat NonNullableByDefault as default in ast-to-text 2023-06-08 06:28:50 +00:00
expression.status
incremental.status
incremental_bulk_compiler_full.status
incremental_bulk_compiler_smoke.status
incremental_dartino.status
modular.status Front end: add unchecked "as" nodes for promoted getter accesses. 2023-08-03 12:07:45 +00:00
outline.status [dart2js] Enable verification of compilation with errors 2023-08-03 08:14:19 +00:00
README.md
sdk.status
strong.status Front end: add unchecked "as" nodes for promoted getter accesses. 2023-08-03 12:07:45 +00:00
textual_outline.status [cfe] Support interface member access on extension types 2023-08-09 12:19:39 +00:00
weak.status [cfe] Avoid crash on pattern switch statement in constant evaluator 2023-08-04 13:09:37 +00:00

Overview

The testcases in this directory and its subdirectory are all compiled in various different configurations designed to test various aspects of Fasta (or more generally, package:front_end).

The configurations are described below.

The source of truth for these configurations is the file pkg/front_end/testing.json.

Updating all expectations

To update test expectations for all tests at once, run:

dart pkg/front_end/tool/update_expectations.dart

Note that this takes a long time and should only be used when many tests need updating.

Updating expectations for a single test

To update the expectations for a specific test, provide the folder and test name as an argument.

For example, if you want to update the test expectations for a test, such as pkg/front_end/testcases/general/abstract_instantiation.dart, then run:

dart pkg/front_end/tool/update_expectations.dart general/abstract_instantiation

Updating expectations for all tests in a folder

If you want to update the test expectations for a specific folder of tests such as the pkg/front_end/testcases/general/ folder, then run:

dart pkg/front_end/tool/update_expectations.dart general/...

Dart 1.0 Outlines

./pkg/front_end/tool/fasta testing -DupdateExpectations=true outline/test1 outline/test2 ...

Dart 2.0 (strong mode)

./pkg/front_end/tool/fasta testing -DupdateExpectations=true -DupdateComments=true strong/test1 strong/test2 ...

Note: strong mode configuration additionally parses comments in the test file and can precisely match internal details of the compiler such as the inferred type of an expression or if a warning was emitted at a given location.