summaryrefslogtreecommitdiffstats
path: root/tests/auto/qprogressbar
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-22 14:05:03 +0200
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-22 14:05:03 +0200
commite3994b506c21b9967248ea404cfdfef82060c13e (patch)
treed18d98db738838d734447519467f78daf4470f81 /tests/auto/qprogressbar
parent27e5a1f9542b03a6930f002e8d7dafd97cf88a1a (diff)
Show text even if maximum == 0
Diffstat (limited to 'tests/auto/qprogressbar')
-rw-r--r--tests/auto/qprogressbar/tst_qprogressbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qprogressbar/tst_qprogressbar.cpp b/tests/auto/qprogressbar/tst_qprogressbar.cpp
index 452250c496..911d6b7fcb 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 ");
}