Commit graph

475 commits

Author SHA1 Message Date
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
Ivailo Monev
cebeb86d53 remove redundant QNetworkInterface::humanReadableName() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-07 04:40:39 +02:00
Ivailo Monev
bfc5f89161 add QClipboard test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-06 21:18:31 +02:00
Ivailo Monev
00a15e3ff5 add QAnimationGroup test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-06 21:07:13 +02:00
Ivailo Monev
284f61d138 add QNetworkInterface test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-05 06:37:09 +02:00
Ivailo Monev
cb129b5889 add QSystemTrayIcon test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-28 18:36:12 +02:00
Ivailo Monev
937b8c02ce QVariant test build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-28 17:13:39 +02:00
Ivailo Monev
58ad321c89 drop unused QQuaternion class [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-28 16:20:02 +02:00
Ivailo Monev
f07ccf82bf build fix for the case when QT_NO_WHEELEVENT is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-27 14:17:58 +02:00
Ivailo Monev
efb2a2f413 build fix for the case when QT_NO_WHATSTHIS is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-27 14:03:14 +02:00
Ivailo Monev
c54fb779bc build fix for the case when QT_NO_VECTOR2D, QT_NO_VECTOR3D or QT_NO_VECTOR4D is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-27 13:25:10 +02:00
Ivailo Monev
99ba14998c compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-27 00:54:31 +02:00
Ivailo Monev
2c087f6144 oops, copy-pasta
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 23:26:54 +02:00
Ivailo Monev
b08f812780 build fix for the case when QT_NO_STYLE_WINDOWS is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 22:24:40 +02:00
Ivailo Monev
106c44d412 build fix for the case when QT_NO_STYLE_STYLESHEET is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 21:56:12 +02:00
Ivailo Monev
e6c7cf9300 build fix for the case when QT_NO_STYLE_PROXY is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 20:59:08 +02:00
Ivailo Monev
f932710e16 partial build fix for the case when QT_NO_STATUSBAR is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 19:55:05 +02:00
Ivailo Monev
dc74adcdbd build fix for the case when QT_NO_SIZEGRIP is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 04:41:33 +02:00
Ivailo Monev
089a63e673 partial build fix for the case when QT_NO_SIGNALMAPPER is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 04:06:35 +02:00
Ivailo Monev
7af1f3d02c build fix for the case when QT_NO_QUUID_STRING is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 02:37:39 +02:00
Ivailo Monev
64e61d523f build fix for the case when QT_NO_QUATERNION is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 02:05:05 +02:00
Ivailo Monev
b230a5f32b add QScrollArea test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 20:45:18 +02:00
Ivailo Monev
91b178316d add QDockWidget test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 20:27:25 +02:00
Ivailo Monev
32ccace532 add QRadioButton test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 19:44:03 +02:00
Ivailo Monev
ada1226c62 add QHeaderView test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 19:29:39 +02:00
Ivailo Monev
9acd2412e8 build fix for the case when QT_NO_LOCALSERVER is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 18:08:59 +02:00
Ivailo Monev
75747a7256 build fix for the case when QT_NO_GRAPHICSEFFECT is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 13:47:45 +02:00
Ivailo Monev
3813419d30 build fix for the case when QT_NO_FILESYSTEMWATCHER is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 02:46:03 +02:00
Ivailo Monev
2d9212f90f partial build fix for the case when QT_NO_ERRORMESSAGE is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 01:13:27 +02:00
Ivailo Monev
3811ce0aef build fix for the case when QT_NO_DIAL is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 23:55:39 +02:00
Ivailo Monev
ef664b3152 build fix for the case when QT_NO_DATAWIDGETMAPPER is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 23:11:38 +02:00
Ivailo Monev
6c3cd520e2 build fix for the case when QT_NO_COLUMNVIEW is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 20:24:45 +02:00
Ivailo Monev
51de49b198 if QLocalServer support is disabled use QTcpServer in QtNetworkSettings::supportsIPv6()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 16:51:51 +02:00
Ivailo Monev
b2f0b31914 remove symbian leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 16:43:43 +02:00
Ivailo Monev
4a129d3e5a drop Md4 support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 00:44:30 +02:00
Ivailo Monev
5bd7004b6f include now required system header in tst_qsocketnotifier source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-23 23:50:58 +02:00
Ivailo Monev
3cea79e9f4 merge QNativeSocketEngine into QAbstractSocketEngine, it doesn't do proxies so drop support for that while at it [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-23 23:17:23 +02:00
Ivailo Monev
0b551a79c2 new QFile hijack test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-22 16:33:39 +02:00
Ivailo Monev
6fad22315c QFile test does not require network component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-22 16:03:19 +02:00
Ivailo Monev
808d94b266 partial rootless JSON arrays support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-21 08:48:43 +02:00
Ivailo Monev
59da27ca99 drop network access classes [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-19 17:38:56 +02:00
Ivailo Monev
cc89673bdd reimplement QNetworkDiskCache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-17 20:22:06 +02:00
Ivailo Monev
bf506fa473 a bit more collision-resistant QNetworkDiskCache filenames
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-17 16:23:49 +02:00
Ivailo Monev
8ca4ee03c0 Xvfb quirk workaround in tst_QListView::task254449_draggingItemToNegativeCoordinates()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-30 09:58:40 +02:00
Ivailo Monev
a25d34bb05 get rid of QLinkedList<T>
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-29 05:25:38 +02:00
Ivailo Monev
028f6d5f12 generalized initializers and rvalue references are standard since C++11 [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-28 16:31:30 +02:00
Ivailo Monev
dfac850b20 drop support for multi-family font request
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-27 19:19:31 +02:00
Ivailo Monev
590b2adc31 drop support for non-local font filepaths
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-27 00:24:00 +02:00
Ivailo Monev
23937f9fdc drop accessibility support [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-26 19:24:38 +02:00
Ivailo Monev
80f145982e correct condition for assert in tst_QAbstractSpinBox::getSetCheck()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-25 18:18:00 +02:00