Module: wine Branch: master Commit: e1b80a04a031336adc28ac78f951bfead79c345f URL: http://source.winehq.org/git/wine.git/?a=commit;h=e1b80a04a031336adc28ac78f9...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Tue Feb 3 13:55:53 2009 +0100
riched32/tests: Skip some tests on Win9x, WinME and NT4.
---
dlls/riched32/tests/editor.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/riched32/tests/editor.c b/dlls/riched32/tests/editor.c index 006da7d..6216001 100644 --- a/dlls/riched32/tests/editor.c +++ b/dlls/riched32/tests/editor.c @@ -450,6 +450,10 @@ static void test_EM_LINELENGTH(void) SendMessage(hwndRichEdit, WM_SETTEXT, 0, (LPARAM) text);
result = SendMessage(hwndRichEdit, EM_GETLINECOUNT, 0, 0); + if (result == 4) { + win_skip("Win9x, WinME and NT4 don't handle '\r only' correctly\n"); + return; + } ok(result == 9, "Incorrect line count of %ld\n", result);
for (i = 0; i < sizeof(offset_test)/sizeof(offset_test[0]); i++) {