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

Unified Diff: pkg/analyzer_plugin/test/utilities/navigation_test.dart

Issue 2953093002: Update the plugin API (Closed)
Patch Set: Update FixesRequest Created 3 years, 6 months 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/analyzer_plugin/test/utilities/completion/completion_contributor_util.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_plugin/test/utilities/navigation_test.dart
diff --git a/pkg/analyzer_plugin/test/utilities/navigation_test.dart b/pkg/analyzer_plugin/test/utilities/navigation_test.dart
index 0d032d9a7e338817f8365ff24a1c65ba639b6e3c..dc4a9cc20452be99bc07cc12edb01f6e0174a56c 100644
--- a/pkg/analyzer_plugin/test/utilities/navigation_test.dart
+++ b/pkg/analyzer_plugin/test/utilities/navigation_test.dart
@@ -25,7 +25,7 @@ class NavigationGeneratorTest {
test_none() {
NavigationGenerator generator = new NavigationGenerator([]);
NavigationRequest request =
- new NavigationRequestImpl(provider, 0, 100, resolveResult);
+ new DartNavigationRequestImpl(provider, 0, 100, resolveResult);
GeneratorResult result = generator.generateNavigationNotification(request);
expect(result.notifications, hasLength(1));
}
@@ -34,7 +34,7 @@ class NavigationGeneratorTest {
TestContributor contributor = new TestContributor();
NavigationGenerator generator = new NavigationGenerator([contributor]);
NavigationRequest request =
- new NavigationRequestImpl(provider, 0, 100, resolveResult);
+ new DartNavigationRequestImpl(provider, 0, 100, resolveResult);
GeneratorResult result = generator.generateNavigationNotification(request);
expect(result.notifications, hasLength(1));
expect(contributor.count, 1);
@@ -53,7 +53,7 @@ class NavigationGeneratorTest {
NavigationGenerator generator = new NavigationGenerator(
[contributor1, contributor2, contributor3, contributor4]);
NavigationRequest request =
- new NavigationRequestImpl(provider, 0, 100, resolveResult);
+ new DartNavigationRequestImpl(provider, 0, 100, resolveResult);
GeneratorResult result = generator.generateNavigationNotification(request);
expect(result.notifications, hasLength(3));
expect(
« no previous file with comments | « pkg/analyzer_plugin/test/utilities/completion/completion_contributor_util.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698