b48d4f224f
Change-Id: I60891b46119d6451810adf2846a05a66050bacd0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373246 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
34 lines
1.4 KiB
Dart
34 lines
1.4 KiB
Dart
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'package:_fe_analyzer_shared/src/testing/id_testing.dart' as id;
|
|
|
|
import 'update_expectations.dart' as expectations;
|
|
|
|
const List<String> idTests = <String>[
|
|
'pkg/front_end/test/covariance_check/covariance_check_test.dart',
|
|
'pkg/front_end/test/extensions/extensions_test.dart',
|
|
'pkg/front_end/test/id_testing/id_testing_test.dart',
|
|
'pkg/front_end/test/id_tests/assigned_variables_test.dart',
|
|
'pkg/front_end/test/id_tests/constant_test.dart',
|
|
'pkg/front_end/test/id_tests/definite_assignment_test.dart',
|
|
'pkg/front_end/test/id_tests/definite_unassignment_test.dart',
|
|
'pkg/front_end/test/id_tests/inheritance_test.dart',
|
|
'pkg/front_end/test/id_tests/nullability_test.dart',
|
|
'pkg/front_end/test/id_tests/reachability_test.dart',
|
|
'pkg/front_end/test/id_tests/type_promotion_test.dart',
|
|
'pkg/front_end/test/id_tests/why_not_promoted_test.dart',
|
|
'pkg/front_end/test/language_versioning/language_versioning_test.dart',
|
|
'pkg/front_end/test/patching/patching_test.dart',
|
|
'pkg/front_end/test/static_types/static_type_test.dart',
|
|
];
|
|
|
|
Future<void> main() async {
|
|
// Update all tests based on expectation files.
|
|
await expectations.main(const <String>[]);
|
|
|
|
// Update all id-tests.
|
|
await id.updateAllTests(idTests);
|
|
}
|