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

Unified Diff: pkg/analysis_server/test/services/correction/fix_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/fix_test.dart
diff --git a/pkg/analysis_server/test/services/correction/fix_test.dart b/pkg/analysis_server/test/services/correction/fix_test.dart
index 7521f7cce1d7a7a8829b354dc87949e505550e56..1c381b7d93b58f821d904e5cfe2469e9110b3a9f 100644
--- a/pkg/analysis_server/test/services/correction/fix_test.dart
+++ b/pkg/analysis_server/test/services/correction/fix_test.dart
@@ -4,6 +4,7 @@
library test.services.correction.fix;
+import 'package:analysis_server/src/protocol2.dart' show SourceEdit;
import 'package:analysis_server/src/services/correction/change.dart';
import 'package:analysis_server/src/services/correction/fix.dart';
import 'package:analysis_server/src/services/index/index.dart';
@@ -41,7 +42,7 @@ class FixProcessorTest 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);
}

Powered by Google App Engine
This is Rietveld 408576698