mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
Allow disabling image features
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user