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

@@ -32,6 +32,7 @@ mod common;
/**
* A test of {@link RSSExpandedReader} against a fixed test set of images.
*/
#[cfg(feature = "image-formats")]
#[test]
fn rssexpanded_black_box1_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(
@@ -50,6 +51,7 @@ fn rssexpanded_black_box1_test_case() {
/**
* A test of {@link RSSExpandedReader} against a fixed test set of images.
*/
#[cfg(feature = "image-formats")]
#[test]
fn rssexpanded_black_box2_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(
@@ -68,6 +70,7 @@ fn rssexpanded_black_box2_test_case() {
/**
* A test of {@link RSSExpandedReader} against a fixed test set of images.
*/
#[cfg(feature = "image-formats")]
#[test]
fn rssexpanded_black_box3_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(
@@ -87,6 +90,7 @@ fn rssexpanded_black_box3_test_case() {
* A test of {@link RSSExpandedReader} against a fixed test set of images including
* stacked RSS barcodes.
*/
#[cfg(feature = "image-formats")]
#[test]
fn rssexpanded_stacked_black_box1_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(
@@ -106,6 +110,7 @@ fn rssexpanded_stacked_black_box1_test_case() {
* A test of {@link RSSExpandedReader} against a fixed test set of images including
* stacked RSS barcodes.
*/
#[cfg(feature = "image-formats")]
#[test]
fn rssexpanded_stacked_black_box2_test_case() {
let mut tester = common::AbstractBlackBoxTestCase::new(