From: Christian Strømme Date: Fri, 3 Jan 2014 15:43:55 +0000 (+0100) Subject: Fix whitespace issue in the QVideoFrame auto test. X-Git-Tag: upstream/5.2.95+rc1~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4050cdf66d06c5492f3459f8cd4defa1bf434f7e;p=platform%2Fupstream%2Fqtmultimedia.git Fix whitespace issue in the QVideoFrame auto test. The test was failing because it was expecting a trailing whitespace directly after the serialization of the meta-data map. Change-Id: I62aa022492c721d408d23a98e8a3cfa173f45e68 Reviewed-by: Yoann Lopes --- diff --git a/tests/auto/unit/qvideoframe/tst_qvideoframe.cpp b/tests/auto/unit/qvideoframe/tst_qvideoframe.cpp index 5523f29..c7dbfbe 100644 --- a/tests/auto/unit/qvideoframe/tst_qvideoframe.cpp +++ b/tests/auto/unit/qvideoframe/tst_qvideoframe.cpp @@ -1108,7 +1108,7 @@ void tst_QVideoFrame::debug_data() QVideoFrame g7(0, QSize(320,240), 640, QVideoFrame::Format_ARGB32); g7.setStartTime(9000000000LL); g7.setMetaData("bar", 42); - QTest::newRow("more valid for long forever + metadata") << g7 << QString::fromLatin1("QVideoFrame(QSize(320, 240) , Format_ARGB32, NoHandle, NotMapped, 2:30:00.00 - forever, metaData: QMap((\"bar\", QVariant(int, 42) ) ) )"); + QTest::newRow("more valid for long forever + metadata") << g7 << QString::fromLatin1("QVideoFrame(QSize(320, 240) , Format_ARGB32, NoHandle, NotMapped, 2:30:00.00 - forever, metaData: QMap((\"bar\", QVariant(int, 42) ) ) )"); } void tst_QVideoFrame::debug()