dart-sdk/pkg/front_end/testcases
Konstantin Shcheglov 21277a4df8 Apply resolution to 'this' and 'super'.
R=brianwilkerson@google.com, paulberry@google.com

Bug:
Change-Id: I905ea53aa1c39d789824e8c7061135a41b8f8cac
Reviewed-on: https://dart-review.googlesource.com/25663
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2017-12-03 00:13:42 +00:00
..
dartino Convert Dartino tests to individual files. 2017-11-29 10:37:01 +00:00
inference Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
inference_new Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
rasta Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
regress Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
runtime_checks Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
runtime_checks_new Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
shaker Add FallThroughError._create() to required members. 2017-11-08 21:21:50 +00:00
accessors.dart
accessors.dart.direct.expect Revert "Revert "[kernel] Fix NoSuchMethod errors for generic functions."" 2017-11-06 17:07:38 +00:00
accessors.dart.outline.expect
ambiguous_exports.dart
ambiguous_exports.dart.direct.expect
ambiguous_exports.dart.outline.expect
ambiguous_exports.dart.strong.expect
annotation_eof.dart
annotation_eof.dart.direct.expect
annotation_eof.dart.outline.expect
annotation_eof.dart.strong.expect
annotation_top.dart
annotation_top.dart.direct.expect
annotation_top.dart.outline.expect
annotation_top.dart.strong.expect
argument.dart
argument.dart.direct.expect
argument.dart.outline.expect
argument.dart.strong.expect
argument_mismatch.dart
argument_mismatch.dart.direct.expect Revert "Revert "[kernel] Fix NoSuchMethod errors for generic functions."" 2017-11-06 17:07:38 +00:00
argument_mismatch.dart.outline.expect
argument_mismatch.dart.strong.expect Revert "Revert "[kernel] Fix NoSuchMethod errors for generic functions."" 2017-11-06 17:07:38 +00:00
arithmetic.dart
arithmetic.dart.direct.expect
arithmetic.dart.outline.expect
arithmetic.dart.strong.expect
arrow_function.dart
arrow_function.dart.direct.expect
arrow_function.dart.outline.expect
arrow_function.dart.strong.expect
ast_builder.status Apply resolution to 'this' and 'super'. 2017-12-03 00:13:42 +00:00
async_function.dart
async_function.dart.direct.expect
async_function.dart.outline.expect
async_function.dart.strong.expect
await.dart
await.dart.direct.expect
await.dart.outline.expect
bad_setter_abstract.dart Recover from bad setter in abstract method 2017-10-24 11:01:18 +00:00
bad_setter_abstract.dart.direct.expect Change the representation of ShadowSyntheticExpression to allow replacement. 2017-11-17 12:18:53 +00:00
bad_setter_abstract.dart.outline.expect Recover from bad setter in abstract method 2017-10-24 11:01:18 +00:00
bad_setter_abstract.dart.strong.expect Change the representation of ShadowSyntheticExpression to allow replacement. 2017-11-17 12:18:53 +00:00
bad_store.dart
bad_store.dart.direct.expect
bad_store.dart.outline.expect
bad_store.dart.strong.expect
bug30695.dart
bug30695.dart.direct.expect
bug30695.dart.outline.expect
bug30695.dart.strong.expect
bug31124.dart
bug31124.dart.direct.expect
bug31124.dart.outline.expect
bug31124.dart.strong.expect
call.dart
call.dart.direct.expect
call.dart.outline.expect
call.dart.strong.expect
cascade.dart
cascade.dart.direct.expect
cascade.dart.outline.expect
casts.dart
casts.dart.direct.expect
casts.dart.outline.expect
classes.dart
classes.dart.direct.expect
classes.dart.outline.expect
closure.dart
closure.dart.direct.expect
closure.dart.outline.expect
closure.dart.strong.expect
compile.status [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
covariant_generic.dart
covariant_generic.dart.direct.expect
covariant_generic.dart.outline.expect
covariant_generic.dart.strong.expect
cycles.dart
cycles.dart.direct.expect
cycles.dart.outline.expect
default_values.dart
default_values.dart.direct.expect
default_values.dart.outline.expect
DeltaBlue.dart
DeltaBlue.dart.direct.expect
DeltaBlue.dart.outline.expect
DeltaBlue.dart.strong.expect
duplicated_named_args_3.dart Fix parent pointers in the general case of duplicate named args 2017-11-09 00:55:23 +00:00
duplicated_named_args_3.dart.direct.expect Fix parent pointers in the general case of duplicate named args 2017-11-09 00:55:23 +00:00
duplicated_named_args_3.dart.outline.expect Fix parent pointers in the general case of duplicate named args 2017-11-09 00:55:23 +00:00
duplicated_named_args_3.dart.strong.expect Fix parent pointers in the general case of duplicate named args 2017-11-09 00:55:23 +00:00
dynamic_and_void.dart Remove void as an exported name from dart:core 2017-12-01 16:28:16 +00:00
dynamic_and_void.dart.direct.expect Remove void as an exported name from dart:core 2017-12-01 16:28:16 +00:00
dynamic_and_void.dart.outline.expect Remove void as an exported name from dart:core 2017-12-01 16:28:16 +00:00
dynamic_and_void.dart.strong.expect Remove void as an exported name from dart:core 2017-12-01 16:28:16 +00:00
escape.dart
escape.dart.direct.expect
escape.dart.outline.expect
escape.dart.strong.expect
export_main.dart
export_main.dart.direct.expect
export_main.dart.outline.expect
export_main.dart.strong.expect
export_test.dart
export_test.dart.direct.expect
export_test.dart.outline.expect
export_test.dart.strong.expect
expressions.dart
expressions.dart.direct.expect Skip implicit Null type for absent default value of optional formal parameters. 2017-11-27 20:25:01 +00:00
expressions.dart.outline.expect
external.dart
external.dart.direct.expect
external.dart.outline.expect
external.dart.strong.expect
fallthrough.dart
fallthrough.dart.direct.expect
fallthrough.dart.outline.expect
fallthrough.dart.strong.expect
fibonacci.dart
fibonacci.dart.direct.expect
fibonacci.dart.outline.expect
for_in_scope.dart
for_in_scope.dart.direct.expect
for_in_scope.dart.outline.expect
function_in_field.dart
function_in_field.dart.direct.expect
function_in_field.dart.outline.expect
function_type_is_check.dart
function_type_is_check.dart.direct.expect
function_type_is_check.dart.outline.expect
function_type_is_check.dart.strong.expect
function_type_recovery.dart
function_type_recovery.dart.outline.expect
functions.dart
functions.dart.direct.expect
functions.dart.outline.expect
hello.dart
hello.dart.direct.expect
hello.dart.outline.expect
illegal_named_function_expression.dart
illegal_named_function_expression.dart.direct.expect
illegal_named_function_expression.dart.outline.expect
illegal_named_function_expression.dart.strong.expect
illegal_named_function_expression_scope.dart
illegal_named_function_expression_scope.dart.direct.expect
illegal_named_function_expression_scope.dart.outline.expect
illegal_named_function_expression_scope.dart.strong.expect
implicit_scope_test.dart
implicit_scope_test.dart.direct.expect
implicit_scope_test.dart.outline.expect
implicit_scope_test.dart.strong.expect
implicit_this.dart
implicit_this.dart.direct.expect
implicit_this.dart.outline.expect
incomplete_field_formal_parameter.dart
incremental.status Start building incremental test suite 2017-12-01 13:03:16 +00:00
invalid_assignment.dart Report "invalid assignment" from the front end as an error rather than a warning. 2017-11-14 18:39:14 +00:00
invalid_assignment.dart.direct.expect Insert implicit downcasts for compound assignments. 2017-11-03 22:07:10 +00:00
invalid_assignment.dart.outline.expect Insert implicit downcasts for compound assignments. 2017-11-03 22:07:10 +00:00
invalid_assignment.dart.strong.expect Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
invocations.dart
invocations.dart.direct.expect
invocations.dart.outline.expect
literals.dart
literals.dart.direct.expect
literals.dart.outline.expect
local_generic_function.dart
local_generic_function.dart.direct.expect
local_generic_function.dart.outline.expect
local_generic_function.dart.strong.expect
map.dart
map.dart.direct.expect
map.dart.outline.expect
metadata_enum.dart
metadata_enum.dart.direct.expect [kernel] Improve Enum representation. 2017-10-27 12:10:53 +00:00
metadata_enum.dart.outline.expect [kernel] Improve Enum representation. 2017-10-27 12:10:53 +00:00
metadata_enum.dart.strong.expect [kernel] Improve Enum representation. 2017-10-27 12:10:53 +00:00
metadata_named_mixin_application.dart
metadata_named_mixin_application.dart.direct.expect
metadata_named_mixin_application.dart.outline.expect
metadata_named_mixin_application.dart.strong.expect
micro.dart
micro.dart.direct.expect
micro.dart.outline.expect
micro.dart.strong.expect
mixin.dart
mixin.dart.direct.expect
mixin.dart.outline.expect
mixin.dart.strong.expect
named_parameters.dart
named_parameters.dart.direct.expect
named_parameters.dart.outline.expect
named_parameters.dart.strong.expect
null_aware.dart
null_aware.dart.direct.expect
null_aware.dart.outline.expect
null_aware.dart.strong.expect
operators.dart
operators.dart.direct.expect
operators.dart.outline.expect
optional.dart
optional.dart.direct.expect
optional.dart.outline.expect
optional.dart.strong.expect
outline.status [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
override.dart
override.dart.direct.expect
override.dart.outline.expect
override.dart.strong.expect
platform.dart
platform.dart.direct.expect
platform.dart.outline.expect
prefer_baseclass.dart
prefer_baseclass.dart.direct.expect
prefer_baseclass.dart.outline.expect
prefer_baseclass.dart.strong.expect
qualified.dart
qualified.dart.direct.expect Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
qualified.dart.outline.expect
qualified.dart.strong.expect Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
qualified_lib.dart
qualified_part.dart
README.md Add README file to testcases directory. 2017-10-20 12:52:41 +00:00
redirecting_constructor.dart
redirecting_constructor.dart.direct.expect
redirecting_constructor.dart.outline.expect
redirecting_factory.dart
redirecting_factory.dart.direct.expect
redirecting_factory.dart.outline.expect
redirecting_factory.dart.strong.expect
redirecting_factory_chain_test.dart [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_chain_test.dart.direct.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_chain_test.dart.outline.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_chain_test.dart.strong.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_simple_test.dart [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_simple_test.dart.direct.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_simple_test.dart.outline.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_simple_test.dart.strong.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeargs_test.dart [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeargs_test.dart.direct.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeargs_test.dart.outline.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeargs_test.dart.strong.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeparam_test.dart [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeparam_test.dart.direct.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeparam_test.dart.outline.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeparam_test.dart.strong.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeparambounds_test.dart [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeparambounds_test.dart.direct.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeparambounds_test.dart.outline.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
redirecting_factory_typeparambounds_test.dart.strong.expect [kernel] Add new member kind for redirecting factory constructors 2017-11-28 17:36:44 +00:00
reorder_super.dart
reorder_super.dart.direct.expect
reorder_super.dart.outline.expect
reorder_super.dart.strong.expect
sdk.status Put no bound on substituted type when substitution has no bound. 2017-11-10 13:15:08 +00:00
shaker.status
statements.dart
statements.dart.direct.expect
statements.dart.outline.expect
static_setter.dart
static_setter.dart.direct.expect
static_setter.dart.outline.expect
static_setter.dart.strong.expect
store_load.dart
store_load.dart.direct.expect
store_load.dart.outline.expect
store_load.dart.strong.expect
stringliteral.dart
stringliteral.dart.direct.expect
stringliteral.dart.outline.expect
stringliteral.dart.strong.expect
strong.status Insert implicit downcasts for function expressions. 2017-11-29 22:24:31 +00:00
super_rasta_copy.dart
super_rasta_copy.dart.direct.expect
super_rasta_copy.dart.outline.expect
super_rasta_copy.dart.strong.expect Fix type inference of compound assignments when getter/setter have different types. 2017-10-25 18:54:17 +00:00
top_level_accessors.dart
top_level_accessors.dart.direct.expect
top_level_accessors.dart.outline.expect
top_level_accessors_part.dart
type_variable_as_super.dart
type_variable_as_super.dart.direct.expect
type_variable_as_super.dart.outline.expect
type_variable_prefix.dart
type_variable_prefix.dart.direct.expect
type_variable_prefix.dart.outline.expect
type_variable_prefix.dart.strong.expect Reland "Route all messages through Loader." 2017-12-01 22:47:06 +00:00
typedef.dart
typedef.dart.direct.expect
typedef.dart.outline.expect
uninitialized_fields.dart
uninitialized_fields.dart.direct.expect
uninitialized_fields.dart.outline.expect
uninitialized_fields.dart.strong.expect
unused_methods.dart
unused_methods.dart.direct.expect
unused_methods.dart.outline.expect
unused_methods.dart.strong.expect
void_methods.dart
void_methods.dart.direct.expect
void_methods.dart.outline.expect
void_methods.dart.strong.expect
warn_unresolved_sends.dart
warn_unresolved_sends.dart.direct.expect
warn_unresolved_sends.dart.outline.expect
warn_unresolved_sends.dart.strong.expect

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.

ast_builder

This configuration doesn't have expectations as it doesn't produce Kernel AST nodes.

Dart 1.0 Compilation

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

Dart 1.0 Outlines

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

Tree Shaking

./pkg/front_end/tool/fasta testing -DupdateExpectations=true shaker/test1 shaker/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.