Commit Graph

58 Commits

Author SHA1 Message Date
Nikos Ftylitakis 9d70b9a33b Change all Version* usages to Ref<Version> to avoid valrgind of reporting memory leak on static Version objects. #155 2020-02-12 11:37:14 +02:00
Nikos Ftylitakis e74778d92b Add the test resources as a submodule to qzxing-test-resources resository that has been created
Adapted unit tests to utilize the new path.
2019-12-20 12:53:12 +02:00
Nikos Ftylitakis 82c8ff217f deleting all test resources as they will be pulled on demand as a submodule. 2019-12-20 12:32:23 +02:00
Nikos Ftylitakis 4b7f8b6a71 complementary commit for 10ba99586e 2019-10-15 10:16:01 +03:00
favoritas37 9f53b1ac03 code cleanup 2019-03-26 22:26:31 +02:00
favoritas37 9dfa221563 Added blocking map-reduce concurrency when executing EncoderStressTest. (still has issues.) 2019-03-25 12:32:10 +02:00
Nikos Ftylitakis 15ddcaf181 Added support to the execution of stress test for encode / decode operation for all possible combinations of Qr code length and error correction levels.
Created as a first step to detect the bug of #83.
2019-01-18 01:38:10 +02:00
Alexander Stillich 3f3a89b2ba Introduced ZXING_NULLPTR and ZXING_NOEXCEPT to abstract differences between C+11 and non-C++11 compilers
Fixed warnings in QZXingFilter.cpp
Removed C++11 requirement from all .pro files
Set compiler warning flags via CONFIG += warn_on instead of using GCC specific switches
2018-11-16 13:05:58 +01:00
Alexander Stillich 6c6999256c Fixed compiling tests & fixed warnings (except THROWS macro) 2018-11-05 17:13:34 +01:00
Alexander Stillich 076dd575bd Adopted to latest upstream changes 2018-11-05 16:41:52 +01:00
favoritas37 bb589af2bc added results of the current status 2017-08-28 02:26:07 +03:00
favoritas37 25c6b585f5 added more tests for zxing/common/BitArray 2017-08-28 02:25:13 +03:00
favoritas37 069ded5923 multiple refactorings based on latest version of ZXing core 2017-08-25 02:46:43 +03:00
favoritas37 fe43ed8788 completed implementation of QrCode::toString 2017-08-23 01:07:23 +03:00
favoritas37 e5b88fc2cb Added support to DecoderFormat_CODE_128_GS1
Refactoring on all classes that derive from OneDReader to have DecodeHints as argument to the decodeRow function.
Need to populate the test images and get proper expected values.
#36
2017-06-18 11:17:59 +03:00
favoritas37 6307040787 ported implementation of Code128Reader from current zxing implementation in the hope that GS1 separators will be functional. Partially successful but not finished. #36 2017-06-13 21:34:04 +03:00
favoritas37 d6e16dc543 Added failing test for Qr Encoding 2017-04-25 20:26:24 +03:00
favoritas37 35ebd82c82 Expanding test for the interleaving of EC bytes 2017-04-25 20:00:14 +03:00
favoritas37 1a035cf5c0 adding more tests for Qr Encoder. #10 2017-04-20 14:40:22 +03:00
favoritas37 94de33f4f5 First time that all written tests for Qr Encoding are succeeding. #10
Still the Qr code that is generated is not recognizable
2017-04-19 20:27:58 +03:00
favoritas37 295a28ee47 Progressing fixes for Qr Encoder. #10 2017-04-19 20:05:44 +03:00
favoritas37 523c91b085 progressing the testing on the ReedSolomon encoder. #10 2017-04-18 21:05:29 +03:00
favoritas37 2207c3c248 Removed qzxing_qml tag from the defaults
Automatically add qzxing_qml if qzxing_multimedia tag is used
Refactorings to wrap QML dependant code in QZXING_QML scopes
update README.md to reflect the above changes
changes triggered from #26
2017-03-20 17:23:52 +02:00
favoritas37 3397ee4a2b fixed linker error for QZXingTests when compiled with MSVC. Minor styling edits in TestCase.cpp 2017-01-23 18:05:57 +02:00
favoritas37 a3e71ec1e7 created qzxing_qml and qzxing_multimedia qmake CONFIG tags for QZXing.pri to allow the control of dependencies based on the needs. qzxing_qml enables QML specific parts of the library. qzxing_multimedia enables QZXingFilter which requires Qt's multimedia. 2017-01-15 20:36:41 +02:00
Milian Wolff 8cdfdee225 Make test compile on 64bit Linux machines 2017-01-10 13:17:54 +01:00
favoritas37 5cd96d1aae Multiple changes in test suite. a) Added tests for ReedSolomonEncoder (current status: failing) b) Added printing of stacktrace upon test missmatch, will work only where supported by backward.hpp code. 2016-12-03 12:48:50 +02:00
favoritas37 5b5b851c96 refactoring on the namespaces
Added call to ReedSolomonEncoderTests
2016-08-01 19:39:09 +03:00
favoritas37 55c2e7547d Added class ReedSolomonEncoderTests 2016-08-01 19:37:11 +03:00
favoritas37 2db02dffee Further enhance tests for QRcode encoder 2016-08-01 18:36:01 +03:00
favoritas37 18d1cc106a Updated old tests with the new testing utilities 2016-08-01 18:34:12 +03:00
favoritas37 09bce488b4 further enhance the testing utilities 2016-08-01 18:33:10 +03:00
favoritas37 59ed259a15 Updated the tests to use the correct way of handling the zxing exceptions. Enriched EncoderTests with further tests. 2016-07-28 21:26:43 +03:00
favoritas37 a25e39cba6 added a log file of the current status of the decoder tests 2016-07-28 21:24:27 +03:00
favoritas37 48ee696c42 Started implementation of zxing/qrcode/encoder/EncoderTests
minor refactoring on BitArrayTests.
2016-07-22 03:03:12 +03:00
favoritas37 450afbe54b Enable new tests. 2016-07-22 02:09:55 +03:00
favoritas37 3975befb68 completed implementation of zxing/qrcode/encoder/BitArrayTests 2016-07-22 02:06:24 +03:00
favoritas37 711d9537b9 added implementation of zxing/qrcode/encoder/QRCodeTests 2016-07-22 02:05:30 +03:00
favoritas37 7ca98d0365 Added unfinished implementation of BitArrayTests 2016-07-21 01:49:43 +03:00
favoritas37 bcc4f016d4 Implementation of tests for MASKUTILTESTS_H
+ regactoring
2016-07-21 00:50:37 +03:00
favoritas37 be836d3b76 Continuation of development on Testing framework. Ported tests for Qrcode::Encoder::MatrixUtil 2016-07-20 23:09:08 +03:00
favoritas37 7f86f35883 Introduced new option for QZXing. if QZXing::setTryHarder is set to true, if the image decoding fails, the image will be rotated and will be tested against angles 90o, 180o, 270o. This increased the success rate for the Qr codes.
Plus, minor changes at the handling of failed decoding in QZXing.
2016-06-15 23:31:44 +03:00
favoritas37 345cab88a0 added test result log of current state of changes towards v3.0dev as a reference 2016-05-30 09:58:26 +03:00
Maurice Backes e000997e96 Exmaple Code That should work now after small changes, before it was indecisive and didn't work 2016-04-25 10:40:08 +02:00
favoritas37 0c59e57f79 In automatic tests, enhanced logs to provide more info for the inconsistent results. Also handled the fact that the txt files used for results matching instead of having \r\n they have \n. 2016-04-08 19:49:14 +03:00
favoritas37 f1f7013621 The suggestion of max resolution 999x999 per image got embedded in the standard decoding function. If image is bigger, it will be resized by default. 2016-01-24 03:19:51 +02:00
favoritas37 098f495449 minor fix in the log files of the test results. 2016-01-24 03:14:23 +02:00
favoritas37 f1dee56e4d added a log file with the status of v2.4 as a reference for future comparisons. 2016-01-24 02:51:56 +02:00
favoritas37 7d280e4067 Added separate list of inconsistent files. Added sector at the end that has a total result. 2016-01-24 01:16:31 +02:00
favoritas37 a1e658b975 Created reporting at the end of the tests. Failed images are enlisted there. TODO: separate listing of inconsistant successfull decodings (because of actual content decoded.) 2016-01-24 00:30:58 +02:00