aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/resizable/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/resizable/common.js')
-rw-r--r--tests/unit/resizable/common.js40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/unit/resizable/common.js b/tests/unit/resizable/common.js
new file mode 100644
index 000000000..822a4db87
--- /dev/null
+++ b/tests/unit/resizable/common.js
@@ -0,0 +1,40 @@
+define( [
+ "lib/common",
+ "ui/resizable"
+], function( common ) {
+
+common.testWidget( "resizable", {
+ defaults: {
+ alsoResize: false,
+ animate: false,
+ animateDuration: "slow",
+ animateEasing: "swing",
+ aspectRatio: false,
+ autoHide: false,
+ cancel: "input, textarea, button, select, option",
+ classes: {
+ "ui-resizable-se": "ui-icon ui-icon-gripsmall-diagonal-se"
+ },
+ 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: 90,
+
+ // callbacks
+ create: null,
+ resize: null,
+ start: null,
+ stop: null
+ }
+});
+
+} );