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

Unified Diff: compiler/javatests/com/google/dart/compiler/SystemLibrariesReaderTest.java

Issue 10914104: change sdk layout, fix tests to work with the change (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 3 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: compiler/javatests/com/google/dart/compiler/SystemLibrariesReaderTest.java
===================================================================
--- compiler/javatests/com/google/dart/compiler/SystemLibrariesReaderTest.java (revision 11954)
+++ compiler/javatests/com/google/dart/compiler/SystemLibrariesReaderTest.java (working copy)
@@ -32,6 +32,9 @@
Map<String, DartLibrary> librariesMap = reader.getLibrariesMap();
assertTrue(!librariesMap.isEmpty());
for (Entry<String, DartLibrary> entry : librariesMap.entrySet()) {
+ if (entry.getValue().getCategory().equals("Internal")){
+ continue;
+ }
String path = entry.getValue().getPath();
File file = new File(base.resolve(new URI(null, null, path, null, null)).normalize());
if (!file.exists()) {
@@ -50,7 +53,8 @@
assertTrue(library != null);
assertEquals("dart:coreimpl",library.getShortName());
assertTrue(library.isImplementation());
- assertEquals("Shared", library.getCategory());
+ assertEquals("Shared", library.getCategory());
+
}
}
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/PackageLibraryManagerProviderAnyTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698