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

Unified Diff: test/iron_list_hidden_test.dart

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 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 | « test/iron_list_dynamic_item_size_test.html ('k') | test/iron_list_mutations_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/iron_list_hidden_test.dart
diff --git a/test/iron_list_hidden_test.dart b/test/iron_list_hidden_test.dart
index 9c2cc23a5e87d010da9a3f5c7371b563cb022529..0beb0c1e57a0c4076df353320fb47b853a88e775 100644
--- a/test/iron_list_hidden_test.dart
+++ b/test/iron_list_hidden_test.dart
@@ -34,17 +34,17 @@ main() async {
expect(list.offsetHeight, 0);
});
- test('resize', () {
+ test('iron-resize', () {
var done = new Completer();
list.items = buildDataSet(100);
- list.fire('resize');
+ list.fire('iron-resize');
expect(getFirstItemFromList(list).text, isNot('0'));
context['Polymer']['RenderStatus'].callMethod('whenReady', [() async {
container.attributes.remove('hidden');
expect(getFirstItemFromList(list).text, isNot('0'));
- list.fire('resize');
+ list.fire('iron-resize');
await wait(1);
expect(list.jsElement['isAttached'], isTrue);
« no previous file with comments | « test/iron_list_dynamic_item_size_test.html ('k') | test/iron_list_mutations_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698