AutoTest: Polish framework settingspages

Change-Id: If39e157c499b7ee9454d61de39ce2b360a109a94
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2016-10-11 11:18:38 +02:00
parent dd647b4236
commit 389ef1cc99
2 changed files with 53 additions and 112 deletions

View File

@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>397</width> <width>449</width>
<height>205</height> <height>210</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@@ -17,16 +17,8 @@
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QCheckBox" name="runDisabledGTestsCB"> <layout class="QGridLayout" name="gridLayout">
<property name="toolTip"> <item row="1" column="0">
<string>Executes disabled tests when performing a test run.</string>
</property>
<property name="text">
<string>Run disabled tests</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="breakOnFailureCB"> <widget class="QCheckBox" name="breakOnFailureCB">
<property name="toolTip"> <property name="toolTip">
<string>Turn failures into debugger breakpoints.</string> <string>Turn failures into debugger breakpoints.</string>
@@ -39,35 +31,30 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2"> <widget class="QCheckBox" name="runDisabledGTestsCB">
<item>
<widget class="QCheckBox" name="repeatGTestsCB">
<property name="toolTip"> <property name="toolTip">
<string>Repeats a test run (you might be required to increase the timeout to avoid canceling the tests).</string> <string>Executes disabled tests when performing a test run.</string>
</property> </property>
<property name="text"> <property name="text">
<string>Repeat tests</string> <string>Run disabled tests</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="4" column="0">
<spacer name="horizontalSpacer_2"> <widget class="QCheckBox" name="throwOnFailureCB">
<property name="orientation"> <property name="toolTip">
<enum>Qt::Horizontal</enum> <string>Turn assertion failures into C++ exceptions.</string>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="text">
<size> <string>Throw on failure</string>
<width>40</width>
<height>20</height>
</size>
</property> </property>
</spacer> </widget>
</item> </item>
<item> <item row="2" column="1">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@@ -77,7 +64,27 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="3" column="0">
<widget class="QCheckBox" name="shuffleGTestsCB">
<property name="toolTip">
<string>Shuffle tests automatically on every iteration by the given seed.</string>
</property>
<property name="text">
<string>Shuffle tests</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="repeatGTestsCB">
<property name="toolTip">
<string>Repeats a test run (you might be required to increase the timeout to avoid canceling the tests).</string>
</property>
<property name="text">
<string>Repeat tests</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QSpinBox" name="repetitionSpin"> <widget class="QSpinBox" name="repetitionSpin">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
@@ -90,50 +97,10 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="3" column="1">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QCheckBox" name="shuffleGTestsCB">
<property name="toolTip">
<string>Shuffle tests automatically on every iteration by the given seed.</string>
</property>
<property name="text">
<string>Shuffle tests</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@@ -143,7 +110,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="3" column="2">
<widget class="QSpinBox" name="seedSpin"> <widget class="QSpinBox" name="seedSpin">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
@@ -159,31 +126,8 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item> </item>
<item>
<widget class="QCheckBox" name="throwOnFailureCB">
<property name="toolTip">
<string>Turn assertion failures into C++ exceptions.</string>
</property>
<property name="text">
<string>Throw on failure</string>
</property>
</widget>
</item>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">

View File

@@ -36,9 +36,6 @@
<property name="title"> <property name="title">
<string>Benchmark Metrics</string> <string>Benchmark Metrics</string>
</property> </property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<item> <item>
<widget class="QRadioButton" name="walltimeRB"> <widget class="QRadioButton" name="walltimeRB">