summaryrefslogtreecommitdiff
path: root/testing/resources
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-11-20 19:32:50 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-20 19:32:50 +0000
commit9d0d7c8f35b8f3063d33a41186ea677d01748e45 (patch)
treef28a09fe3029019b614e2c3a8a8f4e7e378f32d8 /testing/resources
parent07b4727a34d2f4aff851f0dc420faf617caca220 (diff)
downloadpdfium-9d0d7c8f35b8f3063d33a41186ea677d01748e45.tar.xz
Add regression tests for issues with correctly removing hyphens
There was a regression due to a refactor, where the public API was no longer removing soft hyphens for line broken words. This was causing issues with find and copy/paste operations that depend on selecting a region of text. This change is covered by FPDFTextEmbeddertest.GetTextWithHyphen. FPDFTextEmbeddertest.bug_782596 is a regression test for a bug that was introduced by the original fix. It only fails when running the test under ASAN. BUG=pdfium:935 Change-Id: I26096583c35f9246a3662e702f89b742f1146780 Reviewed-on: https://pdfium-review.googlesource.com/18610 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'testing/resources')
-rw-r--r--testing/resources/bug_781804.pdfbin0 -> 15690 bytes
-rw-r--r--testing/resources/bug_782596.pdfbin0 -> 93 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/testing/resources/bug_781804.pdf b/testing/resources/bug_781804.pdf
new file mode 100644
index 0000000000..29304f157e
--- /dev/null
+++ b/testing/resources/bug_781804.pdf
Binary files differ
diff --git a/testing/resources/bug_782596.pdf b/testing/resources/bug_782596.pdf
new file mode 100644
index 0000000000..e28d897ada
--- /dev/null
+++ b/testing/resources/bug_782596.pdf
Binary files differ