\brief SpinBoxTest::numberSpinBoxDecimals Check that application shows the correct value, even decimals is set to zero
| 1045 | // \brief SpinBoxTest::numberSpinBoxDecimals |
| 1046 | // Check that application shows the correct value, even decimals is set to zero |
| 1047 | void SpinBoxTest::numberSpinBoxDecimals2() { |
| 1048 | NumberSpinBox sb; |
| 1049 | sb.setMinimum(-10); |
| 1050 | sb.setDecimals(0); |
| 1051 | sb.setValue(-1); |
| 1052 | QCOMPARE(sb.lineEdit()->text(), QStringLiteral("-1")); |
| 1053 | } |
| 1054 | |
| 1055 | void SpinBoxTest::numberSpinBoxScrollingNegToPos() { |
| 1056 | NumberSpinBox sb; |
nothing calls this directly
no test coverage detected