[PATCH 2/4] dwrite/tests: Test number of lines for a failing drawing test
Nikolay Sivov
nsivov at codeweavers.com
Wed Apr 5 03:56:04 CDT 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/dwrite/tests/layout.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/dwrite/tests/layout.c b/dlls/dwrite/tests/layout.c
index daffd81600..ecc57dffec 100644
--- a/dlls/dwrite/tests/layout.c
+++ b/dlls/dwrite/tests/layout.c
@@ -1636,6 +1636,10 @@ static void test_Draw(void)
hr = IDWriteTextLayout_Draw(layout, &ctxt, &testrenderer, 0.0, 0.0);
ok(hr == S_OK, "got 0x%08x\n", hr);
ok_sequence(sequences, RENDERER_ID, draw_seq2, "draw test 2", TRUE);
+ hr = IDWriteTextLayout_GetMetrics(layout, &tm);
+ ok(hr == S_OK, "got 0x%08x\n", hr);
+todo_wine
+ ok(tm.lineCount == 6, "got %u\n", tm.lineCount);
IDWriteTextLayout_Release(layout);
/* string with control characters */
--
2.11.0
More information about the wine-patches
mailing list