Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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"
Go to the source code of this file.
Classes | |
class | MockSystemFontInfo |
class | TestFontMapper |
class | CFXFontMapperSystemFontInfoTest |
Functions | |
TEST (CFX_FontMapper, IsStandardFontName) | |
TEST (CFX_FontMapper, MakeTag) | |
TEST (CFX_FontMapper, AddInstalledFontBasic) | |
TEST_F (CFXFontMapperSystemFontInfoTest, GetCachedTTCFaceFailToGetData) | |
TEST_F (CFXFontMapperSystemFontInfoTest, GetCachedFaceFailToGetData) | |
Variables | |
char | g_maybe_changes = '\xff' |
TEST | ( | CFX_FontMapper | , |
AddInstalledFontBasic | ) |
Definition at line 128 of file cfx_fontmapper_unittest.cpp.
References CFX_FontMapper::CFX_FontMapper(), CFX_FontMapper::AddInstalledFont(), and kANSI.
TEST | ( | CFX_FontMapper | , |
IsStandardFontName | ) |
Definition at line 92 of file cfx_fontmapper_unittest.cpp.
References CFX_FontMapper::IsStandardFontName().
TEST | ( | CFX_FontMapper | , |
MakeTag | ) |
Definition at line 114 of file cfx_fontmapper_unittest.cpp.
References g_maybe_changes, and CFX_FontMapper::MakeTag().
TEST_F | ( | CFXFontMapperSystemFontInfoTest | , |
GetCachedFaceFailToGetData | ) |
Definition at line 223 of file cfx_fontmapper_unittest.cpp.
TEST_F | ( | CFXFontMapperSystemFontInfoTest | , |
GetCachedTTCFaceFailToGetData | ) |
Definition at line 201 of file cfx_fontmapper_unittest.cpp.
char g_maybe_changes = '\xff' |
Definition at line 90 of file cfx_fontmapper_unittest.cpp.
Referenced by TEST().