aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/objectcount/tst_objectcount.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-10-08 12:48:06 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-10-14 11:58:33 +0000
commit090db511a36464c78f11df3b6596a56f09986951 (patch)
tree389bf7e9b04fa6cf7dfbc035e9568b98cf7b8e44 /tests/benchmarks/objectcount/tst_objectcount.cpp
parentb5b6fc732bb7a09996c06b1df3b71cf2548b0d7c (diff)
Add RangeSlider
This is basically Slider, except with two handles. It's used to specify a range of values. Task-number: QTBUG-48667 Change-Id: Ib4f9afe5dc8343e307610943d338a2b574a01e4d Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'tests/benchmarks/objectcount/tst_objectcount.cpp')
-rw-r--r--tests/benchmarks/objectcount/tst_objectcount.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/benchmarks/objectcount/tst_objectcount.cpp b/tests/benchmarks/objectcount/tst_objectcount.cpp
index 7d419c81..3b5db87d 100644
--- a/tests/benchmarks/objectcount/tst_objectcount.cpp
+++ b/tests/benchmarks/objectcount/tst_objectcount.cpp
@@ -189,6 +189,10 @@ void tst_ObjectCount::testCount_data()
<< QByteArray("import QtQuick.Controls 1.3; RadioButton { }")
<< QByteArray("import Qt.labs.controls 1.0; RadioButton { }");
+ QTest::newRow("RangeSlider")
+ << QByteArray()
+ << QByteArray("import Qt.labs.controls 1.0; RangeSlider { }");
+
QTest::newRow("ScrollView")
<< QByteArray("import QtQuick.Controls 1.3; ScrollView { }")
<< QByteArray();