diff --git a/src/MagnumPlugins/MagnumFont/Test/MagnumFontGLTest.cpp b/src/MagnumPlugins/MagnumFont/Test/MagnumFontGLTest.cpp index b35720265..3a3818fca 100644 --- a/src/MagnumPlugins/MagnumFont/Test/MagnumFontGLTest.cpp +++ b/src/MagnumPlugins/MagnumFont/Test/MagnumFontGLTest.cpp @@ -100,8 +100,17 @@ void MagnumFontGLTest::layout() { } void MagnumFontGLTest::createGlyphCache() { - /** @todo */ - CORRADE_SKIP("Not yet implemented"); + MagnumFont font; + CORRADE_VERIFY(font.openFile(Utility::Directory::join(MAGNUMFONT_TEST_DIR, "font.conf"), 0.0f)); + + /* Just testing that nothing crashes, asserts or errors */ + std::unique_ptr cache = font.createGlyphCache(); + + MAGNUM_VERIFY_NO_ERROR(); + CORRADE_VERIFY(cache); + CORRADE_COMPARE(cache->glyphCount(), 3); + + /** @todo properly test contents */ } }}} diff --git a/src/MagnumPlugins/MagnumFont/Test/font.tga b/src/MagnumPlugins/MagnumFont/Test/font.tga index 8389c0da6..711486718 100644 Binary files a/src/MagnumPlugins/MagnumFont/Test/font.tga and b/src/MagnumPlugins/MagnumFont/Test/font.tga differ