mirror of
https://github.com/zxing/zxing.git
synced 2025-01-27 11:01:00 -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 {
|
||||
result = barcodeReader.decode(source);
|
||||
} catch (ReaderException re) {
|
||||
System.out.println(re);
|
||||
System.out.println(re + " (rotation: " + rotationInDegrees + ')');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -165,7 +165,7 @@ public abstract class AbstractBlackBoxTestCase extends TestCase {
|
|||
try {
|
||||
result = barcodeReader.decode(source, TRY_HARDER_HINT);
|
||||
} catch (ReaderException re) {
|
||||
fail("Normal mode succeeded but \"try harder\" failed");
|
||||
fail("Normal mode succeeded but \"try harder\" failed (rotation: " + rotationInDegrees + ')');
|
||||
return false;
|
||||
}
|
||||
if (!expectedFormat.equals(result.getBarcodeFormat())) {
|
||||
|
|
Loading…
Reference in a new issue