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

@@ -22,6 +22,7 @@ mod common;
/**
* Tests {@link MaxiCodeReader} against a fixed set of test images.
*/
#[cfg(feature = "image-formats")]
#[test]
fn maxicode1_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(
@@ -43,6 +44,7 @@ fn maxicode1_test_case() {
* @author Daniel Gredler
* @see <a href="https://github.com/zxing/zxing/issues/1543">Defect 1543</a>
*/
#[cfg(feature = "image-formats")]
#[test]
fn maxi_code_black_box1_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(