#include "core/fxge/cfx_fontmapper.h"
#include <memory>
#include <numeric>
#include <utility>
#include "core/fxcrt/fx_codepage.h"
#include "core/fxge/cfx_gemodule.h"
#include "core/fxge/systemfontinfo_iface.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
DoAll;
ElementsAre;
InSequence;
Invoke;
Return;
WithArg;
class MockSystemFontInfo : public SystemFontInfoIface { … };
class TestFontMapper : public CFX_FontMapper { … };
class CFXFontMapperSystemFontInfoTest : public testing::Test { … };
char g_maybe_changes = …;
TEST(CFX_FontMapper, IsStandardFontName) { … }
TEST(CFX_FontMapper, MakeTag) { … }
TEST(CFX_FontMapper, AddInstalledFontBasic) { … }
#ifdef PDF_ENABLE_XFA
TEST_F(CFXFontMapperSystemFontInfoTest, RawBytesForIndex) { … }
TEST_F(CFXFontMapperSystemFontInfoTest, RawBytesForIndexFailToMap) { … }
TEST_F(CFXFontMapperSystemFontInfoTest, RawBytesForIndexFailToGetDataSize) { … }
TEST_F(CFXFontMapperSystemFontInfoTest, RawBytesForIndexFailToGetData) { … }
#endif
TEST_F(CFXFontMapperSystemFontInfoTest, GetCachedTTCFaceFailToGetData) { … }
TEST_F(CFXFontMapperSystemFontInfoTest, GetCachedFaceFailToGetData) { … }