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

Unified Diff: pkg/polymer/test/entered_view_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/polymer/test/custom_event_test.dart ('k') | pkg/polymer/test/event_handlers_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/entered_view_test.dart
diff --git a/pkg/polymer/test/entered_view_test.dart b/pkg/polymer/test/entered_view_test.dart
index c9f7b34341080f5d4290e10df19c4071d3c6ab86..632ea70ccf01792f0b0a43ba5e8a57acb8e2e6ef 100644
--- a/pkg/polymer/test/entered_view_test.dart
+++ b/pkg/polymer/test/entered_view_test.dart
@@ -40,13 +40,13 @@ _tests() {
setUp(() => Polymer.onReady);
test('element created properly', () {
- XOuter outer = query('x-outer');
+ XOuter outer = querySelector('x-outer');
outer.expand = true;
return outer.onMutation(outer.shadowRoot).then((_) {
// Element upgrade is also using mutation observers. Wait another tick so
// it goes before we do.
return new Future(() {
- XInner inner = outer.shadowRoot.query('x-inner');
+ XInner inner = outer.shadowRoot.querySelector('x-inner');
expect(inner.enteredCount, 1, reason: 'enteredView should be called');
});
});
« no previous file with comments | « pkg/polymer/test/custom_event_test.dart ('k') | pkg/polymer/test/event_handlers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698