ftylitak / qzxing

Qt/QML wrapper library for the ZXing library. 1D/2D barcode image processing library
Apache License 2.0
614 stars 338 forks source link

QZXingTests - The Tests should detect the Barcode format as well #218

Open maheshdev305 opened 2 years ago

maheshdev305 commented 2 years ago
void DecodeValidator::executeTests(const QString &folderPath) {
...
    QZXing::DecoderFormat decoderFormat = getDecoderForFolder(subfolderName);
...
}

Instead of determining the decoder format based on the folder name, it should just loop through the folders & images and report the decoded barcode type & data.

maheshdev305 commented 2 years ago

Tests has been updated and can be viewed in PR 219