aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/checkboxradio/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/checkboxradio/common.js')
-rw-r--r--tests/unit/checkboxradio/common.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/unit/checkboxradio/common.js b/tests/unit/checkboxradio/common.js
new file mode 100644
index 000000000..6a739435f
--- /dev/null
+++ b/tests/unit/checkboxradio/common.js
@@ -0,0 +1,22 @@
+define( [
+ "lib/common",
+ "ui/checkboxradio"
+], function( common ) {
+
+common.testWidget( "checkboxradio", {
+ noDefaultElement: true,
+ defaults: {
+ disabled: null,
+ label: null,
+ icon: true,
+ classes: {
+ "ui-checkboxradio-label": "ui-corner-all",
+ "ui-checkboxradio-icon": "ui-corner-all"
+ },
+
+ // Callbacks
+ create: null
+ }
+});
+
+} );