Index: pkg/analysis_server/test/services/completion/uri_contributor_test.dart |
diff --git a/pkg/analysis_server/test/services/completion/uri_contributor_test.dart b/pkg/analysis_server/test/services/completion/uri_contributor_test.dart |
index 4a046a160899fe1d98540fe2129ad43a25cedca8..ab605ddd8eba5a56158a49220abf9d0d98fe5a41 100644 |
--- a/pkg/analysis_server/test/services/completion/uri_contributor_test.dart |
+++ b/pkg/analysis_server/test/services/completion/uri_contributor_test.dart |
@@ -4,7 +4,7 @@ |
library test.services.completion.contributor.dart.importuri; |
-import 'package:analysis_server/src/protocol.dart'; |
+import 'package:analysis_server/plugin/protocol/protocol.dart'; |
import 'package:analysis_server/src/services/completion/dart_completion_manager.dart'; |
import 'package:analysis_server/src/services/completion/uri_contributor.dart'; |
import 'package:analyzer/file_system/memory_file_system.dart'; |
@@ -28,6 +28,16 @@ class UriContributorTest extends AbstractCompletionTest { |
contributor = new UriContributor(); |
} |
+ test_export_package2() { |
+ addPackageSource('foo', 'foo.dart', 'library foo;'); |
+ addPackageSource('foo', 'baz/too.dart', 'library too;'); |
+ addPackageSource('bar', 'bar.dart', 'library bar;'); |
+ addTestSource('export "package:foo/baz/^" import'); |
+ computeFast(); |
+ assertSuggest('package:foo/baz/too.dart', |
+ csKind: CompletionSuggestionKind.IMPORT); |
+ } |
+ |
test_import() { |
addTestSource('import "^"'); |
computeFast(); |
@@ -186,16 +196,6 @@ class UriContributorTest extends AbstractCompletionTest { |
csKind: CompletionSuggestionKind.IMPORT); |
} |
- test_export_package2() { |
- addPackageSource('foo', 'foo.dart', 'library foo;'); |
- addPackageSource('foo', 'baz/too.dart', 'library too;'); |
- addPackageSource('bar', 'bar.dart', 'library bar;'); |
- addTestSource('export "package:foo/baz/^" import'); |
- computeFast(); |
- assertSuggest('package:foo/baz/too.dart', |
- csKind: CompletionSuggestionKind.IMPORT); |
- } |
- |
test_import_package_missing_lib() { |
var pkgSrc = addPackageSource('bar', 'bar.dart', 'library bar;'); |
provider.deleteFolder(dirname(pkgSrc.fullName)); |