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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/DartLibraryImplTest.java

Issue 8371019: Fix a URI related problem on windows. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 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.core_test/src/com/google/dart/tools/core/internal/model/DartLibraryImplTest.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/DartLibraryImplTest.java (revision 623)
+++ editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/DartLibraryImplTest.java (working copy)
@@ -460,6 +460,11 @@
assertTrue(library.isUnreferenced());
}
+ public void test_DartLibraryImpl_newLibrarySourceFile() throws Exception {
+ DartLibraryImpl library = getDartLibExternal();
+ assertTrue(library.getLibrarySourceFile().getUri().toString().startsWith("file:/"));
+ }
+
public void test_DartLibraryImpl_nonExistantBundledLib() throws Exception {
String memento = "= {file:/some/path/to/missing_bundled_lib.dart";
DartLibraryImpl actual = (DartLibraryImpl) DartCore.create(memento);
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/compiler/TestCompilerListener.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698