| Index: third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp b/third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp
|
| index 5c8c5079bb75128320e8a7dd042fb4f9a3759faf..c97c74561cf132ac33cc553a3cb8dab64b713050 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp
|
| @@ -35,53 +35,4 @@
|
| EXPECT_TRUE(fontData);
|
| }
|
|
|
| -class FontCacheAvailabilityTest : public ::testing::Test {
|
| -protected:
|
| - void SetUp() override
|
| - {
|
| - m_fontCache = FontCache::fontCache();
|
| - ASSERT_TRUE(m_fontCache);
|
| - m_fontDescription.setGenericFamily(FontDescription::StandardFamily);
|
| - }
|
| -
|
| - void TearDown() override
|
| - {
|
| - EXPECT_TRUE(m_availableFonts);
|
| - EXPECT_GE(m_availableFonts->size(), 1u);
|
| - }
|
| -
|
| - FontCache* m_fontCache;
|
| - EmptyPlatform m_emptyPlatform;
|
| - FontDescription m_fontDescription;
|
| - const Vector<AtomicString>* m_availableFonts;
|
| -};
|
| -
|
| -TEST_F(FontCacheAvailabilityTest, availableSymbolsFonts)
|
| -{
|
| - m_availableFonts = m_fontCache->fontListForFallbackPriority(
|
| - m_fontDescription,
|
| - FontFallbackPriority::Symbols);
|
| -}
|
| -
|
| -TEST_F(FontCacheAvailabilityTest, availableMathFonts)
|
| -{
|
| - m_availableFonts = m_fontCache->fontListForFallbackPriority(
|
| - m_fontDescription,
|
| - FontFallbackPriority::Math);
|
| -}
|
| -
|
| -TEST_F(FontCacheAvailabilityTest, availableEmojiTextFonts)
|
| -{
|
| - m_availableFonts = m_fontCache->fontListForFallbackPriority(
|
| - m_fontDescription,
|
| - FontFallbackPriority::EmojiText);
|
| -}
|
| -
|
| -TEST_F(FontCacheAvailabilityTest, availableEmojiEmojiFonts)
|
| -{
|
| - m_availableFonts = m_fontCache->fontListForFallbackPriority(
|
| - m_fontDescription,
|
| - FontFallbackPriority::EmojiEmoji);
|
| -}
|
| -
|
| } // namespace blink
|
|
|