MCPcopy Create free account
hub / github.com/defold/defold / SetUp

Method SetUp

engine/font/src/test/test_font.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 HFontCollection m_FontCollection;
44
45 virtual void SetUp() override
46 {
47 LoadFont("src/test/data/vera_mo_bd.ttf", &m_Font);
48
49 m_FontCollection = FontCollectionCreate();
50 FontResult r = FontCollectionAddFont(m_FontCollection, m_Font);
51 ASSERT_EQ(FONT_RESULT_OK, r);
52 }
53
54 virtual void TearDown() override
55 {

Callers

nothing calls this directly

Calls 2

FontCollectionCreateFunction · 0.85
FontCollectionAddFontFunction · 0.85

Tested by

no test coverage detected