disable Android-specific SkTypeface test

Seems like this is testing the Android SkFontMgr via SkTypeface.
I would like to replace it with that test directly.

Change-Id: Iea7a16a3afcda4f89f367f5da4090660329f95d1
Reviewed-on: https://skia-review.googlesource.com/70460
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
Mike Klein 2017-11-12 11:41:09 -05:00 committed by Skia Commit-Bot
parent c207da8d40
commit 24e4cc7087

View File

@ -185,7 +185,8 @@ DEF_TEST(Typeface, reporter) {
REPORTER_ASSERT(reporter, SkTypeface::Equal(t1.get(), nullptr));
REPORTER_ASSERT(reporter, SkTypeface::Equal(t2.get(), nullptr));
#ifdef SK_BUILD_FOR_ANDROID
// Disabled temporarily. TODO(mtklein): test Android SkFontMgr directly?
#if 0 && defined(SK_BUILD_FOR_ANDROID)
sk_sp<SkTypeface> t3(SkTypeface::MakeFromName("non-existent-font", SkFontStyle()));
REPORTER_ASSERT(reporter, nullptr == t3);
#endif