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

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

Issue 54603008: Revert "fix nested bindings" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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/pkg.status ('k') | pkg/polymer/test/nested_binding_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/nested_binding_test.dart
diff --git a/pkg/polymer/test/nested_binding_test.dart b/pkg/polymer/test/nested_binding_test.dart
deleted file mode 100644
index b8db84ef718903d1d8908a7b9b0866ba27f33420..0000000000000000000000000000000000000000
--- a/pkg/polymer/test/nested_binding_test.dart
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-library polymer.test.nested_binding_test;
-
-import 'dart:async';
-import 'dart:html';
-import 'dart:mirrors'; // import mirrors so we include String.length
-import 'package:polymer/polymer.dart';
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
-import 'package:unittest/matcher.dart';
-
-@CustomTag('my-test')
-class MyTest extends PolymerElement {
- final List fruits = toObservable(['apples', 'oranges', 'pears']);
-
- final _testDone = new Completer();
-
- MyTest.created() : super.created();
-
- _runTest(_) {
- expect($['fruit'].text.trim(), 'Short name: [pears]');
- _testDone.complete();
- }
-
- ready() {
- onMutation($['fruit']).then(_runTest);
- }
-
-}
-
-main() {
- reflectClass(String); // use the mirrors import to suppress a warning.
-
- initPolymer();
- useHtmlConfiguration();
-
- setUp(() => Polymer.onReady);
-
- test('ready called', () => (query('my-test') as MyTest)._testDone.future);
-}
« no previous file with comments | « pkg/pkg.status ('k') | pkg/polymer/test/nested_binding_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698