From 8f96d20b862ccac658d5624302fb99acc4914cb7 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 21 May 2021 21:02:43 +0200 Subject: [PATCH] Tests: Remove default font tests from LibGfx/TestFontHandling The system default font functions now rely on communication with WindowServer and so we can't really test them here. --- Tests/LibGfx/TestFontHandling.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Tests/LibGfx/TestFontHandling.cpp b/Tests/LibGfx/TestFontHandling.cpp index 3f759b9912..d856886e4e 100644 --- a/Tests/LibGfx/TestFontHandling.cpp +++ b/Tests/LibGfx/TestFontHandling.cpp @@ -36,16 +36,6 @@ TEST_CASE(test_fontdatabase_for_each_font) }); } -TEST_CASE(test_default_font) -{ - EXPECT(!Gfx::FontDatabase::default_font().name().is_null()); -} - -TEST_CASE(test_default_fixed_width_font) -{ - EXPECT(!Gfx::FontDatabase::default_fixed_width_font().name().is_null()); -} - TEST_CASE(test_clone) { u8 glyph_height = 1;