mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Added rotation to unit test output for clarification.
git-svn-id: https://zxing.googlecode.com/svn/trunk@450 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
640ccb5fd2
commit
466130bcf0
|
@ -144,7 +144,7 @@ public abstract class AbstractBlackBoxTestCase extends TestCase {
|
||||||
try {
|
try {
|
||||||
result = barcodeReader.decode(source);
|
result = barcodeReader.decode(source);
|
||||||
} catch (ReaderException re) {
|
} catch (ReaderException re) {
|
||||||
System.out.println(re);
|
System.out.println(re + " (rotation: " + rotationInDegrees + ')');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ public abstract class AbstractBlackBoxTestCase extends TestCase {
|
||||||
try {
|
try {
|
||||||
result = barcodeReader.decode(source, TRY_HARDER_HINT);
|
result = barcodeReader.decode(source, TRY_HARDER_HINT);
|
||||||
} catch (ReaderException re) {
|
} catch (ReaderException re) {
|
||||||
fail("Normal mode succeeded but \"try harder\" failed");
|
fail("Normal mode succeeded but \"try harder\" failed (rotation: " + rotationInDegrees + ')');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!expectedFormat.equals(result.getBarcodeFormat())) {
|
if (!expectedFormat.equals(result.getBarcodeFormat())) {
|
||||||
|
|
Loading…
Reference in a new issue