Commit 2fa96f4c authored by Elvis Angelaccio's avatar Elvis Angelaccio

Add expected failures for timestamp tests

They started to fail since Qt 5.11:

    FAIL!  : Cli7zTest::testList(normal-file-9381) Compared values are not the same
       Actual   (entry->property("timestamp").toString()): "2015-05-17T19:41:48.000"
       Expected (expectedTimestamp)                      : "2015-05-17T19:41:48"

Something about datetime formats probably changed in Qt 5.11.

Task: T8144
parent 65966f41
......@@ -233,6 +233,9 @@ void Cli7zTest::testList()
QCOMPARE(entry->property("size").toULongLong(), expectedSize);
QFETCH(QString, expectedTimestamp);
#if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0)
QEXPECT_FAIL("", "Something changed since Qt 5.11, needs investigation.", Continue);
#endif
QCOMPARE(entry->property("timestamp").toString(), expectedTimestamp);
plugin->deleteLater();
......
......@@ -272,6 +272,9 @@ void CliRarTest::testList()
QCOMPARE(entry->property("compressedSize").toULongLong(), expectedCompressedSize);
QFETCH(QString, expectedTimestamp);
#if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0)
QEXPECT_FAIL("", "Something changed since Qt 5.11, needs investigation.", Continue);
#endif
QCOMPARE(entry->property("timestamp").toString(), expectedTimestamp);
rarPlugin->deleteLater();
......
......@@ -176,6 +176,9 @@ void CliUnarchiverTest::testList()
QCOMPARE(entry->property("compressedSize").toULongLong(), expectedCompressedSize);
QFETCH(QString, expectedTimestamp);
#if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0)
QEXPECT_FAIL("", "Something changed since Qt 5.11, needs investigation.", Continue);
#endif
QCOMPARE(entry->property("timestamp").toString(), expectedTimestamp);
plugin->deleteLater();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment