aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-09-30 14:05:25 +0200
committerMitch Curtis <mitch.curtis@qt.io>2020-10-07 13:31:08 +0200
commit280b7526d41244912ce89d3be1e3d47329453658 (patch)
tree51a2ee067095293378790b827dc6d337a33ee25a
parentb3e52654506ea4d97bc7431a24506ad0d00510c3 (diff)
tst_designer: fix data tags
Use the actual type name instead of "type". Change-Id: I081e226a2a6cda1dd5e5cf976629ceb63a9b8db1 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r--tests/auto/designer/tst_designer.cpp56
1 files changed, 28 insertions, 28 deletions
diff --git a/tests/auto/designer/tst_designer.cpp b/tests/auto/designer/tst_designer.cpp
index ed02b49b..64a27858 100644
--- a/tests/auto/designer/tst_designer.cpp
+++ b/tests/auto/designer/tst_designer.cpp
@@ -126,34 +126,34 @@ void tst_Designer::test_controls_data()
{
QTest::addColumn<QString>("type");
- QTest::newRow("type") << "SpinBox";
- QTest::newRow("type") << "Switch";
- QTest::newRow("type") << "ComboBox";
- QTest::newRow("type") << "CheckBox";
- QTest::newRow("type") << "Button";
- QTest::newRow("type") << "DelayButton";
- QTest::newRow("type") << "Dial";
- QTest::newRow("type") << "Frame";
- QTest::newRow("type") << "GroupBox";
- QTest::newRow("type") << "Label";
- QTest::newRow("type") << "Page";
- QTest::newRow("type") << "Pane";
- QTest::newRow("type") << "ProgressBar";
- QTest::newRow("type") << "RadioButton";
- QTest::newRow("type") << "RangeSlider";
- QTest::newRow("type") << "RoundButton";
- QTest::newRow("type") << "ScrollView";
- QTest::newRow("type") << "Slider";
- QTest::newRow("type") << "StackView";
- QTest::newRow("type") << "SwipeView";
- QTest::newRow("type") << "Switch";
- QTest::newRow("type") << "TabBar";
- QTest::newRow("type") << "TabButton";
- QTest::newRow("type") << "TextArea";
- QTest::newRow("type") << "TextField";
- QTest::newRow("type") << "ToolBar";
- QTest::newRow("type") << "ToolButton";
- QTest::newRow("type") << "Tumbler";
+ QTest::newRow("Button") << "Button";
+ QTest::newRow("CheckBox") << "CheckBox";
+ QTest::newRow("ComboBox") << "ComboBox";
+ QTest::newRow("DelayButton") << "DelayButton";
+ QTest::newRow("Dial") << "Dial";
+ QTest::newRow("Frame") << "Frame";
+ QTest::newRow("GroupBox") << "GroupBox";
+ QTest::newRow("Label") << "Label";
+ QTest::newRow("Page") << "Page";
+ QTest::newRow("Pane") << "Pane";
+ QTest::newRow("ProgressBar") << "ProgressBar";
+ QTest::newRow("RadioButton") << "RadioButton";
+ QTest::newRow("RangeSlider") << "RangeSlider";
+ QTest::newRow("RoundButton") << "RoundButton";
+ QTest::newRow("ScrollView") << "ScrollView";
+ QTest::newRow("Slider") << "Slider";
+ QTest::newRow("SpinBox") << "SpinBox";
+ QTest::newRow("StackView") << "StackView";
+ QTest::newRow("SwipeView") << "SwipeView";
+ QTest::newRow("Switch") << "Switch";
+ QTest::newRow("Switch") << "Switch";
+ QTest::newRow("TabBar") << "TabBar";
+ QTest::newRow("TabButton") << "TabButton";
+ QTest::newRow("TextArea") << "TextArea";
+ QTest::newRow("TextField") << "TextField";
+ QTest::newRow("ToolBar") << "ToolBar";
+ QTest::newRow("ToolButton") << "ToolButton";
+ QTest::newRow("Tumbler") << "Tumbler";
}
QTEST_MAIN(tst_Designer)