From: dswitkin Date: Thu, 19 Jun 2008 16:41:40 +0000 (+0000) Subject: Added rotation to unit test output for clarification. X-Git-Url: http://git.rot13.org/?p=zxing.git;a=commitdiff_plain;h=b7ccbb32d993009d7d4f023f7306dccf28dd0f7d Added rotation to unit test output for clarification. git-svn-id: http://zxing.googlecode.com/svn/trunk@450 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- diff --git a/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java b/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java index 1e12976d..44a7af71 100644 --- a/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java +++ b/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java @@ -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())) {