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

Unified Diff: pkg/template_binding/test/custom_element_bindings_test.dart

Issue 50203004: port TemplateBinding to ed3266266e751b5ab1f75f8e0509d0d5f0ef35d8 (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/template_binding/test/binding_syntax_test.dart ('k') | pkg/template_binding/test/node_bind_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/template_binding/test/custom_element_bindings_test.dart
diff --git a/pkg/template_binding/test/custom_element_bindings_test.dart b/pkg/template_binding/test/custom_element_bindings_test.dart
index c9556d5a78874c47dbe236b5abde5668663ea153..cc128753d2d743fefa56b862ac0a9dd04b8cf6dd 100644
--- a/pkg/template_binding/test/custom_element_bindings_test.dart
+++ b/pkg/template_binding/test/custom_element_bindings_test.dart
@@ -124,7 +124,7 @@ customElementBindingsTest() {
var element = div.nodes[1];
expect(element is MyCustomElement, true,
- reason: '${element} should be a MyCustomElement');
+ reason: '$element should be a MyCustomElement');
expect(element.myPoint, model['a']);
expect(element.scaryMonster, model['b']);
@@ -179,6 +179,7 @@ class MyCustomElement extends HtmlElement implements NodeBindExtension {
unbind(name) => nodeBindFallback(this).unbind(name);
unbindAll() => nodeBindFallback(this).unbindAll();
get bindings => nodeBindFallback(this).bindings;
+ get templateInstance => nodeBindFallback(this).templateInstance;
}
class _MyCustomBinding extends NodeBinding {
« no previous file with comments | « pkg/template_binding/test/binding_syntax_test.dart ('k') | pkg/template_binding/test/node_bind_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698