summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-20 07:32:39 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-20 07:32:39 -0700
commit685bb88433b7520946e30a1e520d37bfc2288151 (patch)
treefbcb1fdc49cdc27d5bf064915513717cb8e11f14 /core/fpdfapi
parentf5a1ee807d74b28917d5c2377c4ece611883bcd1 (diff)
downloadpdfium-685bb88433b7520946e30a1e520d37bfc2288151.tar.xz
Standalone GN build.
This CL setups up a standalone GN build. You'll need to set gn args similar to: use_goma = true clang_use_chrome_plugins = false pdf_enable_xfa = true pdf_enable_v8 = true pdf_is_standalone = true The third_party/pymock files are needed to make git cl upload work correctly. BUG=pdfium:106 Review URL: https://codereview.chromium.org/1904563002
Diffstat (limited to 'core/fpdfapi')
-rw-r--r--core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp b/core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp
index 62f1357572..d3dc5257a3 100644
--- a/core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp
+++ b/core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp
@@ -204,9 +204,10 @@ TEST_F(PDFObjectsTest, GetUnicodeText) {
L"\t\n", L"space", L"", L"", L"abcdefghijklmnopqrstuvwxyz",
L""};
// Check for direct objects.
- for (size_t i = 0; i < m_DirectObjs.size(); ++i)
+ for (size_t i = 0; i < m_DirectObjs.size(); ++i) {
EXPECT_STREQ(direct_obj_results[i],
m_DirectObjs[i]->GetUnicodeText().c_str());
+ }
// Check indirect references.
for (const auto& it : m_RefObjs)