Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D99017390 for ; Mon, 29 Sep 2014 05:52:30 +0000 (UTC) Received: (qmail 43215 invoked by uid 500); 29 Sep 2014 05:52:30 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 43073 invoked by uid 500); 29 Sep 2014 05:52:30 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 43053 invoked by uid 99); 29 Sep 2014 05:52:30 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 05:52:30 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 28C909BB5A4; Mon, 29 Sep 2014 05:52:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Mon, 29 Sep 2014 05:52:30 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/3] git commit: CAMEL-7871 fixed test error. Repository: camel Updated Branches: refs/heads/camel-2.14.x 56ce89dc1 -> 4b9eb985b refs/heads/master e15ebdad1 -> 61b56ee94 CAMEL-7871 fixed test error. - fixed testOptimizeHintsForDataMatrix and testReOptimizeHints methods. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6556116b Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6556116b Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6556116b Branch: refs/heads/master Commit: 6556116b9955d5d057a60693173e00599cb35651 Parents: 29d87ac Author: Seiji Sogabe Authored: Mon Sep 29 11:41:01 2014 +0900 Committer: Seiji Sogabe Committed: Mon Sep 29 11:41:01 2014 +0900 ---------------------------------------------------------------------- .../camel/dataformat/barcode/BarcodeDataFormatTest.java | 7 ------- 1 file changed, 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/6556116b/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeDataFormatTest.java ---------------------------------------------------------------------- diff --git a/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeDataFormatTest.java b/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeDataFormatTest.java index 8420625..5469b3d 100644 --- a/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeDataFormatTest.java +++ b/components/camel-barcode/src/test/java/org/apache/camel/dataformat/barcode/BarcodeDataFormatTest.java @@ -122,9 +122,6 @@ public class BarcodeDataFormatTest { @Test public final void testOptimizieHintsForDataMatrix() { BarcodeDataFormat instance = new BarcodeDataFormat(BarcodeFormat.DATA_MATRIX); - assertTrue("error correction hint incorrect.", - instance.getWriterHintMap() - .containsKey(EncodeHintType.ERROR_CORRECTION)); assertTrue("data matrix shape hint incorrect.", instance.getWriterHintMap() .containsKey(EncodeHintType.DATA_MATRIX_SHAPE)); @@ -141,16 +138,12 @@ public class BarcodeDataFormatTest { // DATA-MATRIX BarcodeDataFormat instance = new BarcodeDataFormat(BarcodeFormat.DATA_MATRIX); assertTrue(instance.getWriterHintMap() - .containsKey(EncodeHintType.ERROR_CORRECTION)); - assertTrue(instance.getWriterHintMap() .containsKey(EncodeHintType.DATA_MATRIX_SHAPE)); assertTrue(instance.getReaderHintMap() .containsKey(DecodeHintType.TRY_HARDER)); // -> QR-CODE instance.setBarcodeFormat(BarcodeFormat.QR_CODE); - assertTrue(instance.getWriterHintMap() - .containsKey(EncodeHintType.ERROR_CORRECTION)); assertFalse(instance.getWriterHintMap() .containsKey(EncodeHintType.DATA_MATRIX_SHAPE)); assertTrue(instance.getReaderHintMap()