summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-04-17 09:07:48 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-04-17 16:24:38 +0000
commit16b9d77ceb55e102260bc44cf1c8f519d11d6769 (patch)
tree41f8a63fa49f093a35f071bb38eda417d60ce94e /BUILD.gn
parentba91bed89a9fecfae3e175abcd4e333057e3f9c8 (diff)
downloadpdfium-16b9d77ceb55e102260bc44cf1c8f519d11d6769.tar.xz
Add unit test for CFX_SAXReader.
Make the pending re-write CL smaller, and back-fill some test. Virtualize the handler interface so that it can be mocked. Change-Id: Icbbc6b6789ba135b73c6fd1bbb90f5aae6ab7649 Reviewed-on: https://pdfium-review.googlesource.com/4250 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 77bdeb5e77..9b879f5b1b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1878,12 +1878,14 @@ test("pdfium_unittests") {
deps = [
":pdfium",
":test_support",
+ "//testing/gmock",
"//testing/gtest",
"//testing/gtest:gtest_main",
]
include_dirs = []
if (pdf_enable_xfa) {
sources += [
+ "core/fxcrt/xml/cfx_saxreader_unittest.cpp",
"fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp",
"xfa/fde/cfde_txtedtbuf_unittest.cpp",
"xfa/fde/css/cfde_cssdeclaration_unittest.cpp",