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

Unified Diff: pkg/polymer/test/bind_test.html

Issue 25740006: port polymer data binding tests (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 | « pkg/polymer/test/bind_test.dart ('k') | pkg/polymer/test/custom_event_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/bind_test.html
diff --git a/pkg/polymer/test/prop_attr_reflection_test.html b/pkg/polymer/test/bind_test.html
similarity index 50%
copy from pkg/polymer/test/prop_attr_reflection_test.html
copy to pkg/polymer/test/bind_test.html
index c77d0095e6de32d25cf6a44c81d10d23f3a11cfa..3b3970ca88a238a0e6275986fdf7bbbc0116418c 100644
--- a/pkg/polymer/test/prop_attr_reflection_test.html
+++ b/pkg/polymer/test/bind_test.html
@@ -5,28 +5,31 @@ for details. All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
-->
<html>
- <head>
<!--polymer-test: this comment is needed for test_suite.dart-->
- <title>publish attributes</title>
+ <head>
+ <title>bind simple</title>
<script src="packages/unittest/test_controller.js"></script>
</head>
<body>
-
<x-foo></x-foo>
- <polymer-element name="x-foo" attributes="foo baz">
- </polymer-element>
- <x-bar></x-bar>
- <polymer-element name="x-bar" extends="x-foo" attributes="zot zim str obj">
+ <polymer-element name="x-bar" noscript>
+ <template>
+ x-bar
+ </template>
</polymer-element>
- <x-compose></x-compose>
- <polymer-element name="x-compose">
+ <polymer-element name="x-foo">
<template>
- <x-bar id="bar" zim="{{zim}}"></x-bar>
+ <div id="foo" foo="{{foo}}"></div>
+ <div id="bool" foo?="{{foo}}"></div>
+ <div id="content">{{foo}}</div>
+ <x-bar id="bar" foo="{{foo}}" ></x-bar>
+ <x-bar id="barBool" foo?="{{foo}}"></x-bar>
+ <x-bar id="barContent">{{foo}}</x-bar>
</template>
</polymer-element>
- <script type="application/dart" src="prop_attr_reflection_test.dart"></script>
+ <script type="application/dart" src="bind_test.dart"></script>
</body>
</html>
« no previous file with comments | « pkg/polymer/test/bind_test.dart ('k') | pkg/polymer/test/custom_event_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698