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

Unified Diff: pkg/analysis_server/test/services/correction/assist_test.dart

Issue 492243002: Introduce convenience methods into generated analysis server classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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
Index: pkg/analysis_server/test/services/correction/assist_test.dart
diff --git a/pkg/analysis_server/test/services/correction/assist_test.dart b/pkg/analysis_server/test/services/correction/assist_test.dart
index ddf373fbad9669572735b29af5a55c1d5cc62341..4abc0d0eae32a1e379dd5ecc36d363fd4aebd60b 100644
--- a/pkg/analysis_server/test/services/correction/assist_test.dart
+++ b/pkg/analysis_server/test/services/correction/assist_test.dart
@@ -4,6 +4,7 @@
library test.services.correction.assist;
+import 'package:analysis_server/src/protocol2.dart' show SourceEdit;
import 'package:analysis_server/src/services/correction/assist.dart';
import 'package:analysis_server/src/services/correction/change.dart';
import 'package:analysis_server/src/services/index/index.dart';
@@ -43,7 +44,7 @@ class AssistProcessorTest extends AbstractSingleUnitTest {
// apply to "file"
List<FileEdit> fileEdits = change.fileEdits;
expect(fileEdits, hasLength(1));
- resultCode = applySequence(testCode, change.fileEdits[0].edits);
+ resultCode = SourceEdit.applySequence(testCode, change.fileEdits[0].edits);
// verify
expect(resultCode, expected);
}
« no previous file with comments | « pkg/analysis_server/test/edit/assists_test.dart ('k') | pkg/analysis_server/test/services/correction/change_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698