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

Unified Diff: pkg/analysis_server/test/edit/assists_test.dart

Issue 2879273002: Make server use the common protocol classes (Closed)
Patch Set: Created 3 years, 7 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/analysis_server/test/domain_completion_util.dart ('k') | pkg/analysis_server/test/edit/fixes_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/edit/assists_test.dart
diff --git a/pkg/analysis_server/test/edit/assists_test.dart b/pkg/analysis_server/test/edit/assists_test.dart
index dd64443379d4a147d7b97fcb07b595508e9d6523..e79a22ce5a3235fc2f8b96e57330710a20acd969 100644
--- a/pkg/analysis_server/test/edit/assists_test.dart
+++ b/pkg/analysis_server/test/edit/assists_test.dart
@@ -9,7 +9,7 @@ import 'package:analysis_server/protocol/protocol_generated.dart';
import 'package:analysis_server/src/edit/edit_domain.dart';
import 'package:analysis_server/src/plugin/plugin_manager.dart';
import 'package:analyzer_plugin/protocol/protocol.dart' as plugin;
-import 'package:analyzer_plugin/protocol/protocol_common.dart' as plugin;
+import 'package:analyzer_plugin/protocol/protocol_common.dart';
import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin;
import 'package:analyzer_plugin/src/protocol/protocol_internal.dart' as plugin;
import 'package:plugin/manager.dart';
@@ -55,9 +55,9 @@ class AssistsTest extends AbstractAnalysisTest {
String message = 'From a plugin';
plugin.PrioritizedSourceChange change = new plugin.PrioritizedSourceChange(
5,
- new plugin.SourceChange(message, edits: <plugin.SourceFileEdit>[
- new plugin.SourceFileEdit('', 0,
- edits: <plugin.SourceEdit>[new plugin.SourceEdit(0, 0, 'x')])
+ new SourceChange(message, edits: <SourceFileEdit>[
+ new SourceFileEdit('', 0,
+ edits: <SourceEdit>[new SourceEdit(0, 0, 'x')])
]));
plugin.EditGetAssistsResult result = new plugin.EditGetAssistsResult(
<plugin.PrioritizedSourceChange>[change]);
« no previous file with comments | « pkg/analysis_server/test/domain_completion_util.dart ('k') | pkg/analysis_server/test/edit/fixes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698