[PATCH 5/5] dwrite/tests: Test font set properties that should be always available.
Nikolay Sivov
nsivov at codeweavers.com
Fri Mar 12 06:07:02 CST 2021
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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;
--
2.30.1
More information about the wine-devel
mailing list