camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/3] git commit: CAMEL-7871 fixed test error.
Date Mon, 29 Sep 2014 05:52:30 GMT
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 <s.sogabe@gmail.com>
Authored: Mon Sep 29 11:41:01 2014 +0900
Committer: Seiji Sogabe <s.sogabe@gmail.com>
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()


Mime
View raw message