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

Side by Side Diff: tests/lib_strong/html/input_element_test.dart

Issue 2806543002: Issue 29186. Make several top-level variables explicitly 'dynamic'. (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « tests/language_strong/language_strong.status ('k') | tests/lib_strong/lib_strong.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import 'dart:html'; 1 import 'dart:html';
2 2
3 import 'package:expect/minitest.dart'; 3 import 'package:expect/minitest.dart';
4 4
5 void check(InputElement element, String type, [bool supported = true]) { 5 void check(InputElement element, String type, [bool supported = true]) {
6 expect(element is InputElement, true); 6 expect(element is InputElement, true);
7 if (supported) { 7 if (supported) {
8 expect(element.type, type); 8 expect(element.type, type);
9 } else { 9 } else {
10 expect(element.type, 'text'); 10 expect(element.type, 'text');
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 expect(e.value, ''); 182 expect(e.value, '');
183 }); 183 });
184 test('valueSetNullProxy', () { 184 test('valueSetNullProxy', () {
185 final e = new TextInputElement(); 185 final e = new TextInputElement();
186 e.value = _undefined; 186 e.value = _undefined;
187 expect(e.value, ''); 187 expect(e.value, '');
188 }); 188 });
189 }); 189 });
190 } 190 }
191 191
192 var _undefined = (() => new List(5)[0])(); 192 dynamic _undefined = (() => new List(5)[0])();
OLDNEW
« no previous file with comments | « tests/language_strong/language_strong.status ('k') | tests/lib_strong/lib_strong.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698