| Index: pkg/analysis_server/test/analysis/notification_navigation_test.dart
|
| diff --git a/pkg/analysis_server/test/analysis/notification_navigation_test.dart b/pkg/analysis_server/test/analysis/notification_navigation_test.dart
|
| index 0e810d1c61200a94221270922e964c466113ccfe..b04ff9c5a9dc860b71b30b468cb8dd7a9fe11153 100644
|
| --- a/pkg/analysis_server/test/analysis/notification_navigation_test.dart
|
| +++ b/pkg/analysis_server/test/analysis/notification_navigation_test.dart
|
| @@ -581,6 +581,45 @@ part "test_unit.dart";
|
| });
|
| }
|
|
|
| + test_superConstructorInvocation() {
|
| + addTestFile('''
|
| +class A {
|
| + A() {}
|
| + A.named() {}
|
| +}
|
| +class B extends A {
|
| + B() : super();
|
| + B.named() : super.named();
|
| +}
|
| +''');
|
| + return prepareNavigation().then((_) {
|
| + {
|
| + assertHasRegionString('super');
|
| + assertHasTarget('A() {}', 0);
|
| + }
|
| + {
|
| + assertHasRegionString('super.named');
|
| + assertHasTarget('named() {}');
|
| + }
|
| + });
|
| + }
|
| +
|
| + test_superConstructorInvocation_synthetic() {
|
| + addTestFile('''
|
| +class A {
|
| +}
|
| +class B extends A {
|
| + B() : super();
|
| +}
|
| +''');
|
| + return prepareNavigation().then((_) {
|
| + {
|
| + assertHasRegionString('super');
|
| + assertHasTarget('A {');
|
| + }
|
| + });
|
| + }
|
| +
|
| test_targetElement() {
|
| addTestFile('''
|
| class AAA {}
|
|
|