Giovanni Mascellani : dwrite/tests: Remove overzealous test.

Alexandre Julliard julliard at winehq.org
Fri Mar 5 15:31:15 CST 2021


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

Author: Giovanni Mascellani <gmascellani at codeweavers.com>
Date:   Thu Mar  4 11:23:08 2021 +0100

dwrite/tests: Remove overzealous test.

While this test happens to always be true on Windows, this is just a
property of the fallback fonts installed on the system, not a property
of the code. Since we cannot control the fonts installed on users'
computers, it makes no sense to do this test.

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

---

 dlls/dwrite/tests/layout.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/dwrite/tests/layout.c b/dlls/dwrite/tests/layout.c
index cc4079faa14..43a00b7e22e 100644
--- a/dlls/dwrite/tests/layout.c
+++ b/dlls/dwrite/tests/layout.c
@@ -4699,12 +4699,6 @@ todo_wine {
 todo_wine
     ok(font != NULL, "got %p\n", font);
 if (font) {
-    /* font returned for Hiragana character, check if it supports Latin too */
-    exists = FALSE;
-    hr = IDWriteFont_HasCharacter(font, 'b', &exists);
-    ok(hr == S_OK, "got 0x%08x\n", hr);
-    ok(exists, "got %d\n", exists);
-
     IDWriteFont_Release(font);
 }
     /* Try with explicit collection, Tahoma will be forced. */




More information about the wine-cvs mailing list