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

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

Issue 47603017: Add test for @published with noscript (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « no previous file | pkg/polymer/test/publish_inherited_properties_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/publish_inherited_properties_test.dart
diff --git a/pkg/polymer/test/publish_inherited_properties_test.dart b/pkg/polymer/test/publish_inherited_properties_test.dart
index caaa5db1ba8114e18d92d7d127c9011d1d3b3a47..878976fac623f78c85e1d9485ba8b7eecd9bcc34 100644
--- a/pkg/polymer/test/publish_inherited_properties_test.dart
+++ b/pkg/polymer/test/publish_inherited_properties_test.dart
@@ -26,6 +26,7 @@ class XBar extends XFoo {
class XZot extends XBar {
XZot.created() : super.created();
+ var m;
@published int zot = 3;
}
@@ -55,8 +56,9 @@ main() {
published(tag) =>
query('polymer-element[name=$tag]').publishedProperties;
- expect(published('x-zot'), [#Foo, #Bar, #zot]);
- expect(published('x-squid'), [#Foo, #Bar, #zot, #baz, #squid]);
+ expect(published('x-zot'), [#Foo, #Bar, #zot, #m]);
+ expect(published('x-squid'), [#Foo, #Bar, #zot, #m, #baz, #squid]);
+ expect(published('x-noscript'), [#Foo, #Bar, #zot, #m]);
// TODO(sigmund): uncomment, see above
// expect(published('x-squid'), [#Foo, #Bar, #zot, #zap, #baz, #squid]);
});
« no previous file with comments | « no previous file | pkg/polymer/test/publish_inherited_properties_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698