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

Unified Diff: pkg/polymer/test/template_distribute_dynamic_test.dart

Issue 335943003: merge to trunk all changes from 36817 until 37378 under the packages: polymer, (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 6 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.html ('k') | pkg/polymer/test/template_distribute_dynamic_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/template_distribute_dynamic_test.dart
===================================================================
--- pkg/polymer/test/template_distribute_dynamic_test.dart (revision 37373)
+++ pkg/polymer/test/template_distribute_dynamic_test.dart (working copy)
@@ -12,16 +12,16 @@
class XTest extends PolymerElement {
@observable List list;
- final _enteredView = new Completer();
+ final _attached = new Completer();
Future onTestDone;
XTest.created() : super.created() {
- onTestDone = _enteredView.future.then(_runTest);
+ onTestDone = _attached.future.then(_runTest);
}
- enteredView() {
- super.enteredView();
- _enteredView.complete();
+ attached() {
+ super.attached();
+ _attached.complete();
}
_runTest(_) {
« no previous file with comments | « pkg/polymer/test/take_attributes_test.html ('k') | pkg/polymer/test/template_distribute_dynamic_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698