diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-09-01 16:01:44 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-01 20:29:34 +0000 |
commit | ab3c111433229fc79275c4b413b24bec6f5463ce (patch) | |
tree | ceee33196d76ebded37cd5c9e7ebfd35303215c2 /BUILD.gn | |
parent | a2188df09255b49ad41a89ae9b5de640d0b03126 (diff) | |
download | pdfium-ab3c111433229fc79275c4b413b24bec6f5463ce.tar.xz |
Fix EAN-13 checksum and add unit tests.
Parity in EAN-13 is considered counting digits from right to left,
starting at 1.
Bug: pdfium:882
Change-Id: I3e586499091b8400daf93657eb9878f29d9e6922
Reviewed-on: https://pdfium-review.googlesource.com/12910
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1951,6 +1951,7 @@ test("pdfium_unittests") { "core/fxcrt/xml/cfx_saxreader_unittest.cpp", "core/fxcrt/xml/cfx_xmlsyntaxparser_unittest.cpp", "fxbarcode/oned/BC_OnedCode128Writer_unittest.cpp", + "fxbarcode/oned/BC_OnedEAN13Writer_unittest.cpp", "fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", "xfa/fde/cfde_texteditengine_unittest.cpp", "xfa/fgas/crt/cfgas_formatstring_unittest.cpp", |