summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-05-01 17:01:54 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-01 17:01:54 +0000
commit048afc6aba4848d5296affb4335500f960262580 (patch)
tree1cef231f4c264542412b8ad67db4f622f8eea81d /BUILD.gn
parentb5902c78075141d9d569a463486d20ccabd78a2d (diff)
downloadpdfium-048afc6aba4848d5296affb4335500f960262580.tar.xz
Fix CFX_XML and add unit tests
This CL fixes several issues in the CFX_XML class and adds unit tests. Change-Id: I05270690de8f3c45dceb866e17ef899ae6d23389 Reviewed-on: https://pdfium-review.googlesource.com/31753 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn7
1 files changed, 7 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 19e85f99d9..bd6bf43c25 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -249,6 +249,8 @@ jumbo_static_library("test_support") {
sources = [
"testing/fx_string_testhelpers.cpp",
"testing/fx_string_testhelpers.h",
+ "testing/string_write_stream.cpp",
+ "testing/string_write_stream.h",
"testing/test_support.cpp",
"testing/test_support.h",
"testing/utils/path_service.cpp",
@@ -2887,7 +2889,12 @@ test("pdfium_unittests") {
"core/fxcrt/unowned_ptr_unittest.cpp",
"core/fxcrt/weak_ptr_unittest.cpp",
"core/fxcrt/widestring_unittest.cpp",
+ "core/fxcrt/xml/cfx_xmlchardata_unittest.cpp",
+ "core/fxcrt/xml/cfx_xmlelement_unittest.cpp",
+ "core/fxcrt/xml/cfx_xmlinstruction_unittest.cpp",
+ "core/fxcrt/xml/cfx_xmlnode_unittest.cpp",
"core/fxcrt/xml/cfx_xmlparser_unittest.cpp",
+ "core/fxcrt/xml/cfx_xmltext_unittest.cpp",
"core/fxge/dib/cfx_dibitmap_unittest.cpp",
"core/fxge/dib/cstretchengine_unittest.cpp",
"fpdfsdk/fpdf_catalog_unittest.cpp",