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_selector_exclude_local_names_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_selector_content_test.dart ('k') | test/iron_selector_multi_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/iron_selector_exclude_local_names_test.dart
diff --git a/test/iron_selector_exclude_local_names_test.dart b/test/iron_selector_exclude_local_names_test.dart
index 3a1541671aa0476efb267051e97477826d897593..a433df11efe1c9f0a5176a302251354ec9620ffa 100644
--- a/test/iron_selector_exclude_local_names_test.dart
+++ b/test/iron_selector_exclude_local_names_test.dart
@@ -22,19 +22,19 @@ main() async {
});
test('default `excludedLocalNames`', () {
- expect(test1.excludedLocalNames['template'], isNotNull);
- expect(test2.excludedLocalNames['template'], isNotNull);
+ expect(test1.jsElement['_excludedLocalNames']['template'], isNotNull);
+ expect(test2.jsElement['_excludedLocalNames']['template'], isNotNull);
});
test('custom `excludedLocalNames`', () {
- test1.excludedLocalNames['foo'] = 1;
- expect(test1.excludedLocalNames['foo'], isNotNull);
- expect(test2.excludedLocalNames['foo'], isNull);
+ test1.jsElement['_excludedLocalNames']['foo'] = 1;
+ expect(test1.jsElement['_excludedLocalNames']['foo'], isNotNull);
+ expect(test2.jsElement['_excludedLocalNames']['foo'], isNull);
});
test('items', () {
- test1.excludedLocalNames['span'] = 1;
- test2.excludedLocalNames['div'] = 1;
+ test1.jsElement['_excludedLocalNames']['span'] = 1;
+ test2.jsElement['_excludedLocalNames']['div'] = 1;
var NOT_FOUND = -1;
var items1 = test1.items.map((el) => el.localName);
« no previous file with comments | « test/iron_selector_content_test.dart ('k') | test/iron_selector_multi_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698