Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp

Issue 2474303003: Clean up fpdf_page_parsers (Closed)
Patch Set: Remove PDF_ from namespace stuff Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fpdfapi/page/cpdf_streamcontentparser.cpp ('k') | core/fpdfapi/page/cpdf_streamparser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp
diff --git a/core/fpdfapi/page/fpdf_page_parser_unittest.cpp b/core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp
similarity index 92%
rename from core/fpdfapi/page/fpdf_page_parser_unittest.cpp
rename to core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp
index b6eec7bcf78190b565a1cb249d5d698d6b26f628..be2fcb09e430d92537d50f49a49a4ee355f6b91d 100644
--- a/core/fpdfapi/page/fpdf_page_parser_unittest.cpp
+++ b/core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp
@@ -5,7 +5,7 @@
#include "core/fpdfapi/page/pageint.h"
#include "testing/gtest/include/gtest/gtest.h"
-TEST(fpdf_page_parser, PDF_FindKeyAbbreviation) {
+TEST(cpdf_streamcontentparser, PDF_FindKeyAbbreviation) {
EXPECT_EQ(CFX_ByteStringC("BitsPerComponent"),
PDF_FindKeyAbbreviationForTesting(CFX_ByteStringC("BPC")));
EXPECT_EQ(CFX_ByteStringC("Width"),
@@ -19,7 +19,7 @@ TEST(fpdf_page_parser, PDF_FindKeyAbbreviation) {
PDF_FindKeyAbbreviationForTesting(CFX_ByteStringC("WW")));
}
-TEST(fpdf_page_parser, PDF_FindValueAbbreviation) {
+TEST(cpdf_streamcontentparser, PDF_FindValueAbbreviation) {
EXPECT_EQ(CFX_ByteStringC("DeviceGray"),
PDF_FindValueAbbreviationForTesting(CFX_ByteStringC("G")));
EXPECT_EQ(CFX_ByteStringC("DCTDecode"),
« no previous file with comments | « core/fpdfapi/page/cpdf_streamcontentparser.cpp ('k') | core/fpdfapi/page/cpdf_streamparser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698