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

Side by Side Diff: pkg/template_binding/test/node_bind_test.dart

Issue 204013005: Prevent more timeouts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library template_binding.test.node_bind_test; 5 library template_binding.test.node_bind_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:html'; 8 import 'dart:html';
9 9
10 import 'package:observe/observe.dart' 10 import 'package:observe/observe.dart'
11 show toObservable, PathObserver, PropertyPath; 11 show toObservable, PathObserver, PropertyPath;
12 import 'package:observe/mirrors_used.dart'; // make test smaller.
13 import 'package:template_binding/template_binding.dart' show nodeBind; 12 import 'package:template_binding/template_binding.dart' show nodeBind;
14 13
15 import 'package:unittest/html_config.dart'; 14 import 'package:unittest/html_config.dart';
16 import 'package:unittest/unittest.dart'; 15 import 'package:unittest/unittest.dart';
17 import 'utils.dart'; 16 import 'utils.dart';
18 17
19 // Note: this file ported from 18 // Note: this file ported from
20 // https://github.com/toolkitchen/mdv/blob/master/tests/node_bindings.js 19 // https://github.com/toolkitchen/mdv/blob/master/tests/node_bindings.js
21 20
22 main() => dirtyCheckZone().run(() { 21 main() => dirtyCheckZone().run(() {
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 }).then(endOfMicrotask).then((_) { 719 }).then(endOfMicrotask).then((_) {
721 expect(select.value, 'X'); 720 expect(select.value, 'X');
722 expect(model['selected'], 'X'); 721 expect(model['selected'], 'X');
723 722
724 model['selected'] = 'a'; 723 model['selected'] = 'a';
725 }).then(endOfMicrotask).then((_) { 724 }).then(endOfMicrotask).then((_) {
726 expect(select.value, 'a'); 725 expect(select.value, 'a');
727 }); 726 });
728 }); 727 });
729 } 728 }
OLDNEW
« no previous file with comments | « pkg/polymer/test/bind_mdv_test.dart ('k') | pkg/template_binding/test/template_binding_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698