Nikolay Sivov : dwrite/tests: Test number of lines for a failing drawing test.

Alexandre Julliard julliard at winehq.org
Wed Apr 5 16:17:07 CDT 2017


Module: wine
Branch: master
Commit: 862503df704c7033e9fda2480df3973f0ec57382
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=862503df704c7033e9fda2480df3973f0ec57382

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Apr  5 11:56:04 2017 +0300

dwrite/tests: Test number of lines for a failing drawing test.

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

---

 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 daffd81..ecc57df 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 */




More information about the wine-cvs mailing list