| Index: pkg/analysis_server/test/integration/analysis/navigation_test.dart
|
| diff --git a/pkg/analysis_server/test/integration/analysis/navigation_test.dart b/pkg/analysis_server/test/integration/analysis/navigation_test.dart
|
| index c633811ade09973eab43b07960f31100099d3896..57c04cebf6390eaf9e8406bcd4e2c54d3fe3bc4f 100644
|
| --- a/pkg/analysis_server/test/integration/analysis/navigation_test.dart
|
| +++ b/pkg/analysis_server/test/integration/analysis/navigation_test.dart
|
| @@ -8,9 +8,11 @@ import 'package:analysis_server/src/protocol.dart';
|
| import 'package:test_reflective_loader/test_reflective_loader.dart';
|
| import 'package:unittest/unittest.dart';
|
|
|
| +import '../../utils.dart';
|
| import '../integration_tests.dart';
|
|
|
| main() {
|
| + initializeTestEnvironment();
|
| defineReflectiveTests(AnalysisNavigationTest);
|
| }
|
|
|
| @@ -54,7 +56,9 @@ part of foo;
|
| ''';
|
| writeFile(pathname2, text2);
|
| standardAnalysisSetup();
|
| - sendAnalysisSetSubscriptions({AnalysisService.NAVIGATION: [pathname1]});
|
| + sendAnalysisSetSubscriptions({
|
| + AnalysisService.NAVIGATION: [pathname1]
|
| + });
|
| List<NavigationRegion> regions;
|
| List<NavigationTarget> targets;
|
| List<String> targetFiles;
|
| @@ -101,10 +105,12 @@ part of foo;
|
| checkLocal('Class<int>', 'Class<TypeParameter>', ElementKind.CLASS);
|
| checkRemote(
|
| "'test2.dart';", r'test2.dart$', ElementKind.COMPILATION_UNIT);
|
| - checkLocal('Class<int>.constructor',
|
| + checkLocal(
|
| + 'Class<int>.constructor',
|
| 'constructor(); /* constructor declaration */',
|
| ElementKind.CONSTRUCTOR);
|
| - checkLocal('constructor(); // usage',
|
| + checkLocal(
|
| + 'constructor(); // usage',
|
| 'constructor(); /* constructor declaration */',
|
| ElementKind.CONSTRUCTOR);
|
| checkLocal('field;', 'field;', ElementKind.FIELD);
|
|
|