summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-10-21 16:02:15 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-21 16:02:15 -0700
commit3cad596c55cd4db64e002aba118904f65c385168 (patch)
treee367b43af99105d290f77c2586bcac32f4207205 /BUILD.gn
parent2f2b58c45dbe369c72d29d2be89605467b082f39 (diff)
downloadpdfium-3cad596c55cd4db64e002aba118904f65c385168.tar.xz
Add CPDF_Document::GetPage() unittestschromium/2899
Added a nontrivial page tree and a test that pages are being fetched properly, both when requested in order and in reverse order. This will help prevent introducing bugs while changing the way the page tree is processed. BUG=chromium:638513 Review-Url: https://chromiumcodereview.appspot.com/2435783006
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 caeb029d21..05408e0712 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1634,6 +1634,7 @@ test("pdfium_unittests") {
"core/fpdfapi/page/fpdf_page_parser_old_unittest.cpp",
"core/fpdfapi/page/fpdf_page_parser_unittest.cpp",
"core/fpdfapi/parser/cpdf_array_unittest.cpp",
+ "core/fpdfapi/parser/cpdf_document_unittest.cpp",
"core/fpdfapi/parser/cpdf_object_unittest.cpp",
"core/fpdfapi/parser/cpdf_parser_unittest.cpp",
"core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp",