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

Side by Side Diff: pkg/polymer/test/event_handlers_test.dart

Issue 172923002: [polymer] fix editor hints -- query/queryAll and unused imports (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 polymer.test.event_handlers_test; 5 library polymer.test.event_handlers_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:html'; 8 import 'dart:html';
9 9
10 import 'package:logging/logging.dart'; 10 import 'package:logging/logging.dart';
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 ..onRecord.listen((m) => print('${m.loggerName} ${m.message}')); 107 ..onRecord.listen((m) => print('${m.loggerName} ${m.message}'));
108 108
109 initPolymer(); 109 initPolymer();
110 } 110 }
111 111
112 @initMethod init() { 112 @initMethod init() {
113 useHtmlConfiguration(); 113 useHtmlConfiguration();
114 114
115 setUp(() => Polymer.onReady); 115 setUp(() => Polymer.onReady);
116 test('events handled', () { 116 test('events handled', () {
117 XTest test = query('x-test'); 117 XTest test = querySelector('x-test');
118 expect(test._onTestDone, isNotNull, reason: 'ready was called'); 118 expect(test._onTestDone, isNotNull, reason: 'ready was called');
119 return test._onTestDone; 119 return test._onTestDone;
120 }); 120 });
121 } 121 }
OLDNEW
« no previous file with comments | « pkg/polymer/test/entered_view_test.dart ('k') | pkg/polymer/test/event_path_declarative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698