Rename some tst_QTextStream::manipulators() data rows
Two rows named "hex" were a collision we should avoid. The two "showpos" rows could be better distinguished. Change-Id: I43727041eb00e6883ce8b34b346de5e2a63f1a34 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
16732e368a
commit
691de7f696
@ -2661,16 +2661,16 @@ void tst_QTextStream::manipulators_data()
|
||||
QTest::newRow("leftadjust")
|
||||
<< 10 << int(QTextStream::AlignLeft) << 0 << 10 << 5.0 << 5 << QString("five")
|
||||
<< QByteArray("5 5 five ");
|
||||
QTest::newRow("showpos")
|
||||
QTest::newRow("showpos-wide")
|
||||
<< 10 << int(QTextStream::AlignRight) << int(QTextStream::ForceSign) << 10 << 5.0 << 5 <<
|
||||
QString("five") << QByteArray(" +5 +5 five");
|
||||
QTest::newRow("showpos2")
|
||||
QTest::newRow("showpos-pi")
|
||||
<< 10 << int(QTextStream::AlignRight) << int(QTextStream::ForceSign) << 5 << 3.14 << -5 <<
|
||||
QString("five") << QByteArray("+3.14 -5 five");
|
||||
QTest::newRow("hex")
|
||||
QTest::newRow("hex-lower")
|
||||
<< 16 << int(QTextStream::AlignRight) << int(QTextStream::ShowBase) << 5 << 3.14 << -5 <<
|
||||
QString("five") << QByteArray(" 3.14 -0x5 five");
|
||||
QTest::newRow("hex")
|
||||
QTest::newRow("hex-upper")
|
||||
<< 16 << int(QTextStream::AlignRight)
|
||||
<< int(QTextStream::ShowBase | QTextStream::UppercaseBase)
|
||||
<< 5 << 3.14 << -5 << QString("five") << QByteArray(" 3.14 -0X5 five");
|
||||
|
Loading…
Reference in New Issue
Block a user