| Index: pkg/analysis_server/test/services/correction/fix_test.dart
|
| diff --git a/pkg/analysis_server/test/services/correction/fix_test.dart b/pkg/analysis_server/test/services/correction/fix_test.dart
|
| index 794b2847db6d15c1ce4bb194a887e1e21a388e4a..ba3ceb046449015e0d54ebf1c86b01f7c84fd44f 100644
|
| --- a/pkg/analysis_server/test/services/correction/fix_test.dart
|
| +++ b/pkg/analysis_server/test/services/correction/fix_test.dart
|
| @@ -769,7 +769,34 @@ main() {
|
| ''');
|
| }
|
|
|
| - void test_createMissingOverrides_functionType() {
|
| + void test_createMissingOverrides_functionTypeAlias() {
|
| + _indexTestUnit('''
|
| +typedef int Binary(int left, int right);
|
| +
|
| +abstract class Emulator {
|
| + void performBinary(Binary binary);
|
| +}
|
| +
|
| +class MyEmulator extends Emulator {
|
| +}
|
| +''');
|
| + assertHasFix(FixKind.CREATE_MISSING_OVERRIDES, '''
|
| +typedef int Binary(int left, int right);
|
| +
|
| +abstract class Emulator {
|
| + void performBinary(Binary binary);
|
| +}
|
| +
|
| +class MyEmulator extends Emulator {
|
| + @override
|
| + void performBinary(Binary binary) {
|
| + // TODO: implement performBinary
|
| + }
|
| +}
|
| +''');
|
| + }
|
| +
|
| + void test_createMissingOverrides_functionTypedParameter() {
|
| _indexTestUnit('''
|
| abstract class A {
|
| forEach(int f(double p1, String p2));
|
|
|