<script src="../testsuite.js"></script>
<script src="accordion_test_helpers.js"></script>
- <script src="accordion_defaults.js"></script>
+ <script src="accordion_common.js"></script>
<script src="accordion_core.js"></script>
<script src="accordion_events.js"></script>
<script src="accordion_methods.js"></script>
<li><a href="?p=1.1.1.3">Amps</a></li>
<li><a href="?p=1.1.1.4">Effects</a></li>
<li><a href="?p=1.1.1.5">Accessories</a></li>
- </ul>
+ </ul>
</li>
<li>
<h2><a href="?p=1.1.2"><span>Bass</span></a></h2>
<li><a href="?p=1.1.2.5">Accessories</a></li>
<li><a href="?p=1.1.2.5">Accessories</a></li>
<li><a href="?p=1.1.2.5">Accessories</a></li>
- </ul>
+ </ul>
</li>
<li>
<h2><a href="?p=1.1.3">Drums</a></h2>
<li><a href="?p=1.1.3.2">Acoustic</a></li>
<li><a href="?p=1.1.3.3">Electronic</a></li>
<li><a href="?p=1.1.3.6">Accessories</a></li>
- </ul>
+ </ul>
</li>
</ul>
</div>
--- /dev/null
+TestHelpers.commonWidgetTests( "accordion", {
+ defaults: {
+ active: 0,
+ animate: {},
+ collapsible: false,
+ disabled: false,
+ event: "click",
+ header: "> li > :first-child,> :not(li):even",
+ heightStyle: "auto",
+ icons: {
+ "activeHeader": "ui-icon-triangle-1-s",
+ "header": "ui-icon-triangle-1-e"
+ },
+
+ // callbacks
+ activate: null,
+ beforeActivate: null,
+ create: null
+ }
+});
--- /dev/null
+TestHelpers.commonWidgetTests( "accordion", {
+ defaults: {
+ active: 0,
+ animate: null,
+ animated: "slide",
+ autoHeight: true,
+ clearStyle: false,
+ collapsible: false,
+ disabled: false,
+ event: "click",
+ fillSpace: false,
+ header: "> li > :first-child,> :not(li):even",
+ heightStyle: null,
+ icons: {
+ "activeHeader": null,
+ "header": "ui-icon-triangle-1-e",
+ "headerSelected": "ui-icon-triangle-1-s"
+ },
+ navigation: false,
+ navigationFilter: function() {},
+
+ // callbacks
+ activate: null,
+ beforeActivate: null,
+ change: null,
+ changestart: null,
+ create: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "accordion", {
- defaults: {
- active: 0,
- animate: {},
- collapsible: false,
- disabled: false,
- event: "click",
- header: "> li > :first-child,> :not(li):even",
- heightStyle: "auto",
- icons: {
- "activeHeader": "ui-icon-triangle-1-s",
- "header": "ui-icon-triangle-1-e"
- },
-
- // callbacks
- activate: null,
- beforeActivate: null,
- create: null
- }
-});
+++ /dev/null
-TestHelpers.commonWidgetTests( "accordion", {
- defaults: {
- active: 0,
- animate: null,
- animated: "slide",
- autoHeight: true,
- clearStyle: false,
- collapsible: false,
- disabled: false,
- event: "click",
- fillSpace: false,
- header: "> li > :first-child,> :not(li):even",
- heightStyle: null,
- icons: {
- "activeHeader": null,
- "header": "ui-icon-triangle-1-e",
- "headerSelected": "ui-icon-triangle-1-s"
- },
- navigation: false,
- navigationFilter: function() {},
-
- // callbacks
- activate: null,
- beforeActivate: null,
- change: null,
- changestart: null,
- create: null
- }
-});
<script src="../testsuite.js"></script>
<script src="accordion_test_helpers.js"></script>
- <script src="accordion_defaults_deprecated.js"></script>
+ <script src="accordion_common_deprecated.js"></script>
<script src="accordion_core.js"></script>
<script src="accordion_events.js"></script>
<script src="accordion_methods.js"></script>
<li><a href="?p=1.1.1.3">Amps</a></li>
<li><a href="?p=1.1.1.4">Effects</a></li>
<li><a href="?p=1.1.1.5">Accessories</a></li>
- </ul>
+ </ul>
</li>
<li>
<h2><a href="?p=1.1.2"><span>Bass</span></a></h2>
<li><a href="?p=1.1.2.5">Accessories</a></li>
<li><a href="?p=1.1.2.5">Accessories</a></li>
<li><a href="?p=1.1.2.5">Accessories</a></li>
- </ul>
+ </ul>
</li>
<li>
<h2><a href="?p=1.1.3">Drums</a></h2>
<li><a href="?p=1.1.3.2">Acoustic</a></li>
<li><a href="?p=1.1.3.3">Electronic</a></li>
<li><a href="?p=1.1.3.6">Accessories</a></li>
- </ul>
+ </ul>
</li>
</ul>
</div>
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
- <script src="autocomplete_defaults.js"></script>
+ <script src="autocomplete_common.js"></script>
<script src="autocomplete_core.js"></script>
<script src="autocomplete_events.js"></script>
<script src="autocomplete_methods.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "autocomplete", {
+ defaults: {
+ appendTo: "body",
+ autoFocus: false,
+ delay: 300,
+ disabled: false,
+ minLength: 1,
+ position: {
+ my: "left top",
+ at: "left bottom",
+ collision: "none"
+ },
+ source: null,
+
+ // callbacks
+ change: null,
+ close: null,
+ create: null,
+ focus: null,
+ open: null,
+ response: null,
+ search: null,
+ select: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "autocomplete", {
- defaults: {
- appendTo: "body",
- autoFocus: false,
- delay: 300,
- disabled: false,
- minLength: 1,
- position: {
- my: "left top",
- at: "left bottom",
- collision: "none"
- },
- source: null,
-
- // callbacks
- change: null,
- close: null,
- create: null,
- focus: null,
- open: null,
- response: null,
- search: null,
- select: null
- }
-});
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
+ <script src="button_common.js"></script>
<script src="button_core.js"></script>
- <script src="button_defaults.js"></script>
<script src="button_events.js"></script>
<script src="button_methods.js"></script>
<script src="button_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "button", {
+ defaults: {
+ disabled: null,
+ icons: {
+ primary: null,
+ secondary: null
+ },
+ label: null,
+ text: true,
+
+ // callbacks
+ create: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "button", {
- defaults: {
- disabled: null,
- icons: {
- primary: null,
- secondary: null
- },
- label: null,
- text: true,
-
- // callbacks
- create: null
- }
-});
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
+ <script src="dialog_common.js"></script>
<script src="dialog_core.js"></script>
- <script src="dialog_defaults.js"></script>
<script src="dialog_events.js"></script>
<script src="dialog_methods.js"></script>
<script src="dialog_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "dialog", {
+ defaults: {
+ autoOpen: true,
+ buttons: {},
+ closeOnEscape: true,
+ closeText: 'close',
+ disabled: false,
+ dialogClass: '',
+ draggable: true,
+ height: 'auto',
+ hide: null,
+ maxHeight: false,
+ maxWidth: false,
+ minHeight: 150,
+ minWidth: 150,
+ modal: false,
+ position: {
+ my: 'center',
+ at: 'center',
+ of: window,
+ collision: 'fit',
+ using: $.ui.dialog.prototype.options.position.using
+ },
+ resizable: true,
+ show: null,
+ stack: true,
+ title: '',
+ width: 300,
+ zIndex: 1000,
+
+ // callbacks
+ create: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "dialog", {
- defaults: {
- autoOpen: true,
- buttons: {},
- closeOnEscape: true,
- closeText: 'close',
- disabled: false,
- dialogClass: '',
- draggable: true,
- height: 'auto',
- hide: null,
- maxHeight: false,
- maxWidth: false,
- minHeight: 150,
- minWidth: 150,
- modal: false,
- position: {
- my: 'center',
- at: 'center',
- of: window,
- collision: 'fit',
- using: $.ui.dialog.prototype.options.position.using
- },
- resizable: true,
- show: null,
- stack: true,
- title: '',
- width: 300,
- zIndex: 1000,
-
- // callbacks
- create: null
- }
-});
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
+ <script src="draggable_common.js"></script>
<script src="draggable_core.js"></script>
- <script src="draggable_defaults.js"></script>
<script src="draggable_events.js"></script>
<script src="draggable_methods.js"></script>
<script src="draggable_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "draggable", {
+ defaults: {
+ addClasses: true,
+ appendTo: "parent",
+ axis: false,
+ cancel: ":input,option",
+ connectToSortable: false,
+ containment: false,
+ cursor: "auto",
+ cursorAt: false,
+ delay: 0,
+ disabled: false,
+ distance: 1,
+ grid: false,
+ handle: false,
+ helper: "original",
+ iframeFix: false,
+ opacity: false,
+ refreshPositions: false,
+ revert: false,
+ revertDuration: 500,
+ scroll: true,
+ scrollSensitivity: 20,
+ scrollSpeed: 20,
+ scope: "default",
+ snap: false,
+ snapMode: "both",
+ snapTolerance: 20,
+ stack: false,
+ zIndex: false
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "draggable", {
- defaults: {
- addClasses: true,
- appendTo: "parent",
- axis: false,
- cancel: ":input,option",
- connectToSortable: false,
- containment: false,
- cursor: "auto",
- cursorAt: false,
- delay: 0,
- disabled: false,
- distance: 1,
- grid: false,
- handle: false,
- helper: "original",
- iframeFix: false,
- opacity: false,
- refreshPositions: false,
- revert: false,
- revertDuration: 500,
- scroll: true,
- scrollSensitivity: 20,
- scrollSpeed: 20,
- scope: "default",
- snap: false,
- snapMode: "both",
- snapTolerance: 20,
- stack: false,
- zIndex: false
- }
-});
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
+ <script src="droppable_common.js"></script>
<script src="droppable_core.js"></script>
- <script src="droppable_defaults.js"></script>
<script src="droppable_events.js"></script>
<script src="droppable_methods.js"></script>
<script src="droppable_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "droppable", {
+ defaults: {
+ accept: "*",
+ activeClass: false,
+ addClasses: true,
+ disabled: false,
+ greedy: false,
+ hoverClass: false,
+ scope: "default",
+ tolerance: "intersect"
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "droppable", {
- defaults: {
- accept: "*",
- activeClass: false,
- addClasses: true,
- disabled: false,
- greedy: false,
- hoverClass: false,
- scope: "default",
- tolerance: "intersect"
- }
-});
<script src="../testsuite.js"></script>
<script src="menu_test_helpers.js"></script>
+ <script src="menu_common.js"></script>
<script src="menu_core.js"></script>
- <script src="menu_defaults.js"></script>
<script src="menu_events.js"></script>
<script src="menu_methods.js"></script>
<script src="menu_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "menu", {
+ defaults: {
+ disabled: false,
+ menus: "ul",
+ position: {
+ my: "left top",
+ at: "right top"
+ },
+
+ // callbacks
+ blur: null,
+ create: null,
+ focus: null,
+ select: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "menu", {
- defaults: {
- disabled: false,
- menus: "ul",
- position: {
- my: "left top",
- at: "right top"
- },
-
- // callbacks
- blur: null,
- create: null,
- focus: null,
- select: null
- }
-});
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
+ <script src="progressbar_common.js"></script>
<script src="progressbar_core.js"></script>
- <script src="progressbar_defaults.js"></script>
<script src="progressbar_events.js"></script>
<script src="progressbar_methods.js"></script>
<script src="progressbar_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "progressbar", {
+ defaults: {
+ disabled: false,
+ value: 0,
+ max: 100,
+
+ //callbacks
+ create: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "progressbar", {
- defaults: {
- disabled: false,
- value: 0,
- max: 100,
-
- //callbacks
- create: null
- }
-});
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
+ <script src="resizable_common.js"></script>
<script src="resizable_core.js"></script>
- <script src="resizable_defaults.js"></script>
<script src="resizable_events.js"></script>
<script src="resizable_methods.js"></script>
<script src="resizable_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests('resizable', {
+ defaults: {
+ alsoResize: false,
+ animate: false,
+ animateDuration: 'slow',
+ animateEasing: 'swing',
+ aspectRatio: false,
+ autoHide: false,
+ cancel: ':input,option',
+ containment: false,
+ delay: 0,
+ disabled: false,
+ distance: 1,
+ ghost: false,
+ grid: false,
+ handles: 'e,s,se',
+ helper: false,
+ maxHeight: null,
+ maxWidth: null,
+ minHeight: 10,
+ minWidth: 10,
+ zIndex: 1000,
+
+ // callbacks
+ create: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests('resizable', {
- defaults: {
- alsoResize: false,
- animate: false,
- animateDuration: 'slow',
- animateEasing: 'swing',
- aspectRatio: false,
- autoHide: false,
- cancel: ':input,option',
- containment: false,
- delay: 0,
- disabled: false,
- distance: 1,
- ghost: false,
- grid: false,
- handles: 'e,s,se',
- helper: false,
- maxHeight: null,
- maxWidth: null,
- minHeight: 10,
- minWidth: 10,
- zIndex: 1000,
-
- // callbacks
- create: null
- }
-});
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
+ <script src="selectable_common.js"></script>
<script src="selectable_core.js"></script>
- <script src="selectable_defaults.js"></script>
<script src="selectable_events.js"></script>
<script src="selectable_methods.js"></script>
<script src="selectable_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests('selectable', {
+ defaults: {
+ appendTo: 'body',
+ autoRefresh: true,
+ cancel: ':input,option',
+ delay: 0,
+ disabled: false,
+ distance: 0,
+ filter: '*',
+ tolerance: 'touch'
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests('selectable', {
- defaults: {
- appendTo: 'body',
- autoRefresh: true,
- cancel: ':input,option',
- delay: 0,
- disabled: false,
- distance: 0,
- filter: '*',
- tolerance: 'touch'
- }
-});
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
+ <script src="slider_common.js"></script>
<script src="slider_core.js"></script>
- <script src="slider_defaults.js"></script>
<script src="slider_events.js"></script>
<script src="slider_methods.js"></script>
<script src="slider_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "slider", {
+ defaults: {
+ animate: false,
+ cancel: ':input,option',
+ delay: 0,
+ disabled: false,
+ distance: 0,
+ max: 100,
+ min: 0,
+ orientation: 'horizontal',
+ range: false,
+ step: 1,
+ value: 0,
+ values: null,
+
+ // callbacks
+ create: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "slider", {
- defaults: {
- animate: false,
- cancel: ':input,option',
- delay: 0,
- disabled: false,
- distance: 0,
- max: 100,
- min: 0,
- orientation: 'horizontal',
- range: false,
- step: 1,
- value: 0,
- values: null,
-
- // callbacks
- create: null
- }
-});
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
+ <script src="sortable_common.js"></script>
<script src="sortable_core.js"></script>
- <script src="sortable_defaults.js"></script>
<script src="sortable_events.js"></script>
<script src="sortable_methods.js"></script>
<script src="sortable_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "sortable", {
+ defaults: {
+ appendTo: "parent",
+ axis: false,
+ cancel: ":input,option",
+ connectWith: false,
+ containment: false,
+ cursor: "auto",
+ cursorAt: false,
+ delay: 0,
+ disabled: false,
+ distance: 1,
+ dropOnEmpty: true,
+ forcePlaceholderSize: false,
+ forceHelperSize: false,
+ grid: false,
+ handle: false,
+ helper: "original",
+ items: "> *",
+ opacity: false,
+ placeholder: false,
+ revert: false,
+ scroll: true,
+ scrollSensitivity: 20,
+ scrollSpeed: 20,
+ scope: "default",
+ tolerance: "intersect",
+ zIndex: 1000
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "sortable", {
- defaults: {
- appendTo: "parent",
- axis: false,
- cancel: ":input,option",
- connectWith: false,
- containment: false,
- cursor: "auto",
- cursorAt: false,
- delay: 0,
- disabled: false,
- distance: 1,
- dropOnEmpty: true,
- forcePlaceholderSize: false,
- forceHelperSize: false,
- grid: false,
- handle: false,
- helper: "original",
- items: "> *",
- opacity: false,
- placeholder: false,
- revert: false,
- scroll: true,
- scrollSensitivity: 20,
- scrollSpeed: 20,
- scope: "default",
- tolerance: "intersect",
- zIndex: 1000
- }
-});
<head>
<meta charset="utf-8">
<title>jQuery UI Spinner Test Suite</title>
-
+
<script src="../../jquery.js"></script>
<script src="../../../external/jquery.mousewheel-3.0.4.js"></script>
<script src="../../../external/globalize.js"></script>
<script src="../testsuite.js"></script>
<script src="spinner_test_helpers.js"></script>
+ <script src="spinner_common.js"></script>
<script src="spinner_core.js"></script>
- <script src="spinner_defaults.js"></script>
<script src="spinner_events.js"></script>
<script src="spinner_methods.js"></script>
<script src="spinner_options.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "spinner", {
+ defaults: {
+ culture: null,
+ disabled: false,
+ incremental: true,
+ max: null,
+ min: null,
+ numberFormat: null,
+ page: 10,
+ step: 1,
+
+ // callbacks
+ change: null,
+ create: null,
+ spin: null,
+ start: null,
+ stop: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "spinner", {
- defaults: {
- culture: null,
- disabled: false,
- incremental: true,
- max: null,
- min: null,
- numberFormat: null,
- page: 10,
- step: 1,
-
- // callbacks
- change: null,
- create: null,
- spin: null,
- start: null,
- stop: null
- }
-});
<script src="../testsuite.js"></script>
<script src="tabs_test_helpers.js"></script>
- <script src="tabs_defaults.js"></script>
+ <script src="tabs_common.js"></script>
<script src="tabs_core.js"></script>
<script src="tabs_events.js"></script>
<script src="tabs_methods.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "tabs", {
+ defaults: {
+ active: null,
+ collapsible: false,
+ disabled: false,
+ event: "click",
+ fx: null,
+
+ // callbacks
+ activate: null,
+ beforeActivate: null,
+ beforeLoad: null,
+ create: null,
+ load: null
+ }
+});
--- /dev/null
+TestHelpers.commonWidgetTests( "tabs", {
+ defaults: {
+ active: null,
+ ajaxOptions: null,
+ cache: false,
+ collapsible: false,
+ cookie: null,
+ disabled: false,
+ event: "click",
+ fx: null,
+ idPrefix: "ui-tabs-",
+ panelTemplate: "<div></div>",
+ spinner: "<em>Loading…</em>",
+ tabTemplate: "<li><a href='#{href}'><span>#{label}</span></a></li>",
+
+ // callbacks
+ activate: null,
+ add: null,
+ beforeActivate: null,
+ beforeLoad: null,
+ create: null,
+ disable: null,
+ enable: null,
+ load: null,
+ remove: null,
+ select: null,
+ show: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "tabs", {
- defaults: {
- active: null,
- collapsible: false,
- disabled: false,
- event: "click",
- fx: null,
-
- // callbacks
- activate: null,
- beforeActivate: null,
- beforeLoad: null,
- create: null,
- load: null
- }
-});
+++ /dev/null
-TestHelpers.commonWidgetTests( "tabs", {
- defaults: {
- active: null,
- ajaxOptions: null,
- cache: false,
- collapsible: false,
- cookie: null,
- disabled: false,
- event: "click",
- fx: null,
- idPrefix: "ui-tabs-",
- panelTemplate: "<div></div>",
- spinner: "<em>Loading…</em>",
- tabTemplate: "<li><a href='#{href}'><span>#{label}</span></a></li>",
-
- // callbacks
- activate: null,
- add: null,
- beforeActivate: null,
- beforeLoad: null,
- create: null,
- disable: null,
- enable: null,
- load: null,
- remove: null,
- select: null,
- show: null
- }
-});
<script src="../testsuite.js"></script>
<script src="tabs_test_helpers.js"></script>
- <script src="tabs_defaults_deprecated.js"></script>
+ <script src="tabs_common_deprecated.js"></script>
<script src="tabs_core.js"></script>
<script src="tabs_events.js"></script>
<script src="tabs_methods.js"></script>
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
- <script src="tooltip_defaults.js"></script>
+ <script src="tooltip_common.js"></script>
<script src="tooltip_core.js"></script>
<script src="tooltip_events.js"></script>
<script src="tooltip_methods.js"></script>
--- /dev/null
+TestHelpers.commonWidgetTests( "tooltip", {
+ defaults: {
+ content: function() {},
+ disabled: false,
+ hide: true,
+ items: "[title]",
+ position: {
+ my: "left+15 center",
+ at: "right center",
+ collision: "flipfit flipfit"
+ },
+ show: true,
+ tooltipClass: null,
+
+ // callbacks
+ close: null,
+ create: null,
+ open: null
+ }
+});
+++ /dev/null
-TestHelpers.commonWidgetTests( "tooltip", {
- defaults: {
- content: function() {},
- disabled: false,
- hide: true,
- items: "[title]",
- position: {
- my: "left+15 center",
- at: "right center",
- collision: "flipfit flipfit"
- },
- show: true,
- tooltipClass: null,
-
- // callbacks
- close: null,
- create: null,
- open: null
- }
-});