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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/DartCoreTestLog.java

Issue 10843040: translate uris pointing to non-existing dart libraries (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/SystemLibraryManagerTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/DartCoreTestLog.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/DartCoreTestLog.java (revision 10120)
+++ editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/DartCoreTestLog.java (working copy)
@@ -90,8 +90,8 @@
pw.println(" " + status);
eclipseLog.log(status);
}
+ content.clear();
}
- content.clear();
fail(sw.toString().trim());
}
@@ -118,9 +118,16 @@
}
/**
- * Remove the log listener and assert no log entries
+ * Remove the log listener and dump any entries to the log
*/
public void tearDown() {
+ if (content.size() > 0) {
+ ILog eclipseLog = DartCore.getPlugin().getLog();
+ for (IStatus status : content) {
+ eclipseLog.log(status);
+ }
+ content.clear();
+ }
DartCore.setPluginLog(null);
}
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/SystemLibraryManagerTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698