Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: pkg/analysis_server/test/services/completion/imported_computer_test.dart

Issue 812233003: update completion cache key to include part directives (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/services/completion/imported_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/imported_computer_test.dart b/pkg/analysis_server/test/services/completion/imported_computer_test.dart
index 6c8cf16d99434cf3cc0e456b87fd3c88d6e1d199..bbbff651d1c36caa7abd34aa19d51f323ce0d224 100644
--- a/pkg/analysis_server/test/services/completion/imported_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/imported_computer_test.dart
@@ -142,6 +142,24 @@ class ImportedComputerTest extends AbstractSelectorSuggestionTest {
}
@override
+ test_partFile_TypeName() {
+ return super.test_partFile_TypeName().then((_) {
+ expect(
+ request.cache.importKey,
+ 'part of libA;');
+ });
+ }
+
+ @override
+ test_partFile_TypeName2() {
+ return super.test_partFile_TypeName2().then((_) {
+ expect(
+ request.cache.importKey,
+ 'library libA;import "/testB.dart";part "/testA.dart";');
+ });
+ }
+
+ @override
test_Block_inherited_imported() {
return super.test_Block_inherited_imported().then((_) {
assertCached('E');
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698