mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
Allow disabling image features
This commit is contained in:
@@ -27,6 +27,7 @@ use super::{GenericMultipleBarcodeReader, MultipleBarcodeReader};
|
||||
* Tests {@link MultipleBarcodeReader}.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn testMulti() {
|
||||
// Very basic test for now
|
||||
@@ -54,6 +55,7 @@ fn testMulti() {
|
||||
assert_eq!(&BarcodeFormat::QR_CODE, results[1].getBarcodeFormat());
|
||||
}
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn testMultiQR() {
|
||||
// Very basic test for now
|
||||
|
||||
@@ -237,6 +237,7 @@ mod multi_qr_code_test_case {
|
||||
* Tests {@link QRCodeMultiReader}.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "image-formats")]
|
||||
#[test]
|
||||
fn testMultiQRCodes() {
|
||||
// Very basic test for now
|
||||
|
||||
Reference in New Issue
Block a user