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

Unified Diff: tests/FontMgrAndroidParserTest.cpp

Issue 1200103008: Rename SkFontConfigParser_android SkFontMgr_android_parser. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update test name and exclusion. Created 5 years, 6 months 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 | « tests/FontConfigParser.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/FontMgrAndroidParserTest.cpp
diff --git a/tests/FontConfigParser.cpp b/tests/FontMgrAndroidParserTest.cpp
similarity index 96%
rename from tests/FontConfigParser.cpp
rename to tests/FontMgrAndroidParserTest.cpp
index 218aa9a09ae675b4d367c2d44b5318fab0c72435..fe689b01c4cc71452f201be22d21bf7b668e3eea 100644
--- a/tests/FontConfigParser.cpp
+++ b/tests/FontMgrAndroidParserTest.cpp
@@ -7,7 +7,7 @@
#include "Resources.h"
#include "SkCommandLineFlags.h"
-#include "SkFontConfigParser_android.h"
+#include "SkFontMgr_android_parser.h"
#include "Test.h"
#include <cmath>
@@ -141,13 +141,13 @@ static void test_parse_fixed(skiatest::Reporter* reporter) {
REPORTER_ASSERT(reporter, !parse_fixed<16>(".123a", &fix));
}
-DEF_TEST(FontConfigParserAndroid, reporter) {
+DEF_TEST(FontMgrAndroidParser, reporter) {
test_parse_fixed(reporter);
bool resourcesMissing = false;
SkTDArray<FontFamily*> preV17FontFamilies;
- SkFontConfigParser::GetCustomFontFamilies(preV17FontFamilies,
+ SkFontMgr_Android_Parser::GetCustomFontFamilies(preV17FontFamilies,
SkString("/custom/font/path/"),
GetResourcePath("android_fonts/pre_v17/system_fonts.xml").c_str(),
GetResourcePath("android_fonts/pre_v17/fallback_fonts.xml").c_str());
@@ -164,7 +164,7 @@ DEF_TEST(FontConfigParserAndroid, reporter) {
SkTDArray<FontFamily*> v17FontFamilies;
- SkFontConfigParser::GetCustomFontFamilies(v17FontFamilies,
+ SkFontMgr_Android_Parser::GetCustomFontFamilies(v17FontFamilies,
SkString("/custom/font/path/"),
GetResourcePath("android_fonts/v17/system_fonts.xml").c_str(),
GetResourcePath("android_fonts/v17/fallback_fonts.xml").c_str(),
@@ -182,7 +182,7 @@ DEF_TEST(FontConfigParserAndroid, reporter) {
SkTDArray<FontFamily*> v22FontFamilies;
- SkFontConfigParser::GetCustomFontFamilies(v22FontFamilies,
+ SkFontMgr_Android_Parser::GetCustomFontFamilies(v22FontFamilies,
SkString("/custom/font/path/"),
GetResourcePath("android_fonts/v22/fonts.xml").c_str(),
NULL);
« no previous file with comments | « tests/FontConfigParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698