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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/element/LibraryElementImplTest.java

Issue 11745013: Rename two classes (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 12 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.engine_test/src/com/google/dart/engine/internal/element/LibraryElementImplTest.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/element/LibraryElementImplTest.java (revision 16603)
+++ editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/element/LibraryElementImplTest.java (working copy)
@@ -19,7 +19,7 @@
import com.google.dart.engine.element.LibraryElement;
import com.google.dart.engine.element.PrefixElement;
import com.google.dart.engine.internal.context.AnalysisContextImpl;
-import com.google.dart.engine.source.SourceImpl;
+import com.google.dart.engine.source.FileBasedSource;
import static com.google.dart.engine.ast.ASTFactory.identifier;
@@ -92,7 +92,7 @@
private LibraryElementImpl createLibrary(AnalysisContext context, String libraryName) {
String fileName = libraryName + ".dart";
- SourceImpl source = new SourceImpl(null, new File(fileName));
+ FileBasedSource source = new FileBasedSource(null, new File(fileName));
CompilationUnitElementImpl unit = new CompilationUnitElementImpl(fileName);
unit.setSource(source);
LibraryElementImpl library = new LibraryElementImpl(context, identifier(libraryName));

Powered by Google App Engine
This is Rietveld 408576698