aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip/common-deprecated.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/tooltip/common-deprecated.js')
-rw-r--r--tests/unit/tooltip/common-deprecated.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/unit/tooltip/common-deprecated.js b/tests/unit/tooltip/common-deprecated.js
new file mode 100644
index 000000000..d32e7656d
--- /dev/null
+++ b/tests/unit/tooltip/common-deprecated.js
@@ -0,0 +1,31 @@
+define( [
+ "lib/common",
+ "ui/tooltip"
+], function( common ) {
+
+common.testWidget( "tooltip", {
+ defaults: {
+ classes: {
+ "ui-tooltip": "ui-corner-all ui-widget-shadow"
+ },
+ content: function() {},
+ disabled: false,
+ hide: true,
+ items: "[title]:not([disabled])",
+ position: {
+ my: "left top+15",
+ at: "left bottom",
+ collision: "flipfit flip"
+ },
+ show: true,
+ tooltipClass: null,
+ track: false,
+
+ // callbacks
+ close: null,
+ create: null,
+ open: null
+ }
+});
+
+} );