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

Unified Diff: dart/tests/try/poi/library_updater_test.dart

Issue 627673002: Add LibraryUpdater.hasPendingUpdates. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Return a list to avoid applying the updates many times. Created 6 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
« no previous file with comments | « dart/pkg/dart2js_incremental/lib/library_updater.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/try/poi/library_updater_test.dart
diff --git a/dart/tests/try/poi/library_updater_test.dart b/dart/tests/try/poi/library_updater_test.dart
index 34a4022a00de8e9df31bd0c2361299a917e813f1..5531eeb235015a3f9ae73567e0edcd56ea2168f3 100644
--- a/dart/tests/try/poi/library_updater_test.dart
+++ b/dart/tests/try/poi/library_updater_test.dart
@@ -40,6 +40,8 @@ class LibraryUpdaterTestCase extends CompilerTestCase {
updater.canReuseLibrary(library, UTF8.encode(newSource));
Expect.equals(expectedCanReuse, actualCanReuse);
+ Expect.equals(expectedCanReuse, updater.hasPendingUpdates);
+
Expect.setEquals(
expectedUpdates.toSet(),
updater.updates.map((Update update) => update.before.name).toSet());
« no previous file with comments | « dart/pkg/dart2js_incremental/lib/library_updater.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698