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

Side by Side Diff: pkg/mdv/test/node_bindings_test.dart

Issue 22284003: pkg: analysis aided cleanup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 7 years, 4 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
« no previous file with comments | « pkg/mdv/test/mdv_test_utils.dart ('k') | pkg/mime/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 node_bindings_test; 5 library node_bindings_test;
6 6
7 import 'dart:async';
8 import 'dart:html'; 7 import 'dart:html';
9 import 'package:mdv/mdv.dart' as mdv; 8 import 'package:mdv/mdv.dart' as mdv;
10 import 'package:observe/observe.dart';
11 import 'package:unittest/html_config.dart'; 9 import 'package:unittest/html_config.dart';
12 import 'package:unittest/unittest.dart'; 10 import 'package:unittest/unittest.dart';
13 import 'mdv_test_utils.dart'; 11 import 'mdv_test_utils.dart';
14 12
15 // Note: this file ported from 13 // Note: this file ported from
16 // https://github.com/toolkitchen/mdv/blob/master/tests/node_bindings.js 14 // https://github.com/toolkitchen/mdv/blob/master/tests/node_bindings.js
17 15
18 main() { 16 main() {
19 mdv.initialize(); 17 mdv.initialize();
20 useHtmlConfiguration(); 18 useHtmlConfiguration();
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 expect(input.checked, false); 147 expect(input.checked, false);
150 148
151 input.click(); 149 input.click();
152 expect(model[sym('x')], true); 150 expect(model[sym('x')], true);
153 performMicrotaskCheckpoint(); 151 performMicrotaskCheckpoint();
154 152
155 input.click(); 153 input.click();
156 expect(model[sym('x')], false); 154 expect(model[sym('x')], false);
157 }); 155 });
158 } 156 }
OLDNEW
« no previous file with comments | « pkg/mdv/test/mdv_test_utils.dart ('k') | pkg/mime/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698