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:
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author David Olivier
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn aztec_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -44,6 +45,7 @@ fn aztec_black_box1_test_case() {
|
||||
*
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn aztec_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn codabar_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -7,6 +7,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn code128_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -25,6 +26,7 @@ fn code128_black_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn code128_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -43,6 +45,7 @@ fn code128_black_box2_test_case() {
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn code128_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -14,6 +14,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn code39_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -34,6 +35,7 @@ fn code39_black_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn code39_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -52,6 +54,7 @@ fn code39_black_box3_test_case() {
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn code39_extended_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn code93_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -23,6 +23,7 @@ mod common;
|
||||
* @author Sean Owen
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -65,6 +66,7 @@ fn qrcode_black_box1_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -86,6 +88,7 @@ fn qrcode_black_box3_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box4_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -110,6 +113,7 @@ fn qrcode_black_box4_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box5_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -130,6 +134,7 @@ fn qrcode_black_box5_test_case() {
|
||||
* rotation, which was a weak spot.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box6_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -145,6 +150,7 @@ fn qrcode_black_box6_test_case() {
|
||||
tester.test_black_box();
|
||||
}
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn mqr_black_box_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -170,6 +176,7 @@ fn mqr_black_box_test_case() {
|
||||
* be a function of the barcode.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -190,6 +197,7 @@ fn cpp_qrcode_black_box1_test_case() {
|
||||
* @author Sean Owen
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -218,6 +226,7 @@ fn cpp_qrcode_black_box2_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -240,6 +249,7 @@ fn cpp_qrcode_black_box3_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box4_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -264,6 +274,7 @@ fn cpp_qrcode_black_box4_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box5_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -284,6 +295,7 @@ fn cpp_qrcode_black_box5_test_case() {
|
||||
* rotation, which was a weak spot.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box6_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -299,6 +311,7 @@ fn cpp_qrcode_black_box6_test_case() {
|
||||
tester.test_black_box();
|
||||
}
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box7_test_case() {
|
||||
let mut tester = common::MultiImageSpanAbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author bbrown@google.com (Brian Brown)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn data_matrix_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -41,6 +42,7 @@ fn data_matrix_black_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn data_matrix_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -60,6 +62,7 @@ fn data_matrix_black_box2_test_case() {
|
||||
/**
|
||||
* @author gitlost
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn data_matrix_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn ean13_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -43,6 +44,7 @@ fn ean13_black_box1_test_case() {
|
||||
*
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn ean13_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -62,6 +64,7 @@ fn ean13_black_box2_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn ean13_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -82,6 +85,7 @@ fn ean13_black_box3_test_case() {
|
||||
* A very difficult set of images taken with extreme shadows and highlights.
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn ean13_black_box4_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -101,6 +105,7 @@ fn ean13_black_box4_test_case() {
|
||||
* A set of blurry images taken with a fixed-focus device.
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn ean13_black_box5_blurry_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn ean8_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* Inverted barcodes
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn inverted_data_matrix_black_box_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author kevin.osullivan@sita.aero
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn itfblack_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -40,6 +41,7 @@ fn itfblack_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn itfblack_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -25,6 +25,7 @@ use rxing::pdf417::PDF417Reader;
|
||||
*
|
||||
* @author Guenther Grau
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn pdf417_black_box4_test_case() {
|
||||
let mut tester = common::MultiImageSpanAbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -9,6 +9,7 @@ mod common;
|
||||
*
|
||||
* @author SITA Lab (kevin.osullivan@sita.aero)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn pdf417_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -30,6 +31,7 @@ fn pdf417_black_box1_test_case() {
|
||||
*
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn pdf417_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -46,6 +48,7 @@ fn pdf417_black_box2_test_case() {
|
||||
/**
|
||||
* Tests {@link PDF417Reader} against more sample images.
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn pdf417_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -23,6 +23,7 @@ mod common;
|
||||
* @author Sean Owen
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -43,6 +44,7 @@ fn qrcode_black_box1_test_case() {
|
||||
* @author Sean Owen
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -63,6 +65,7 @@ fn qrcode_black_box2_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -84,6 +87,7 @@ fn qrcode_black_box3_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box4_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -108,6 +112,7 @@ fn qrcode_black_box4_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box5_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -128,6 +133,7 @@ fn qrcode_black_box5_test_case() {
|
||||
* rotation, which was a weak spot.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box6_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn rss14_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -40,6 +41,7 @@ fn rss14_black_box1_test_case() {
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn rss14_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Chris Wood
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn telepen_alpha_test_case() {
|
||||
const NUMTESTS: u32 = 5;
|
||||
@@ -38,6 +39,7 @@ fn telepen_alpha_test_case() {
|
||||
tester.test_black_box();
|
||||
}
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn telepen_numeric_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn upcablack_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -41,6 +42,7 @@ fn upcablack_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn upcablack_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -60,6 +62,7 @@ fn upcablack_box2_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn upcablack_box3_reflective_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -79,6 +82,7 @@ fn upcablack_box3_reflective_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn upcablack_box4_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -98,6 +102,7 @@ fn upcablack_box4_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn upcablack_box5_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -118,6 +123,7 @@ fn upcablack_box5_test_case() {
|
||||
* A set of blurry images taken with a fixed-focus device.
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn upcablack_box6_blurry_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn upceblack_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -41,6 +42,7 @@ fn upceblack_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn upceblack_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -60,6 +62,7 @@ fn upceblack_box2_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn upceblack_box3_reflective_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,6 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn upceanextension_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
Reference in New Issue
Block a user