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

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

Issue 182193002: [polymer] interop with polymer-element and polymer.js (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/polymer/test/property_observe_test.html ('k') | pkg/polymer/test/publish_attributes_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/publish_attributes_test.dart
diff --git a/pkg/polymer/test/publish_attributes_test.dart b/pkg/polymer/test/publish_attributes_test.dart
index 6ff61a89662f493f5967ad0ff8a015b9d9dd2790..33966e744f404df4c9f458f673fc896eafc6c84d 100644
--- a/pkg/polymer/test/publish_attributes_test.dart
+++ b/pkg/polymer/test/publish_attributes_test.dart
@@ -59,8 +59,8 @@ main() {
setUp(() => Polymer.onReady);
test('published properties', () {
- published(tag) => (querySelector('polymer-element[name=$tag]')
- as PolymerDeclaration).publishedProperties;
+ published(tag) => (new Element.tag(tag) as PolymerElement)
+ .declaration.publishedProperties;
expect(published('x-foo'), ['Foo', 'baz']);
expect(published('x-bar'), ['Foo', 'baz', 'Bar']);
« no previous file with comments | « pkg/polymer/test/property_observe_test.html ('k') | pkg/polymer/test/publish_attributes_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698