Nikolay Sivov : dwrite/tests: Test font set properties that should be always available.

Alexandre Julliard julliard at winehq.org
Fri Mar 12 14:36:16 CST 2021


Module: wine
Branch: master
Commit: fc1f50c5154e27bceb570c925c88763609f57c08
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=fc1f50c5154e27bceb570c925c88763609f57c08

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Fri Mar 12 15:07:02 2021 +0300

dwrite/tests: Test font set properties that should be always available.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;
 




More information about the wine-cvs mailing list