Index: pkg/analysis_server/test/context_manager_test.dart |
diff --git a/pkg/analysis_server/test/context_manager_test.dart b/pkg/analysis_server/test/context_manager_test.dart |
index 09f6ae03964bc87106bd064c606fc92306b1debc..b8f2b6c6455531b9781a8256c1237c960141fc4e 100644 |
--- a/pkg/analysis_server/test/context_manager_test.dart |
+++ b/pkg/analysis_server/test/context_manager_test.dart |
@@ -1347,34 +1347,6 @@ analyzer: |
}); |
} |
- test_watch_modifyPackageMapDependency_outsideProject() { |
- // create a dependency file |
- String dependencyPath = '/my/other/dep'; |
- resourceProvider.newFile(dependencyPath, 'contents'); |
- packageMapProvider.dependencies.add(dependencyPath); |
- // create a Dart file |
- String dartFilePath = posix.join(projPath, 'main.dart'); |
- resourceProvider.newFile(dartFilePath, 'contents'); |
- // the created context has the expected empty package map |
- manager.setRoots(<String>[projPath], <String>[], <String, String>{}); |
- _checkPackageMap(projPath, isEmpty); |
- // configure package map |
- String packagePath = '/package/foo'; |
- resourceProvider.newFolder(packagePath); |
- packageMapProvider.packageMap = {'foo': projPath}; |
- // Changing a .dart file in the project shouldn't cause a new |
- // package map to be picked up. |
- resourceProvider.modifyFile(dartFilePath, 'new contents'); |
- return pumpEventQueue().then((_) { |
- _checkPackageMap(projPath, isEmpty); |
- // However, changing the package map dependency should. |
- resourceProvider.modifyFile(dependencyPath, 'new contents'); |
- return pumpEventQueue().then((_) { |
- _checkPackageMap(projPath, equals(packageMapProvider.packageMap)); |
- }); |
- }); |
- } |
- |
test_watch_modifyPackagespec() { |
String packagesPath = '$projPath/.packages'; |
String filePath = '$projPath/bin/main.dart'; |