mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
chore: prepare for release
update version to v0.5.5. fixes: #48 changes name of `image-formats` to `image_formats` to more allign with the naming convention of the library.
This commit is contained in:
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author David Olivier
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn aztec_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -45,7 +45,7 @@ fn aztec_black_box1_test_case() {
|
||||
*
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn aztec_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn codabar_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -7,7 +7,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn code128_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -26,7 +26,7 @@ fn code128_black_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn code128_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -45,7 +45,7 @@ fn code128_black_box2_test_case() {
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn code128_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -14,7 +14,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn code39_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -35,7 +35,7 @@ fn code39_black_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn code39_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -54,7 +54,7 @@ fn code39_black_box3_test_case() {
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn code39_extended_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn code93_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -25,7 +25,7 @@ mod common;
|
||||
* @author Sean Owen
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -68,7 +68,7 @@ fn qrcode_black_box1_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -90,7 +90,7 @@ fn qrcode_black_box3_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box4_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -115,7 +115,7 @@ fn qrcode_black_box4_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box5_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -136,7 +136,7 @@ fn qrcode_black_box5_test_case() {
|
||||
* rotation, which was a weak spot.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box6_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -152,7 +152,7 @@ fn qrcode_black_box6_test_case() {
|
||||
tester.test_black_box();
|
||||
}
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn mqr_black_box_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -178,7 +178,7 @@ fn mqr_black_box_test_case() {
|
||||
* be a function of the barcode.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -199,7 +199,7 @@ fn cpp_qrcode_black_box1_test_case() {
|
||||
* @author Sean Owen
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -228,7 +228,7 @@ fn cpp_qrcode_black_box2_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -251,7 +251,7 @@ fn cpp_qrcode_black_box3_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box4_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -276,7 +276,7 @@ fn cpp_qrcode_black_box4_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box5_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -297,7 +297,7 @@ fn cpp_qrcode_black_box5_test_case() {
|
||||
* rotation, which was a weak spot.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box6_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -313,7 +313,7 @@ fn cpp_qrcode_black_box6_test_case() {
|
||||
tester.test_black_box();
|
||||
}
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn cpp_qrcode_black_box7_test_case() {
|
||||
let mut tester = common::MultiImageSpanAbstractBlackBoxTestCase::new(
|
||||
@@ -328,7 +328,7 @@ fn cpp_qrcode_black_box7_test_case() {
|
||||
tester.test_black_box();
|
||||
}
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn cpp_rmqr_blackbox_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author bbrown@google.com (Brian Brown)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn data_matrix_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -42,7 +42,7 @@ fn data_matrix_black_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn data_matrix_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -62,7 +62,7 @@ fn data_matrix_black_box2_test_case() {
|
||||
/**
|
||||
* @author gitlost
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn data_matrix_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn ean13_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -44,7 +44,7 @@ fn ean13_black_box1_test_case() {
|
||||
*
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn ean13_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -64,7 +64,7 @@ fn ean13_black_box2_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn ean13_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -85,7 +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")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn ean13_black_box4_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -105,7 +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")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn ean13_black_box5_blurry_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn ean8_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* Inverted barcodes
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn inverted_data_matrix_black_box_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author kevin.osullivan@sita.aero
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn itfblack_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -41,7 +41,7 @@ fn itfblack_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn itfblack_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* Tests {@link MaxiCodeReader} against a fixed set of test images.
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn maxicode1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -44,7 +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")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn maxi_code_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -25,7 +25,7 @@ use rxing::pdf417::PDF417Reader;
|
||||
*
|
||||
* @author Guenther Grau
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn pdf417_black_box4_test_case() {
|
||||
let mut tester = common::MultiImageSpanAbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -9,7 +9,7 @@ mod common;
|
||||
*
|
||||
* @author SITA Lab (kevin.osullivan@sita.aero)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn pdf417_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -31,7 +31,7 @@ fn pdf417_black_box1_test_case() {
|
||||
*
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn pdf417_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -48,7 +48,7 @@ fn pdf417_black_box2_test_case() {
|
||||
/**
|
||||
* Tests {@link PDF417Reader} against more sample images.
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn pdf417_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -23,7 +23,7 @@ mod common;
|
||||
* @author Sean Owen
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -44,7 +44,7 @@ fn qrcode_black_box1_test_case() {
|
||||
* @author Sean Owen
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -65,7 +65,7 @@ fn qrcode_black_box2_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -87,7 +87,7 @@ fn qrcode_black_box3_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box4_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -112,7 +112,7 @@ fn qrcode_black_box4_test_case() {
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box5_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -133,7 +133,7 @@ fn qrcode_black_box5_test_case() {
|
||||
* rotation, which was a weak spot.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn qrcode_black_box6_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn rss14_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -41,7 +41,7 @@ fn rss14_black_box1_test_case() {
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn rss14_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -32,7 +32,7 @@ mod common;
|
||||
/**
|
||||
* A test of {@link RSSExpandedReader} against a fixed test set of images.
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn rssexpanded_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -51,7 +51,7 @@ fn rssexpanded_black_box1_test_case() {
|
||||
/**
|
||||
* A test of {@link RSSExpandedReader} against a fixed test set of images.
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn rssexpanded_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -70,7 +70,7 @@ fn rssexpanded_black_box2_test_case() {
|
||||
/**
|
||||
* A test of {@link RSSExpandedReader} against a fixed test set of images.
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn rssexpanded_black_box3_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -90,7 +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")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn rssexpanded_stacked_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -110,7 +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")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn rssexpanded_stacked_black_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Chris Wood
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn telepen_alpha_test_case() {
|
||||
const NUMTESTS: u32 = 5;
|
||||
@@ -39,7 +39,7 @@ fn telepen_alpha_test_case() {
|
||||
tester.test_black_box();
|
||||
}
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn telepen_numeric_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn upcablack_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -42,7 +42,7 @@ fn upcablack_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn upcablack_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -62,7 +62,7 @@ fn upcablack_box2_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn upcablack_box3_reflective_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -82,7 +82,7 @@ fn upcablack_box3_reflective_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn upcablack_box4_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -102,7 +102,7 @@ fn upcablack_box4_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn upcablack_box5_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -123,7 +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")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn upcablack_box6_blurry_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn upceblack_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -42,7 +42,7 @@ fn upceblack_box1_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn upceblack_box2_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
@@ -62,7 +62,7 @@ fn upceblack_box2_test_case() {
|
||||
/**
|
||||
* @author dswitkin@google.com (Daniel Switkin)
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn upceblack_box3_reflective_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
@@ -22,7 +22,7 @@ mod common;
|
||||
/**
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[cfg(feature = "image_formats")]
|
||||
#[test]
|
||||
fn upceanextension_black_box1_test_case() {
|
||||
let mut tester = common::AbstractBlackBoxTestCase::new(
|
||||
|
||||
Reference in New Issue
Block a user