aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/selectmenu/common.js')
-rw-r--r--tests/unit/selectmenu/common.js34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/unit/selectmenu/common.js b/tests/unit/selectmenu/common.js
new file mode 100644
index 000000000..b24b8dace
--- /dev/null
+++ b/tests/unit/selectmenu/common.js
@@ -0,0 +1,34 @@
+define( [
+ "lib/common",
+ "ui/selectmenu"
+], function( common ) {
+
+common.testWidget( "selectmenu", {
+ defaults: {
+ appendTo: null,
+ classes: {
+ "ui-selectmenu-button-open": "ui-corner-top",
+ "ui-selectmenu-button-closed": "ui-corner-all"
+ },
+ disabled: null,
+ icons: {
+ button: "ui-icon-triangle-1-s"
+ },
+ position: {
+ my: "left top",
+ at: "left bottom",
+ collision: "none"
+ },
+ width: false,
+
+ // callbacks
+ change: null,
+ close: null,
+ create: null,
+ focus: null,
+ open: null,
+ select: null
+ }
+});
+
+} );