"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/test/java/com/google/zxing/oned/rss/expanded/decoders/AI013X0X1XDecoderTest.java" between
zxing-zxing-3.4.1.tar.gz and zxing-zxing-3.5.0.tar.gz

About: ZXing ("zebra crossing") is a multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages. Info: Project is in maintenance mode (no active development).

AI013X0X1XDecoderTest.java  (zxing-zxing-3.4.1):AI013X0X1XDecoderTest.java  (zxing-zxing-3.5.0)
skipping to change at line 55 skipping to change at line 55
@Test @Test
public void test01310X1XendDate() throws Exception { public void test01310X1XendDate() throws Exception {
CharSequence data = header310x11 + compressedGtin900123456798908 + compresse d20bitWeight1750 + compressedDateEnd; CharSequence data = header310x11 + compressedGtin900123456798908 + compresse d20bitWeight1750 + compressedDateEnd;
String expected = "(01)90012345678908(3100)001750"; String expected = "(01)90012345678908(3100)001750";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
@Test @Test
public void test01310X111() throws Exception { public void test01310X111() throws Exception {
CharSequence data = header310x11 + compressedGtin900123456798908 + compresse CharSequence data = header310x11 + compressedGtin900123456798908 + compresse
d20bitWeight1750 + compressedDateMarch12th2010; d20bitWeight1750 +
compressedDateMarch12th2010;
String expected = "(01)90012345678908(3100)001750(11)100312"; String expected = "(01)90012345678908(3100)001750(11)100312";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
@Test @Test
public void test01320X111() throws Exception { public void test01320X111() throws Exception {
CharSequence data = header320x11 + compressedGtin900123456798908 + compresse CharSequence data = header320x11 + compressedGtin900123456798908 + compresse
d20bitWeight1750 + compressedDateMarch12th2010; d20bitWeight1750 +
compressedDateMarch12th2010;
String expected = "(01)90012345678908(3200)001750(11)100312"; String expected = "(01)90012345678908(3200)001750(11)100312";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
@Test @Test
public void test01310X131() throws Exception { public void test01310X131() throws Exception {
CharSequence data = header310x13 + compressedGtin900123456798908 + compresse CharSequence data = header310x13 + compressedGtin900123456798908 + compresse
d20bitWeight1750 + compressedDateMarch12th2010; d20bitWeight1750 +
compressedDateMarch12th2010;
String expected = "(01)90012345678908(3100)001750(13)100312"; String expected = "(01)90012345678908(3100)001750(13)100312";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
@Test @Test
public void test01320X131() throws Exception { public void test01320X131() throws Exception {
CharSequence data = header320x13 + compressedGtin900123456798908 + compresse CharSequence data = header320x13 + compressedGtin900123456798908 + compresse
d20bitWeight1750 + compressedDateMarch12th2010; d20bitWeight1750 +
compressedDateMarch12th2010;
String expected = "(01)90012345678908(3200)001750(13)100312"; String expected = "(01)90012345678908(3200)001750(13)100312";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
@Test @Test
public void test01310X151() throws Exception { public void test01310X151() throws Exception {
CharSequence data = header310x15 + compressedGtin900123456798908 + compresse CharSequence data = header310x15 + compressedGtin900123456798908 + compresse
d20bitWeight1750 + compressedDateMarch12th2010; d20bitWeight1750 +
compressedDateMarch12th2010;
String expected = "(01)90012345678908(3100)001750(15)100312"; String expected = "(01)90012345678908(3100)001750(15)100312";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
@Test @Test
public void test01320X151() throws Exception { public void test01320X151() throws Exception {
CharSequence data = header320x15 + compressedGtin900123456798908 + compresse CharSequence data = header320x15 + compressedGtin900123456798908 + compresse
d20bitWeight1750 + compressedDateMarch12th2010; d20bitWeight1750 +
compressedDateMarch12th2010;
String expected = "(01)90012345678908(3200)001750(15)100312"; String expected = "(01)90012345678908(3200)001750(15)100312";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
@Test @Test
public void test01310X171() throws Exception { public void test01310X171() throws Exception {
CharSequence data = header310x17 + compressedGtin900123456798908 + compresse CharSequence data = header310x17 + compressedGtin900123456798908 + compresse
d20bitWeight1750 + compressedDateMarch12th2010; d20bitWeight1750 +
compressedDateMarch12th2010;
String expected = "(01)90012345678908(3100)001750(17)100312"; String expected = "(01)90012345678908(3100)001750(17)100312";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
@Test @Test
public void test01320X171() throws Exception { public void test01320X171() throws Exception {
CharSequence data = header320x17 + compressedGtin900123456798908 + compresse CharSequence data = header320x17 + compressedGtin900123456798908 + compresse
d20bitWeight1750 + compressedDateMarch12th2010; d20bitWeight1750 +
compressedDateMarch12th2010;
String expected = "(01)90012345678908(3200)001750(17)100312"; String expected = "(01)90012345678908(3200)001750(17)100312";
assertCorrectBinaryString(data, expected); assertCorrectBinaryString(data, expected);
} }
} }
 End of changes. 8 change blocks. 
16 lines changed or deleted 24 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)