Nikolay Sivov : dwrite/tests: Remove test failing on RTL locales.
Alexandre Julliard
julliard at winehq.org
Tue Oct 8 16:05:56 CDT 2019
Module: wine
Branch: master
Commit: 16c8b2569dca5f4ccb69e5fa5a9f961670cf99f5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=16c8b2569dca5f4ccb69e5fa5a9f961670cf99f5
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Oct 8 13:04:32 2019 +0300
dwrite/tests: Remove test failing on RTL locales.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dwrite/tests/layout.c | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/dlls/dwrite/tests/layout.c b/dlls/dwrite/tests/layout.c
index 2c90e31a85..b153bcbb69 100644
--- a/dlls/dwrite/tests/layout.c
+++ b/dlls/dwrite/tests/layout.c
@@ -1702,14 +1702,6 @@ static const struct drawcall_entry draw_ltr_reordered_run_seq[] = {
{ DRAW_LAST_KIND }
};
-static const struct drawcall_entry draw_rtl_reordered_run_seq[] = {
- { DRAW_GLYPHRUN, {'1','2','3','-','5','2',0}, {'r','u',0}, 6, 2 },
- { DRAW_GLYPHRUN, {0x64a,0x64f,0x633,0x627,0x648,0x650,0x64a,0}, {'r','u',0}, 7, 1 },
- { DRAW_GLYPHRUN, {'7','1',0}, {'r','u',0}, 2, 2 },
- { DRAW_GLYPHRUN, {'.',0}, {'r','u',0}, 1, 1 },
- { DRAW_LAST_KIND }
-};
-
static void test_Draw(void)
{
static const WCHAR str3W[] = {'1','2','3','-','5','2',0x64a,0x64f,0x633,0x627,0x648,0x650,
@@ -1916,14 +1908,6 @@ todo_wine
ok(hr == S_OK, "got 0x%08x\n", hr);
ok_sequence(sequences, RENDERER_ID, draw_ltr_reordered_run_seq, "draw test 11", FALSE);
- hr = IDWriteTextLayout_SetReadingDirection(layout, DWRITE_READING_DIRECTION_RIGHT_TO_LEFT);
- ok(hr == S_OK, "Failed to set reading direction, hr %#x.\n", hr);
-
- flush_sequence(sequences, RENDERER_ID);
- hr = IDWriteTextLayout_Draw(layout, &ctxt, &testrenderer, 0.0f, 0.0f);
- ok(hr == S_OK, "got 0x%08x\n", hr);
- ok_sequence(sequences, RENDERER_ID, draw_rtl_reordered_run_seq, "draw test 12", FALSE);
-
IDWriteTextLayout_Release(layout);
IDWriteTextFormat_Release(format);
More information about the wine-cvs
mailing list