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:
dswitkin 2008-06-19 16:41:40 +00:00
parent 640ccb5fd2
commit 466130bcf0

View file

@ -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())) {