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

Unified Diff: samples/third_party/todomvc/test/markdone_test.dart

Issue 27307004: Converting Polymer's WebComponentsLoaded to an onReady future (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « samples/third_party/todomvc/test/mainpage_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/todomvc/test/markdone_test.dart
diff --git a/samples/third_party/todomvc/test/markdone_test.dart b/samples/third_party/todomvc/test/markdone_test.dart
index 8a866074815805aeae532ebc80950ab24a00ef2e..49b6e57f10932b417d9301517e85fe31f81107ff 100644
--- a/samples/third_party/todomvc/test/markdone_test.dart
+++ b/samples/third_party/todomvc/test/markdone_test.dart
@@ -4,7 +4,6 @@
library todomvc.test.markdone_test;
-import 'dart:async';
import 'dart:html';
import 'package:polymer/polymer.dart';
import 'package:unittest/unittest.dart';
@@ -50,7 +49,7 @@ Node findShadowHost(Node node, ShadowRoot root) {
main() {
useHtmlConfiguration();
- setUp(() => new Future.delayed(Duration.ZERO));
+ setUp(() => Polymer.onReady);
test('mark done', () {
appModel.todos.add(new Todo('one (unchecked)'));
« no previous file with comments | « samples/third_party/todomvc/test/mainpage_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698