Allow disabling image features

This commit is contained in:
Sam Wilson
2024-01-11 12:38:01 -05:00
parent 7cb00fafd1
commit 169f2f6073
33 changed files with 154 additions and 6 deletions

View File

@@ -27,6 +27,7 @@ use super::{GenericMultipleBarcodeReader, MultipleBarcodeReader};
* Tests {@link MultipleBarcodeReader}.
*/
#[cfg(feature = "image-formats")]
#[test]
fn testMulti() {
// Very basic test for now
@@ -54,6 +55,7 @@ fn testMulti() {
assert_eq!(&BarcodeFormat::QR_CODE, results[1].getBarcodeFormat());
}
#[cfg(feature = "image-formats")]
#[test]
fn testMultiQR() {
// Very basic test for now

View File

@@ -237,6 +237,7 @@ mod multi_qr_code_test_case {
* Tests {@link QRCodeMultiReader}.
*/
#[cfg(feature = "image-formats")]
#[test]
fn testMultiQRCodes() {
// Very basic test for now