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

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-04-05 11:56:04 +03:00 committed by Alexandre Julliard
parent a42a9940cf
commit 862503df70
1 changed files with 4 additions and 0 deletions

View File

@ -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 */