Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-87663

tst_QDateTime has failing tests on Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.1
    • Component/s: Core: Date/Time
    • Labels:
      None
    • Platform/s:
      Android

      Description

      tst_QDateTime has some failing tests on Android

      FAIL!  : tst_QDateTime::fromStringStringFormat(invalid-offset-from-utc:single-digit-format) Compared values are not the same
         Actual   (dt)      : 2001/09/15 09:33:01.001[UTC]
         Expected (expected): Invalid QDateTime
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(2798)]
      FAIL!  : tst_QDateTime::fromStringStringFormat(invalid-offset-from-utc:symbol-in-hours) Compared values are not the same
         Actual   (dt)      : 2001/09/15 09:33:01.001[UTC]
         Expected (expected): Invalid QDateTime
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(2798)]
      FAIL!  : tst_QDateTime::fromStringStringFormat(invalid-offset-from-utc:starts-with-colon) Compared values are not the same
         Actual   (dt)      : 2008/10/13 11:50:00.000[UTC]
         Expected (expected): Invalid QDateTime
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(2798)]
      FAIL!  : tst_QDateTime::fromStringStringFormat(invalid-offset-from-utc:empty-offset) Compared values are not the same
         Actual   (dt)      : 2008/10/13 11:50:00.000[UTC]
         Expected (expected): Invalid QDateTime
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(2798)]
      FAIL!  : tst_QDateTime::fromStringStringFormat(invalid-time-spec:random-digit) Compared values are not the same
         Actual   (dt)      : 2001/09/15 09:33:01.001[GMT+00:00]
         Expected (expected): Invalid QDateTime
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(2798)]
      SKIP   : tst_QDateTime::offsetFromUtc() You must test using Central European (CET/CEST) time zone, e.g. TZ=Europe/Oslo
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(2875)]
      QDEBUG : tst_QDateTime::timeZoneAbbreviation() (Skipped some CET-only tests)
      SKIP   : tst_QDateTime::isDaylightTime() You must test using Central European (CET/CEST) time zone, e.g. TZ=Europe/Oslo
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(3201)]
      SKIP   : tst_QDateTime::daylightTransitions() You must test using Central European (CET/CEST) time zone, e.g. TZ=Europe/Oslo
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(3563)]
      FAIL!  : tst_QDateTime::timeZones() Compared values are not the same
         Actual   (invalidTz.isValid()): 1
         Expected (false)              : 0
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(3571)]
      FAIL!  : tst_QDateTime::systemTimeZoneChange() 'localMsecs != localDate.toMSecsSinceEpoch()' returned FALSE. ()
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(3793)]
      SKIP   : tst_QDateTime::macTypes() This is a Apple-only test
         Loc: [/home/assam/sources/qt5/qt5/qtbase/tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp(3871)]
      Totals: 557 passed, 7 failed, 31 skipped, 0 blacklisted, 821ms
      ********* Finished testing of tst_QDateTime *********
      Makefile:443: recipe for target 'check' failed
      make[2]: Leaving directory '/media/assam/Uusi_asema/Qt-dev/tests/qtbase/auto/corelib/time/qdatetime'
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              Eddy Edward Welbourne
              Reporter:
              assam Assam Boudjelthia
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes