summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-28 10:19:22 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-28 16:50:45 +0000
commit0eb74769c9efbcb94e57f160882ce3309684b2f9 (patch)
tree39526392244b7a9f9663be8f59af1475d142db6a /BUILD.gn
parentf0799fe84df4d86f25d342b03525f3016d674f86 (diff)
downloadpdfium-0eb74769c9efbcb94e57f160882ce3309684b2f9.tar.xz
Add JBig2_BitStream ReadNBits unittests
Add test for reading past end of buffer and successful read of bits. Bug: chromium:672176 Change-Id: Ibe2d818185cdb2260011d3fc8cad94ebb16984b7 Reviewed-on: https://pdfium-review.googlesource.com/3233 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index e4bf45ddfa..5de9d19914 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1782,6 +1782,7 @@ test("pdfium_unittests") {
"core/fxcodec/codec/fx_codec_a85_unittest.cpp",
"core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
"core/fxcodec/codec/fx_codec_rle_unittest.cpp",
+ "core/fxcodec/jbig2/JBig2_BitStream_unittest.cpp",
"core/fxcodec/jbig2/JBig2_Image_unittest.cpp",
"core/fxcrt/cfx_maybe_owned_unittest.cpp",
"core/fxcrt/cfx_observable_unittest.cpp",