summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn2
-rw-r--r--core/fpdftext/cpdf_linkextract_unittest.cpp (renamed from core/fpdftext/fpdf_text_int_unittest.cpp)8
2 files changed, 5 insertions, 5 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 2f8b8f1038..5802752af9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1870,7 +1870,7 @@ test("pdfium_unittests") {
"core/fpdfdoc/cpdf_dest_unittest.cpp",
"core/fpdfdoc/cpdf_filespec_unittest.cpp",
"core/fpdfdoc/cpdf_formfield_unittest.cpp",
- "core/fpdftext/fpdf_text_int_unittest.cpp",
+ "core/fpdftext/cpdf_linkextract_unittest.cpp",
"core/fxcodec/codec/fx_codec_a85_unittest.cpp",
"core/fxcodec/codec/fx_codec_jpx_unittest.cpp",
"core/fxcodec/codec/fx_codec_rle_unittest.cpp",
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.