summaryrefslogtreecommitdiffstats
path: root/tests/auto/unit/qaudioformat
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-10-30 16:35:33 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-20 11:12:54 +0100
commit41d41ceb4a97f3e3e2c6aef1f728982098913cec (patch)
tree33decb8db16487bbffd65bc2d7446e018103bd8c /tests/auto/unit/qaudioformat
parent3da68ff8f2947e2af9338890289d2e19a2c19caf (diff)
Fix autotests expecting a trailing whitespace for qDebug stream
The behavior of QDebug was fixed in qtbase. Update autotests accordingly. Change-Id: I0bbd1b52958c24710f877224158fa30f082941b8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests/auto/unit/qaudioformat')
-rw-r--r--tests/auto/unit/qaudioformat/tst_qaudioformat.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/unit/qaudioformat/tst_qaudioformat.cpp b/tests/auto/unit/qaudioformat/tst_qaudioformat.cpp
index ee1651304..428cea5ef 100644
--- a/tests/auto/unit/qaudioformat/tst_qaudioformat.cpp
+++ b/tests/auto/unit/qaudioformat/tst_qaudioformat.cpp
@@ -323,7 +323,7 @@ void tst_QAudioFormat::debugOperator_data()
// A small sampling
QAudioFormat f;
- QTest::newRow("plain") << f << QString::fromLatin1("QAudioFormat(-1Hz, -1bit, channelCount=-1, sampleType=Unknown, byteOrder=LittleEndian, codec=\"\") ");
+ QTest::newRow("plain") << f << QString::fromLatin1("QAudioFormat(-1Hz, -1bit, channelCount=-1, sampleType=Unknown, byteOrder=LittleEndian, codec=\"\")");
f.setSampleRate(22050);
f.setByteOrder(QAudioFormat::LittleEndian);
@@ -331,16 +331,16 @@ void tst_QAudioFormat::debugOperator_data()
f.setCodec("audio/pcm");
f.setSampleType(QAudioFormat::Float);
- QTest::newRow("float") << f << QString::fromLatin1("QAudioFormat(22050Hz, -1bit, channelCount=4, sampleType=Float, byteOrder=LittleEndian, codec=\"audio/pcm\") ");
+ QTest::newRow("float") << f << QString::fromLatin1("QAudioFormat(22050Hz, -1bit, channelCount=4, sampleType=Float, byteOrder=LittleEndian, codec=\"audio/pcm\")");
f.setSampleType(QAudioFormat::UnSignedInt);
- QTest::newRow("unsigned") << f << QString::fromLatin1("QAudioFormat(22050Hz, -1bit, channelCount=4, sampleType=UnSignedInt, byteOrder=LittleEndian, codec=\"audio/pcm\") ");
+ QTest::newRow("unsigned") << f << QString::fromLatin1("QAudioFormat(22050Hz, -1bit, channelCount=4, sampleType=UnSignedInt, byteOrder=LittleEndian, codec=\"audio/pcm\")");
f.setSampleRate(44100);
- QTest::newRow("44.1 unsigned") << f << QString::fromLatin1("QAudioFormat(44100Hz, -1bit, channelCount=4, sampleType=UnSignedInt, byteOrder=LittleEndian, codec=\"audio/pcm\") ");
+ QTest::newRow("44.1 unsigned") << f << QString::fromLatin1("QAudioFormat(44100Hz, -1bit, channelCount=4, sampleType=UnSignedInt, byteOrder=LittleEndian, codec=\"audio/pcm\")");
f.setByteOrder(QAudioFormat::BigEndian);
- QTest::newRow("44.1 big unsigned") << f << QString::fromLatin1("QAudioFormat(44100Hz, -1bit, channelCount=4, sampleType=UnSignedInt, byteOrder=BigEndian, codec=\"audio/pcm\") ");
+ QTest::newRow("44.1 big unsigned") << f << QString::fromLatin1("QAudioFormat(44100Hz, -1bit, channelCount=4, sampleType=UnSignedInt, byteOrder=BigEndian, codec=\"audio/pcm\")");
}
void tst_QAudioFormat::debugOperator()