aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/progressbar/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/progressbar/common.js')
-rw-r--r--tests/unit/progressbar/common.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/unit/progressbar/common.js b/tests/unit/progressbar/common.js
new file mode 100644
index 000000000..c949f136f
--- /dev/null
+++ b/tests/unit/progressbar/common.js
@@ -0,0 +1,24 @@
+define( [
+ "lib/common",
+ "ui/progressbar"
+], function( common ) {
+
+common.testWidget( "progressbar", {
+ defaults: {
+ classes: {
+ "ui-progressbar": "ui-corner-all",
+ "ui-progressbar-value": "ui-corner-left",
+ "ui-progressbar-complete": "ui-corner-right"
+ },
+ disabled: false,
+ max: 100,
+ value: 0,
+
+ //callbacks
+ change: null,
+ complete: null,
+ create: null
+ }
+});
+
+} );