katie/tests/auto
Ivailo Monev 75589486a3 add support for BLAKE2b and BLAKE2s hash sums
benchmark results:
********* Start testing of tst_qcryptographichash *********
Config: Using QTest library 4.12.0, Katie 4.12.0
PASS  : tst_qcryptographichash::initTestCase()
RESULT   : tst_qcryptographichash::append():"10 (Md5)":
     0.00275 msecs per iteration (total: 551, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"100 (Md5)":
     0.000625 msecs per iteration (total: 125, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"250 (Md5)":
     0.000570 msecs per iteration (total: 114, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"500 (Md5)":
     0.000550 msecs per iteration (total: 110, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"10 (Sha1)":
     0.00327 msecs per iteration (total: 655, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"100 (Sha1)":
     0.00106 msecs per iteration (total: 212, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"250 (Sha1)":
     0.00131 msecs per iteration (total: 262, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"500 (Sha1)":
     0.00133 msecs per iteration (total: 267, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"10 (Sha256)":
     0.00467 msecs per iteration (total: 934, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"100 (Sha256)":
     0.000895 msecs per iteration (total: 179, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"250 (Sha256)":
     0.000850 msecs per iteration (total: 170, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"500 (Sha256)":
     0.000825 msecs per iteration (total: 165, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"10 (Sha512)":
     0.00361 msecs per iteration (total: 723, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"100 (Sha512)":
     0.00105 msecs per iteration (total: 211, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"250 (Sha512)":
     0.000995 msecs per iteration (total: 199, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"500 (Sha512)":
     0.000980 msecs per iteration (total: 196, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"10 (BLAKE2b)":
     0.00278 msecs per iteration (total: 557, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"100 (BLAKE2b)":
     0.000740 msecs per iteration (total: 148, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"250 (BLAKE2b)":
     0.000690 msecs per iteration (total: 138, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"500 (BLAKE2b)":
     0.000650 msecs per iteration (total: 130, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"10 (BLAKE2s)":
     0.00335 msecs per iteration (total: 670, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"100 (BLAKE2s)":
     0.000645 msecs per iteration (total: 129, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"250 (BLAKE2s)":
     0.000600 msecs per iteration (total: 120, iterations: 200000)
RESULT   : tst_qcryptographichash::append():"500 (BLAKE2s)":
     0.000580 msecs per iteration (total: 116, iterations: 200000)
PASS  : tst_qcryptographichash::append()
RESULT   : tst_qcryptographichash::append_once():"Md5":
     0.00154 msecs per iteration (total: 308, iterations: 200000)
RESULT   : tst_qcryptographichash::append_once():"Sha1":
     0.00211 msecs per iteration (total: 422, iterations: 200000)
RESULT   : tst_qcryptographichash::append_once():"Sha256":
     0.00415 msecs per iteration (total: 831, iterations: 200000)
RESULT   : tst_qcryptographichash::append_once():"Sha512":
     0.00314 msecs per iteration (total: 629, iterations: 200000)
RESULT   : tst_qcryptographichash::append_once():"BLAKE2b":
     0.00164 msecs per iteration (total: 328, iterations: 200000)
RESULT   : tst_qcryptographichash::append_once():"BLAKE2s":
     0.00217 msecs per iteration (total: 435, iterations: 200000)
PASS  : tst_qcryptographichash::append_once()
RESULT   : tst_qcryptographichash::statichash():"Md5":
     0.00148 msecs per iteration (total: 297, iterations: 200000)
RESULT   : tst_qcryptographichash::statichash():"Sha1":
     0.00206 msecs per iteration (total: 412, iterations: 200000)
RESULT   : tst_qcryptographichash::statichash():"Sha256":
     0.00409 msecs per iteration (total: 818, iterations: 200000)
RESULT   : tst_qcryptographichash::statichash():"Sha512":
     0.00307 msecs per iteration (total: 614, iterations: 200000)
RESULT   : tst_qcryptographichash::statichash():"BLAKE2b":
     0.00157 msecs per iteration (total: 314, iterations: 200000)
RESULT   : tst_qcryptographichash::statichash():"BLAKE2s":
     0.00211 msecs per iteration (total: 422, iterations: 200000)
PASS  : tst_qcryptographichash::statichash()
RESULT   : tst_qcryptographichash::algorithms():"Md5":
     0.00148 msecs per iteration (total: 297, iterations: 200000)
RESULT   : tst_qcryptographichash::algorithms():"Sha1":
     0.00206 msecs per iteration (total: 412, iterations: 200000)
RESULT   : tst_qcryptographichash::algorithms():"Sha256":
     0.00409 msecs per iteration (total: 819, iterations: 200000)
RESULT   : tst_qcryptographichash::algorithms():"Sha512":
     0.00307 msecs per iteration (total: 614, iterations: 200000)
RESULT   : tst_qcryptographichash::algorithms():"BLAKE2b":
     0.00157 msecs per iteration (total: 314, iterations: 200000)
RESULT   : tst_qcryptographichash::algorithms():"BLAKE2s":
     0.00212 msecs per iteration (total: 424, iterations: 200000)
PASS  : tst_qcryptographichash::algorithms()
PASS  : tst_qcryptographichash::cleanupTestCase()
Totals: 6 passed, 0 failed, 0 skipped
********* Finished testing of tst_qcryptographichash *********

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-11 06:22:46 +02:00
..
qabstractscrollarea plug memory leak in tst_QAbstractScrollArea::task214488_layoutDirection() 2021-11-22 13:42:43 +02:00
qabstractslider build fix for the case when QT_NO_WHEELEVENT is defined 2022-02-27 14:17:58 +02:00
qabstractspinbox build fix for the case when QT_NO_STYLE_STYLESHEET is defined 2022-02-26 21:56:12 +02:00
qaction plug QAction test memory leak 2021-08-28 01:36:55 +03:00
qanimationgroup add QAnimationGroup test 2022-03-06 21:07:13 +02:00
qatomicint add QAtomicInt test 2021-11-20 16:13:30 +02:00
qatomicpointer add QAtomicPointer test 2021-11-20 16:15:41 +02:00
qbitarray add QBitArray test 2021-03-22 07:51:08 +02:00
qboxlayout oops, copy-pasta 2022-02-26 23:26:54 +02:00
qbrush drop support for QConicalGradient [ci reset] 2021-12-19 02:48:41 +02:00
qbuffer remove optional license exception 2021-02-08 15:08:15 +02:00
qbytearraymatcher remove optional license exception 2021-02-08 15:08:15 +02:00
qcache add QCache test 2021-10-04 08:31:00 +03:00
qchar remove optional license exception 2021-02-08 15:08:15 +02:00
qcheckbox add QCheckBox test 2021-10-04 08:37:57 +03:00
qclipboard add QClipboard test 2022-03-06 21:18:31 +02:00
qcolor add QColor test 2021-03-15 20:45:56 +02:00
qcolumnview build fix for the case when QT_NO_COLUMNVIEW is defined 2022-02-24 20:24:45 +02:00
qcompleter potential fix for the random tst_QCompleter::QTBUG_14292_filesystem() fails 2021-11-19 09:11:44 +02:00
qcryptographichash add support for BLAKE2b and BLAKE2s hash sums 2022-03-11 06:22:46 +02:00
qcssparser drop support for multi-family font request 2022-01-27 19:19:31 +02:00
qdatastream get rid of QLinkedList<T> 2022-01-29 05:25:38 +02:00
qdatawidgetmapper build fix for the case when QT_NO_DATAWIDGETMAPPER is defined 2022-02-24 23:11:38 +02:00
qdate remove optional license exception 2021-02-08 15:08:15 +02:00
qdatetime deal with TODO related to timezone format char 2021-11-23 08:15:08 +02:00
qdbusabstractadaptor get rid of Q_NULLPTR definition [ci reset] 2021-08-06 15:35:28 +03:00
qdbusabstractinterface get rid of Q_NULLPTR definition [ci reset] 2021-08-06 15:35:28 +03:00
qdbusconnection remove optional license exception 2021-02-08 15:08:15 +02:00
qdbuscontext remove optional license exception 2021-02-08 15:08:15 +02:00
qdbusinterface get rid of Q_NULLPTR definition [ci reset] 2021-08-06 15:35:28 +03:00
qdbuslocalcalls remove optional license exception 2021-02-08 15:08:15 +02:00
qdbusmarshall use platform definitions and interrupt aware functions 2021-02-15 01:55:27 +02:00
qdbusmetaobject remove optional license exception 2021-02-08 15:08:15 +02:00
qdbusmetatype remove optional license exception 2021-02-08 15:08:15 +02:00
qdbuspendingcall remove optional license exception 2021-02-08 15:08:15 +02:00
qdbusreply remove optional license exception 2021-02-08 15:08:15 +02:00
qdbusservicewatcher remove optional license exception 2021-02-08 15:08:15 +02:00
qdbusthreading remove optional license exception 2021-02-08 15:08:15 +02:00
qdbustype remove optional license exception 2021-02-08 15:08:15 +02:00
qdbusxmlparser remove optional license exception 2021-02-08 15:08:15 +02:00
qdeclarativeproperty de-duplicate code in tests and benchmarks 2021-11-23 18:15:36 +02:00
qdesktopwidget add QDesktopWidget test 2021-09-19 16:45:38 +03:00
qdial build fix for the case when QT_NO_DIAL is defined 2022-02-24 23:55:39 +02:00
qdialog build fix for the case when QT_NO_SIZEGRIP is defined 2022-02-26 04:41:33 +02:00
qdialogbuttonbox add QDialogButtonBox test 2021-11-21 05:16:56 +02:00
qdir drop support for bmp, ico, tga, jpeg and tiff 2021-12-14 23:28:49 +02:00
qdiriterator remove optional license exception 2021-02-08 15:08:15 +02:00
qdockwidget add QDockWidget test 2022-02-25 20:27:25 +02:00
qdrag add QDrag test 2021-08-07 14:37:56 +03:00
qeasingcurve remove optional license exception 2021-02-08 15:08:15 +02:00
qelapsedtimer remove optional license exception 2021-02-08 15:08:15 +02:00
qerrormessage partial build fix for the case when QT_NO_ERRORMESSAGE is defined 2022-02-25 01:13:27 +02:00
qevent remove optional license exception 2021-02-08 15:08:15 +02:00
qeventloop add QEventLoop test 2021-03-23 19:41:59 +02:00
qfile new QFile hijack test 2022-02-22 16:33:39 +02:00
qfileiconprovider add QFileIconProvider test 2021-11-21 05:22:47 +02:00
qfileinfo remove optional license exception 2021-02-08 15:08:15 +02:00
qfilesystemwatcher build fix for the case when QT_NO_FILESYSTEMWATCHER is defined 2022-02-25 02:46:03 +02:00
qflags add QFlags test 2021-09-14 20:03:54 +03:00
qfocusevent workaround lack of focus events when testing via Xvfb in tst_QFocusEvent::checkReason_ActiveWindow() 2021-11-20 01:52:43 +02:00
qfont remove now redundant font style strategy property [ci reset] 2022-01-19 19:13:30 +02:00
qfontdatabase do not assume fonts have normal/regular style 2022-01-18 00:58:28 +02:00
qfontmetrics drop support for non-local font filepaths 2022-01-27 00:24:00 +02:00
qformlayout build fix for the case when QT_NO_STYLE_WINDOWS is defined 2022-02-26 22:24:40 +02:00
qglobal add QGlobal test 2021-08-23 19:21:05 +03:00
qgraphicseffect build fix for the case when QT_NO_GRAPHICSEFFECT is defined 2022-02-25 13:47:45 +02:00
qgroupbox add QGroupBox test 2021-09-19 17:11:19 +03:00
qhash make most detach methods private [ci reset] 2021-11-30 17:50:00 +02:00
qheaderview add QHeaderView test 2022-02-25 19:29:39 +02:00
qhostaddress include required system headers in tst_qhostaddress source file 2021-11-01 23:44:07 +02:00
qhostinfo remove symbian leftovers 2022-02-24 16:43:43 +02:00
qinputdialog fix regression since be9e8cd953 [ci reset] 2021-11-22 10:20:00 +02:00
qiodevice remove symbian leftovers 2022-02-24 16:43:43 +02:00
qjsondocument partial rootless JSON arrays support 2022-02-21 08:48:43 +02:00
qkeysequence non-shared QKeySequence with limit of two key sequences 2021-11-24 15:32:06 +02:00
qline add QLine test 2021-07-14 00:33:47 +03:00
qlist generalized initializers and rvalue references are standard since C++11 [ci reset] 2022-01-28 16:31:30 +02:00
qlistview Xvfb quirk workaround in tst_QListView::task254449_draggingItemToNegativeCoordinates() 2022-01-30 09:58:40 +02:00
qlistwidget remove plastique and motif styles [ci reset] 2022-01-21 15:39:48 +02:00
qlocale deal with TODO related to timezone format char 2021-11-23 08:15:08 +02:00
qmainwindow build fix for the case when QT_NO_STYLE_STYLESHEET is defined 2022-02-26 21:56:12 +02:00
qmap add QMap test 2021-08-30 04:26:48 +03:00
qmargins add QMargins test 2021-08-07 15:34:36 +03:00
qmath add QMath test 2021-09-19 04:30:38 +03:00
qmenu build fix for the case when QT_NO_STYLE_STYLESHEET is defined 2022-02-26 21:56:12 +02:00
qmetaobject add QMetaObject test 2021-08-10 22:11:57 +03:00
qmetatype remove optional license exception 2021-02-08 15:08:15 +02:00
qmimedata add QMimeData test 2021-07-14 01:11:41 +03:00
qmutex fix rare tst_qmutex build failure 2021-11-30 16:52:17 +02:00
qnetworkinterface remove redundant QNetworkInterface::humanReadableName() method 2022-03-07 04:40:39 +02:00
qnumeric add numeric functions test 2021-03-03 15:53:24 +02:00
qobject drop accessibility support [ci reset] 2022-01-26 19:24:38 +02:00
qpainterpath add QPainterPath test 2021-09-17 18:55:41 +03:00
qpainterpathstroker add QPainterPathStroker test 2021-11-26 18:46:04 +02:00
qpalette add QPalette test 2021-03-22 16:06:49 +02:00
qpen add QPen test 2021-03-13 00:54:45 +02:00
qpoint add QPoint test 2021-09-06 16:19:11 +03:00
qprocess compiler warning fix 2021-09-06 21:02:14 +03:00
qprocessenvironment add QProcessEnvironment test 2021-06-03 16:32:58 +00:00
qradiobutton add QRadioButton test 2022-02-25 19:44:03 +02:00
qrand remove optional license exception 2021-02-08 15:08:15 +02:00
qreadlocker remove optional license exception 2021-02-08 15:08:15 +02:00
qreadwritelock call QThread::sleep(), QThread::msleep() or QThread::usleep() where possible 2021-09-06 19:09:02 +03:00
qrect compiler warning fix 2021-09-06 16:55:57 +03:00
qregexp remove optional license exception 2021-02-08 15:08:15 +02:00
qregion oops, add the missing pixel character in QRegion XPM 2021-12-22 06:58:12 +02:00
qscriptvalue add QScriptValue test 2021-03-22 16:23:33 +02:00
qscriptvalueiterator add QScriptValueIterator test 2021-03-31 02:13:06 +03:00
qscrollarea add QScrollArea test 2022-02-25 20:45:18 +02:00
qset make most detach methods private [ci reset] 2021-11-30 17:50:00 +02:00
qsettings skip some tests for QSettings::NativeFormat case 2021-02-15 23:36:08 +02:00
qsignalmapper partial build fix for the case when QT_NO_SIGNALMAPPER is defined 2022-02-26 04:06:35 +02:00
qsignalspy add QSignalSpy test 2021-09-06 16:51:01 +03:00
qsize add QSize test 2021-09-06 17:04:25 +03:00
qsizef add QSizeF test 2021-09-06 17:00:36 +03:00
qsizegrip build fix for the case when QT_NO_SIZEGRIP is defined 2022-02-26 04:41:33 +02:00
qsocketnotifier include now required system header in tst_qsocketnotifier source file 2022-02-23 23:50:58 +02:00
qstandarditem build fix for the case when QT_NO_WHATSTHIS is defined 2022-02-27 14:03:14 +02:00
qstandarditemmodel drop accessibility support [ci reset] 2022-01-26 19:24:38 +02:00
qstatusbar partial build fix for the case when QT_NO_STATUSBAR is defined 2022-02-26 19:55:05 +02:00
qstringlist generalized initializers and rvalue references are standard since C++11 [ci reset] 2022-01-28 16:31:30 +02:00
qstringmatcher add QStringMatcher test 2021-08-06 18:15:00 +03:00
qstringref remove unused ieeefp header inclusion in tst_qstringref source file 2021-10-09 10:22:34 +03:00
qstyle build fix for the case when QT_NO_STYLE_WINDOWS is defined 2022-02-26 22:24:40 +02:00
qstyleoption add QStyleOption test 2021-06-18 14:41:40 +03:00
qstylesheetstyle build fix for the case when QT_NO_STYLE_STYLESHEET is defined 2022-02-26 21:56:12 +02:00
qsyntaxhighlighter remove pre-edit area support test 2022-01-11 23:21:38 +02:00
qsystemtrayicon add QSystemTrayIcon test 2022-02-28 18:36:12 +02:00
qtconcurrentiteratekernel add QtConcurrentIterateKernel test 2021-06-17 22:08:33 +03:00
qtemporaryfile use qt_safe_close() instead of ::close() 2021-02-22 02:00:38 +02:00
qtextblock add QTextBlock test 2021-09-14 20:21:40 +03:00
qtextcursor fix QTextCursor build 2022-01-11 20:25:31 +02:00
qtextdocument replace references to various font families with GNU FreeFont alternatives 2022-01-10 21:08:04 +02:00
qtextformat remove now redundant font style strategy property [ci reset] 2022-01-19 19:13:30 +02:00
qtextobject remove optional license exception 2021-02-08 15:08:15 +02:00
qthread call QThread::sleep(), QThread::msleep() or QThread::usleep() where possible 2021-09-06 19:09:02 +03:00
qthreadpool de-duplicate QTRY_COMPARE() macro 2021-11-19 01:33:25 +02:00
qtime remove optional license exception 2021-02-08 15:08:15 +02:00
qtimeline add QTimeLine test 2021-09-08 16:19:45 +03:00
qtimer remove optional license exception 2021-02-08 15:08:15 +02:00
qtransform assume size of qreal equals size of float when QT_NO_FPU is defined 2021-03-13 00:46:59 +02:00
quuid build fix for the case when QT_NO_QUUID_STRING is defined 2022-02-26 02:37:39 +02:00
qvariant QVariant test build fix 2022-02-28 17:13:39 +02:00
qvarlengtharray add QVarLengthArray test 2021-08-30 15:27:11 +03:00
qvector generalized initializers and rvalue references are standard since C++11 [ci reset] 2022-01-28 16:31:30 +02:00
qvectornd build fix for the case when QT_NO_VECTOR2D, QT_NO_VECTOR3D or QT_NO_VECTOR4D is defined 2022-02-27 13:25:10 +02:00
qwaitcondition drop support for recursive read-write locks 2021-07-22 00:10:43 +03:00
qx11info return QByteArray from QX11Info::appClass() 2021-02-09 22:23:25 +02:00
qxml remove optional license exception 2021-02-08 15:08:15 +02:00
qxmlinputsource drop network access classes [ci reset] 2022-02-19 17:38:56 +02:00
CMakeLists.txt separate tests and benchmarks sub-directories recursion 2020-12-09 05:01:57 +00:00
network-settings.h build fix for the case when QT_NO_LOCALSERVER is defined 2022-02-25 18:08:59 +02:00