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

Unified Diff: samples/third_party/todomvc/test/listorder_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 | « pkg/polymer/test/take_attributes_test.dart ('k') | samples/third_party/todomvc/test/mainpage_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/todomvc/test/listorder_test.dart
diff --git a/samples/third_party/todomvc/test/listorder_test.dart b/samples/third_party/todomvc/test/listorder_test.dart
index 1c06455a00fb35a12ec05945daec4fc5c96c9337..b854681ee215d70ca9405b3e486db468c2101252 100644
--- a/samples/third_party/todomvc/test/listorder_test.dart
+++ b/samples/third_party/todomvc/test/listorder_test.dart
@@ -4,7 +4,6 @@
library todomvc.test.listorder_test;
-import 'dart:async';
import 'dart:html';
import 'package:polymer/polymer.dart';
import 'package:unittest/unittest.dart';
@@ -21,7 +20,7 @@ main() {
final root = query('todo-app').shadowRoot;
- setUp(() => new Future.delayed(Duration.ZERO));
+ setUp(() => Polymer.onReady);
test('programmatically add items to model', () {
appModel.todos.addAll([
« no previous file with comments | « pkg/polymer/test/take_attributes_test.dart ('k') | samples/third_party/todomvc/test/mainpage_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698