summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-21 21:02:43 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-21 21:02:43 +0200
commit8f96d20b862ccac658d5624302fb99acc4914cb7 (patch)
tree733b57fbbc5117762588ef7f881b5613e44979a0 /Tests
parent3a4cbbf01c63ab70eff57275bf45bccefb26555f (diff)
downloadserenity-8f96d20b862ccac658d5624302fb99acc4914cb7.zip
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.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/LibGfx/TestFontHandling.cpp10
1 files changed, 0 insertions, 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;