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); |