Fix whitespace issue in the QVideoFrame auto test.
authorChristian Strømme <christian.stromme@digia.com>
Fri, 3 Jan 2014 15:43:55 +0000 (16:43 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 7 Jan 2014 11:38:45 +0000 (12:38 +0100)
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 <yoann.lopes@digia.com>
tests/auto/unit/qvideoframe/tst_qvideoframe.cpp

index 5523f29..c7dbfbe 100644 (file)
@@ -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()