diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-05-25 14:21:20 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-25 18:36:22 +0000 |
commit | 3a4c408554f2f2ffb5a143f6dadcdd528fcf106e (patch) | |
tree | 41c32a9df644fbe0751e337bcc6a04f4689dff11 /core/fpdftext | |
parent | 5acacd361b15b82a8b30cdd5cb92abb8a2104ecf (diff) | |
download | pdfium-3a4c408554f2f2ffb5a143f6dadcdd528fcf106e.tar.xz |
Rename CPDF_LinkExtract test file to match class
Change-Id: I6200968b0c72d2de32d51a741ac821084ad84f8a
Reviewed-on: https://pdfium-review.googlesource.com/5952
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdftext')
-rw-r--r-- | core/fpdftext/cpdf_linkextract_unittest.cpp (renamed from core/fpdftext/fpdf_text_int_unittest.cpp) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fpdftext/fpdf_text_int_unittest.cpp b/core/fpdftext/cpdf_linkextract_unittest.cpp index 5730e5cc49..bd059862fd 100644 --- a/core/fpdftext/fpdf_text_int_unittest.cpp +++ b/core/fpdftext/cpdf_linkextract_unittest.cpp @@ -14,11 +14,11 @@ class CPDF_TestLinkExtract : public CPDF_LinkExtract { private: // Add test cases as friends to access protected member functions. // Access CheckMailLink and CheckWebLink. - FRIEND_TEST(fpdf_text_int, CheckMailLink); - FRIEND_TEST(fpdf_text_int, CheckWebLink); + FRIEND_TEST(CPDF_LinkExtractTest, CheckMailLink); + FRIEND_TEST(CPDF_LinkExtractTest, CheckWebLink); }; -TEST(fpdf_text_int, CheckMailLink) { +TEST(CPDF_LinkExtractTest, CheckMailLink) { CPDF_TestLinkExtract extractor; // Check cases that fail to extract valid mail link. const wchar_t* const invalid_strs[] = { @@ -59,7 +59,7 @@ TEST(fpdf_text_int, CheckMailLink) { } } -TEST(fpdf_text_int, CheckWebLink) { +TEST(CPDF_LinkExtractTest, CheckWebLink) { CPDF_TestLinkExtract extractor; // Check cases that fail to extract valid web link. // The last few are legit web addresses that we don't handle now. |