summaryrefslogtreecommitdiff
path: root/pdfium.gyp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2015-11-02 13:27:57 -0500
committerDan Sinclair <dsinclair@chromium.org>2015-11-02 13:27:57 -0500
commit52b0b525dca3d982a04b77fa6d0913aff1e5fd9c (patch)
tree4b22704e8eb802dc0503d1c4bd4183a828a1edbe /pdfium.gyp
parent71fca3fffc40f63b28c0085add17ac73b5a066ef (diff)
downloadpdfium-52b0b525dca3d982a04b77fa6d0913aff1e5fd9c.tar.xz
Add test for StringToCode and StringToWideString
This CL adds a test case for the StringToCode and StringToWideString methods in fpdf_font.cpp. In order to do so, it moves the methods to be private methods of CPDF_ToUnicodeMap and make the tests friends of the class. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1428593005 .
Diffstat (limited to 'pdfium.gyp')
-rw-r--r--pdfium.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdfium.gyp b/pdfium.gyp
index 0eebb713bc..208a464d87 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -714,6 +714,7 @@
'<(DEPTH)'
],
'sources': [
+ 'core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp',
'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp',
'core/src/fxcrt/fx_basic_bstring_unittest.cpp',
'core/src/fxcrt/fx_basic_memmgr_unittest.cpp',