aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/controlgroup/common.js
blob: 4dc86afbd2b39aacc305daa84c8181a3335e85ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
define( [
	"lib/common",
	"ui/widgets/controlgroup",
	"ui/widgets/checkboxradio",
	"ui/widgets/selectmenu",
	"ui/widgets/button"
], function( common ) {

common.testWidget( "controlgroup", {
	defaults: {
		disabled: null,
		items: {
			"button": "input[type=button], input[type=submit], input[type=reset], button, a",
			"checkboxradio": "input[type='checkbox'], input[type='radio']",
			"selectmenu": "select",
			"spinner": ".ui-spinner-input",
			"controlgroupLabel": ".ui-controlgroup-label"
		},
		direction: "horizontal",
		excludeInvisible: true,
		classes: {},

		// Callbacks
		create: null
	}
});

} );