Index: tests/html/selectelement_test.dart |
diff --git a/tests/html/selectelement_test.dart b/tests/html/selectelement_test.dart |
index 717502f505f1312d696046ac1f7f5d94c2622d52..f88c4af5275bb4c679d3a68978976388d43d62e0 100644 |
--- a/tests/html/selectelement_test.dart |
+++ b/tests/html/selectelement_test.dart |
@@ -16,9 +16,11 @@ main() { |
var options = [ |
new OptionElement(), |
new DivElement(), |
- new OptionElement('data', 'two', false, true), |
+ new OptionElement(data: 'data', value: 'two', defaultSelected: false, |
+ selected: true), |
new DivElement(), |
- new OptionElement('data', 'two', false, true), |
+ new OptionElement(data: 'data', value: 'two', defaultSelected: false, |
+ selected: true), |
new OptionElement(), |
]; |
element.children.addAll(options); |
@@ -32,9 +34,11 @@ main() { |
var options = [ |
new OptionElement(), |
new DivElement(), |
- new OptionElement('data', 'two', false, true), |
+ new OptionElement(data: 'data', value: 'two', defaultSelected: false, |
+ selected: true), |
new DivElement(), |
- new OptionElement('data', 'two', false, true), |
+ new OptionElement(data: 'data', value: 'two', defaultSelected: false, |
+ selected: true), |
new OptionElement(), |
]; |
element.children.addAll(options); |
@@ -47,8 +51,10 @@ main() { |
var element = new SelectElement(); |
var options = [ |
new OptionElement(), |
- new OptionElement('data', 'two', false, true), |
- new OptionElement('data', 'two', false, true), |
+ new OptionElement(data: 'data', value: 'two', defaultSelected: false, |
+ selected: true), |
+ new OptionElement(data: 'data', value: 'two', defaultSelected: false, |
+ selected: true), |
new OptionElement(), |
]; |
element.children.addAll(options); |