| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'dart:async'; | 5 import 'dart:async'; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 | 7 |
| 8 import 'package:logging/logging.dart'; | 8 import 'package:logging/logging.dart'; |
| 9 import 'package:observe/observe.dart'; | 9 import 'package:observe/observe.dart'; |
| 10 import 'package:observe/mirrors_used.dart'; // make test smaller. |
| 10 import 'package:polymer_expressions/polymer_expressions.dart'; | 11 import 'package:polymer_expressions/polymer_expressions.dart'; |
| 11 import 'package:template_binding/template_binding.dart'; | 12 import 'package:template_binding/template_binding.dart'; |
| 12 import 'package:unittest/html_config.dart'; | 13 import 'package:unittest/html_config.dart'; |
| 13 import 'package:unittest/unittest.dart'; | 14 import 'package:unittest/unittest.dart'; |
| 14 | 15 |
| 15 main() { | 16 main() { |
| 16 useHtmlConfiguration(); | 17 useHtmlConfiguration(); |
| 17 | 18 |
| 18 group('PolymerExpressions', () { | 19 group('PolymerExpressions', () { |
| 19 var testDiv; | 20 var testDiv; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 String getFullName() => '$_firstName $_lastName'; | 107 String getFullName() => '$_firstName $_lastName'; |
| 107 | 108 |
| 108 List<String> get items => _items; | 109 List<String> get items => _items; |
| 109 | 110 |
| 110 void set items(List<String> value) { | 111 void set items(List<String> value) { |
| 111 _items = notifyPropertyChange(#items, _items, value); | 112 _items = notifyPropertyChange(#items, _items, value); |
| 112 } | 113 } |
| 113 | 114 |
| 114 String toString() => "Person(firstName: $_firstName, lastName: $_lastName)"; | 115 String toString() => "Person(firstName: $_firstName, lastName: $_lastName)"; |
| 115 } | 116 } |
| OLD | NEW |