| 1 | define(["doh/main", "require", "dojo/sniff"], function(doh, require, has){ |
| 2 | |
| 3 | var test_robot = has("trident") || has("ff") || has("chrome") < 45; |
| 4 | |
| 5 | doh.register("form.ButtonMixin", require.toUrl("./ButtonMixin.html"), 999999); |
| 6 | doh.register("form.Button", require.toUrl("./Button.html"), 999999); |
| 7 | doh.register("form.ToggleButtonMixin", require.toUrl("./ToggleButtonMixin.html"), 999999); |
| 8 | if(test_robot){ |
| 9 | doh.register("form.robot.Button_mouse", require.toUrl("./robot/Button_mouse.html"), 999999); |
| 10 | doh.register("form.robot.Button_a11y", require.toUrl("./robot/Button_a11y.html"), 999999); |
| 11 | } |
| 12 | |
| 13 | doh.register("form.CheckBoxMixin", require.toUrl("./CheckBoxMixin.html"), 999999); |
| 14 | doh.register("form.CheckBox", require.toUrl("./CheckBox.html"), 999999); |
| 15 | doh.register("form.RadioButtonMixin", require.toUrl("./RadioButtonMixin.html"), 999999); |
| 16 | doh.register("form.RadioButtonTiming", require.toUrl("./RadioButtonTiming.html?mode=test"), 999999); |
| 17 | if(test_robot){ |
| 18 | doh.register("form.robot.CheckBox_mouse", require.toUrl("./robot/CheckBox_mouse.html"), 999999); |
| 19 | doh.register("form.robot.CheckBox_a11y", require.toUrl("./robot/CheckBox_a11y.html"), 999999); |
| 20 | } |
| 21 | |
| 22 | doh.register("form.test_validate", require.toUrl("./test_validate.html?mode=test"), 999999); |
| 23 | if(test_robot){ |
| 24 | doh.register("form.robot.ValidationTextBox", require.toUrl("./robot/ValidationTextBox.html"), 999999); |
| 25 | doh.register("form.robot.TextBox_onInput", require.toUrl("./robot/TextBox_onInput.html"), 999999); |
| 26 | } |
| 27 | |
| 28 | doh.register("form.DateTextBox", require.toUrl("./test_DateTextBox.html?mode=test"), 999999); |
| 29 | if(test_robot){ |
| 30 | doh.register("form.robot.DateTextBox", require.toUrl("./robot/DateTextBox.html"), 999999); |
| 31 | doh.register("form.robot.TimeTextBox", require.toUrl("./robot/TimeTextBox.html"), 999999); |
| 32 | } |
| 33 | |
| 34 | doh.register("form.Form", require.toUrl("./Form.html"), 999999); |
| 35 | if(test_robot){ |
| 36 | doh.register("form.robot.FormState", require.toUrl("./robot/Form_state.html"), 999999); |
| 37 | doh.register("form.robot.Form_onsubmit", require.toUrl("./robot/Form_onsubmit.html"), 999999); |
| 38 | } |
| 39 | |
| 40 | doh.register("form.Select", require.toUrl("./test_Select.html?mode=test"), 999999); |
| 41 | if(test_robot){ |
| 42 | doh.register("form.robot.Select", require.toUrl("./robot/Select.html"), 999999); |
| 43 | } |
| 44 | |
| 45 | doh.register("form.AutoCompleterMixin", require.toUrl("./AutoCompleterMixin.html"), 999999); |
| 46 | doh.register("form.ComboBox", require.toUrl("./_autoComplete.html?testWidget=dijit.form.ComboBox&mode=test"), 999999); |
| 47 | if(test_robot){ |
| 48 | doh.register("form.robot.ComboBox_mouse", require.toUrl("./robot/_autoComplete_mouse.html?testWidget=dijit.form.ComboBox"), 999999); |
| 49 | doh.register("form.robot.ComboBox_a11y", require.toUrl("./robot/_autoComplete_a11y.html?testWidget=dijit.form.ComboBox"), 999999); |
| 50 | } |
| 51 | doh.register("form.FilteringSelect", require.toUrl("./_autoComplete.html?testWidget=dijit.form.FilteringSelect&mode=test"), 999999); |
| 52 | if(test_robot){ |
| 53 | doh.register("form.robot.FilteringSelect_mouse", require.toUrl("./robot/_autoComplete_mouse.html?testWidget=dijit.form.FilteringSelect"), 999999); |
| 54 | doh.register("form.robot.FilteringSelect_a11y", require.toUrl("./robot/_autoComplete_a11y.html?testWidget=dijit.form.FilteringSelect"), 999999); |
| 55 | } |
| 56 | |
| 57 | doh.register("form.MultiSelect", require.toUrl("./test_MultiSelect.html?mode=test"), 999999); |
| 58 | if(test_robot){ |
| 59 | doh.register("form.robot.MultiSelect", require.toUrl("./robot/MultiSelect.html"), 999999); |
| 60 | } |
| 61 | |
| 62 | if(test_robot){ |
| 63 | doh.register("form.robot.SimpleTextarea", require.toUrl("./robot/SimpleTextarea.html"), 999999); |
| 64 | } |
| 65 | |
| 66 | doh.register("form.Slider", require.toUrl("./Slider.html"), 999999); |
| 67 | if(test_robot){ |
| 68 | doh.register("form.robot.Slider_mouse", require.toUrl("./robot/Slider_mouse.html"), 999999); |
| 69 | doh.register("form.robot.Slider_a11y", require.toUrl("./robot/Slider_a11y.html"), 999999); |
| 70 | } |
| 71 | |
| 72 | if(test_robot){ |
| 73 | doh.register("form.robot.Spinner_mouse", require.toUrl("./robot/Spinner_mouse.html"), 999999); |
| 74 | doh.register("form.robot.Spinner_a11y", require.toUrl("./robot/Spinner_a11y.html"), 999999); |
| 75 | } |
| 76 | |
| 77 | doh.register("form.ExpandingTextAreaMixin", require.toUrl("./ExpandingTextAreaMixin.html"), 999999); |
| 78 | if(test_robot){ |
| 79 | doh.register("form.robot.Textarea", require.toUrl("./robot/Textarea.html"), 999999); |
| 80 | } |
| 81 | |
| 82 | if(test_robot){ |
| 83 | doh.register("form.robot.validationMessages", require.toUrl("./robot/validationMessages.html"), 999999); |
| 84 | } |
| 85 | |
| 86 | doh.register("form.verticalAlign", require.toUrl("./test_verticalAlign.html"), 999999); |
| 87 | |
| 88 | doh.register("form.TextBox_types", require.toUrl("./TextBox_types.html"), 999999); |
| 89 | |
| 90 | doh.register("form.TextBox_sizes.tundra.ltr", require.toUrl("./TextBox_sizes.html?theme=tundra&dir=ltr"), 999999); |
| 91 | doh.register("form.TextBox_sizes.tundra.rtl", require.toUrl("./TextBox_sizes.html?theme=tundra&dir=rtl"), 999999); |
| 92 | doh.register("form.TextBox_sizes.tundra.quirks", require.toUrl("../quirks.html?file=form/TextBox_sizes.html&theme=tundra&dir=ltr"), 999999); |
| 93 | doh.register("form.TextBox_sizes.claro.ltr", require.toUrl("./TextBox_sizes.html?theme=claro&dir=ltr"), 999999); |
| 94 | doh.register("form.TextBox_sizes.claro.rtl", require.toUrl("./TextBox_sizes.html?theme=claro&dir=rtl"), 999999); |
| 95 | doh.register("form.TextBox_sizes.claro.quirks", require.toUrl("../quirks.html?file=form/TextBox_sizes.html&theme=claro&dir=ltr"), 999999); |
| 96 | doh.register("form.TextBox_sizes.soria.ltr", require.toUrl("./TextBox_sizes.html?theme=soria&dir=ltr"), 999999); |
| 97 | doh.register("form.TextBox_sizes.soria.rtl", require.toUrl("./TextBox_sizes.html?theme=soria&dir=rtl"), 999999); |
| 98 | doh.register("form.TextBox_sizes.soria.quirks", require.toUrl("../quirks.html?file=form/TextBox_sizes.html&theme=soria&dir=rtl"), 999999); |
| 99 | doh.register("form.TextBox_sizes.nihilo.ltr", require.toUrl("./TextBox_sizes.html?theme=nihilo&dir=ltr"), 999999); |
| 100 | doh.register("form.TextBox_sizes.nihilo.rtl", require.toUrl("./TextBox_sizes.html?theme=nihilo&dir=rtl"), 999999); |
| 101 | doh.register("form.TextBox_sizes.nihilo.quirks", require.toUrl("../quirks.html?file=form/TextBox_sizes.html&theme=nihilo&dir=rtl"), 999999); |
| 102 | doh.register("form.TextBox_sizes.a11y.ltr", require.toUrl("./TextBox_sizes.html?a11y=1&dir=ltr"), 999999); |
| 103 | doh.register("form.TextBox_sizes.a11y.rtl", require.toUrl("./TextBox_sizes.html?a11y=1&dir=rtl"), 999999); |
| 104 | doh.register("form.TextBox_sizes.a11y.quirks", require.toUrl("../quirks.html?file=form/TextBox_sizes.html&a11y=1&dir=ltr"), 999999); |
| 105 | |
| 106 | }); |