diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-22 12:05:03 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-22 12:05:03 (GMT) |
commit | e3994b506c21b9967248ea404cfdfef82060c13e (patch) | |
tree | d18d98db738838d734447519467f78daf4470f81 /tests | |
parent | 27e5a1f9542b03a6930f002e8d7dafd97cf88a1a (diff) | |
download | Qt-e3994b506c21b9967248ea404cfdfef82060c13e.zip Qt-e3994b506c21b9967248ea404cfdfef82060c13e.tar.gz Qt-e3994b506c21b9967248ea404cfdfef82060c13e.tar.bz2 |
Show text even if maximum == 0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qprogressbar/tst_qprogressbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qprogressbar/tst_qprogressbar.cpp b/tests/auto/qprogressbar/tst_qprogressbar.cpp index 452250c..911d6b7 100644 --- a/tests/auto/qprogressbar/tst_qprogressbar.cpp +++ b/tests/auto/qprogressbar/tst_qprogressbar.cpp @@ -236,7 +236,7 @@ void tst_QProgressBar::formatedText_data() QTest::addColumn<QString>("text"); QTest::newRow("1") << -100 << 100 << 0 << QString::fromLatin1(" %p - %v - %m ") << QString::fromLatin1(" 50 - 0 - 200 "); -// QTest::newRow("2") << -100 << 0 << -25 << QString::fromLatin1(" %p - %v - %m ") << QString::fromLatin1(" 75 - -25 - 100 "); + QTest::newRow("2") << -100 << 0 << -25 << QString::fromLatin1(" %p - %v - %m ") << QString::fromLatin1(" 75 - -25 - 100 "); QTest::newRow("3") << 10 << 10 << 10 << QString::fromLatin1(" %p - %v - %m ") << QString::fromLatin1(" 100 - 10 - 0 "); QTest::newRow("task152227") << INT_MIN << INT_MAX << 42 << QString::fromLatin1(" %p - %v - %m ") << QString::fromLatin1(" 50 - 42 - 4294967295 "); } |