aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-12-21 11:50:06 +0100
committerMitch Curtis <mitch.curtis@theqtcompany.com>2016-01-06 11:31:08 +0000
commita757e8ca0a6f7bb628ac7a57cafa9f0ba5167d51 (patch)
treecfc8f8b8bf62b4562ecb409b4550d9dbfbeebace /tests
parent8656d9f0c326520fec896b09ed717eef502ebd7b (diff)
Implement default ProgressBar according to designs
Change-Id: I7f973deec7453c4b80c03b3dc063f4d0dbe850c5 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/controls/data/tst_progressbar.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_progressbar.qml b/tests/auto/controls/data/tst_progressbar.qml
index d5ee3e52..086d9ad4 100644
--- a/tests/auto/controls/data/tst_progressbar.qml
+++ b/tests/auto/controls/data/tst_progressbar.qml
@@ -181,4 +181,19 @@ TestCase {
control.destroy()
}
+
+ function test_indeterminate() {
+ skip("skipping until https://codereview.qt-project.org/#/c/145140/ is merged")
+ var control = progressBar.createObject(testCase)
+ verify(control)
+ compare(control.indeterminate, false)
+
+ wait(100)
+ control.indeterminate = true
+ wait(100)
+ // Shouldn't crash...
+ control.indeterminate = false
+
+ control.destroy()
+ }
}