From fc1f50c5154e27bceb570c925c88763609f57c08 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Fri, 12 Mar 2021 15:07:02 +0300 Subject: [PATCH] dwrite/tests: Test font set properties that should be always available. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/dwrite/tests/font.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dlls/dwrite/tests/font.c b/dlls/dwrite/tests/font.c index e995f9441bd..c14c557c92a 100644 --- a/dlls/dwrite/tests/font.c +++ b/dlls/dwrite/tests/font.c @@ -9512,6 +9512,13 @@ static void test_fontsetbuilder(void) hr = IDWriteFontSet_GetPropertyValues(fontset, 0, id, &exists, &values); ok(hr == S_OK, "Failed to get property value, hr %#x.\n", hr); + if (id == DWRITE_FONT_PROPERTY_ID_WEIGHT || id == DWRITE_FONT_PROPERTY_ID_STRETCH + || id == DWRITE_FONT_PROPERTY_ID_STYLE) + { + todo_wine + ok(exists, "Property %u expected to exist.\n", id); + } + if (!exists) continue;