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

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

Issue 10389097: Move dart:dom to dart:dom_deprecated (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes from review Created 8 years, 7 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
diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/DartLibraryImplTest.java b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/DartLibraryImplTest.java
index c58ea835f831dd6668127c38b64ed17f8dacc0f5..e718cffa40480223e842855faae1f37584e301a9 100644
--- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/DartLibraryImplTest.java
+++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/DartLibraryImplTest.java
@@ -556,7 +556,7 @@ public class DartLibraryImplTest extends TestCase {
}
public void test_DartLibraryImpl_getElementName_libDom() throws Exception {
- assertEquals("dart:dom", getDartLibDom().getElementName());
+ assertEquals("dart:dom_deprecated", getDartLibDom().getElementName());
}
public void test_DartLibraryImpl_getElementName_libEmpty() throws Exception {
@@ -623,7 +623,7 @@ public class DartLibraryImplTest extends TestCase {
public void test_DartLibraryImpl_getImportedLibraries_lib1() throws Exception {
DartLibrary[] importedLibraries = getDartLib1().getImportedLibraries();
- assertContainsLibImpl(importedLibraries, "dart:dom");
+ assertContainsLibImpl(importedLibraries, "dart:dom_deprecated");
assertEquals(1, importedLibraries.length);
}
@@ -683,7 +683,7 @@ public class DartLibraryImplTest extends TestCase {
public void test_DartLibraryImpl_getImportedLibraries_libHtml() throws Exception {
DartLibrary[] importedLibraries = getDartLibHtml().getImportedLibraries();
assertEquals(1, importedLibraries.length);
- assertEquals("dart:dom", importedLibraries[0].getElementName());
+ assertEquals("dart:dom_deprecated", importedLibraries[0].getElementName());
}
public void test_DartLibraryImpl_hasMain_lib1() throws Exception {
@@ -796,7 +796,7 @@ public class DartLibraryImplTest extends TestCase {
DartLibraryImpl hackLib = assertContainsLibImpl(importedLibraries, "dart:bootstrap_hacks");
importedLibraries = hackLib.getImportedLibraries();
assertEquals(1, importedLibraries.length);
- DartLibraryImpl domLib = assertContainsLibImpl(importedLibraries, "dart:dom");
+ DartLibraryImpl domLib = assertContainsLibImpl(importedLibraries, "dart:dom_deprecated");
assertEquals(getDartLibDom(), domLib);
}
@@ -1079,7 +1079,7 @@ public class DartLibraryImplTest extends TestCase {
}
private DartLibraryImpl getDartLibDom() throws Exception {
- return getBundledLib("dart:dom");
+ return getBundledLib("dart:dom_deprecated");
}
private DartLibraryImpl getDartLibEmpty() throws Exception {

Powered by Google App Engine
This is Rietveld 408576698