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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ServiceUtilsTest.java

Issue 250823006: Translate parts of engine.services project. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move to pkg/analysis_services/ Created 6 years, 8 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: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ServiceUtilsTest.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ServiceUtilsTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ServiceUtilsTest.java
index 74aeb069efbbd46e3244e7e940ee7cf1b9eec70f..ea16314c2259f8f9dd6abe040b8904d3bc05abd5 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ServiceUtilsTest.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ServiceUtilsTest.java
@@ -245,9 +245,9 @@ public class ServiceUtilsTest extends AbstractDartTest {
Source source = createTestFileSource();
// fill SourceChange
SourceChange sourceChange = new SourceChange("My change", source);
- sourceChange.addEdit("groupA", new Edit(10, 1, "a1"));
- sourceChange.addEdit("groupA", new Edit(20, 2, "a2"));
- sourceChange.addEdit("groupB", new Edit(30, 3, "b"));
+ sourceChange.addEdit(new Edit(10, 1, "a1"), "groupA");
+ sourceChange.addEdit(new Edit(20, 2, "a2"), "groupA");
+ sourceChange.addEdit(new Edit(30, 3, "b"), "groupB");
// toLTK
TextFileChange ltkChange = ServiceUtils.toLTK(sourceChange);
assertEquals("My change", ltkChange.getName());

Powered by Google App Engine
This is Rietveld 408576698