Signed-off-by: Fabian Maurer dark.shadow4@web.de --- dlls/riched20/tests/richole.c | 20 ++++++++++---------- dlls/riched20/tests/txtsrv.c | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/dlls/riched20/tests/richole.c b/dlls/riched20/tests/richole.c index 9449c6b58cc..c06be02bd89 100644 --- a/dlls/riched20/tests/richole.c +++ b/dlls/riched20/tests/richole.c @@ -431,7 +431,7 @@ todo_wine { touch_file(filename); create_interfaces(&w, &reOle, &txtDoc, &txtSel); hres = ITextDocument_Open(txtDoc, &testfile, tomShareDenyRead, CP_ACP); -todo_wine + todo_wine ok(hres == S_OK, "got 0x%08x\n", hres); SetLastError(0xdeadbeef); hFile = CreateFileW(filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, @@ -444,7 +444,7 @@ todo_wine touch_file(filename); create_interfaces(&w, &reOle, &txtDoc, &txtSel); hres = ITextDocument_Open(txtDoc, &testfile, tomShareDenyWrite, CP_ACP); -todo_wine + todo_wine ok(hres == S_OK, "got 0x%08x\n", hres); SetLastError(0xdeadbeef); hFile = CreateFileW(filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, @@ -458,7 +458,7 @@ todo_wine create_interfaces(&w, &reOle, &txtDoc, &txtSel); SetLastError(0xdeadbeef); hres = ITextDocument_Open(txtDoc, &testfile, tomShareDenyWrite|tomShareDenyRead, CP_ACP); -todo_wine + todo_wine ok(hres == S_OK, "got 0x%08x\n", hres); hFile = CreateFileW(filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); @@ -474,7 +474,7 @@ todo_wine CloseHandle(hFile); create_interfaces(&w, &reOle, &txtDoc, &txtSel); hres = ITextDocument_Open(txtDoc, &testfile, tomReadOnly, CP_ACP); -todo_wine + todo_wine ok(hres == S_OK, "got 0x%08x\n", hres); result = SendMessageA(w, WM_GETTEXT, 1024, (LPARAM)bufACP); todo_wine ok(result == 12, "ITextDocument_Open: Test ASCII returned %d, expected 12\n", result); @@ -489,7 +489,7 @@ todo_wine CloseHandle(hFile); create_interfaces(&w, &reOle, &txtDoc, &txtSel); hres = ITextDocument_Open(txtDoc, &testfile, tomReadOnly, CP_UTF8); -todo_wine + todo_wine ok(hres == S_OK, "got 0x%08x\n", hres); result = SendMessageA(w, WM_GETTEXT, 1024, (LPARAM)bufACP); todo_wine ok(result == 15, "ITextDocument_Open: Test UTF-8 returned %d, expected 15\n", result); @@ -504,7 +504,7 @@ todo_wine CloseHandle(hFile); create_interfaces(&w, &reOle, &txtDoc, &txtSel); hres = ITextDocument_Open(txtDoc, &testfile, tomReadOnly, 1200); -todo_wine + todo_wine ok(hres == S_OK, "got 0x%08x\n", hres); result = SendMessageW(w, WM_GETTEXT, 1024, (LPARAM)bufUnicode); todo_wine ok(result == 12, "ITextDocument_Open: Test UTF-16 returned %d, expected 12\n", result); @@ -680,13 +680,13 @@ static void test_GetText(void) bstr = (void*)0xdeadbeef; hres = ITextSelection_GetText(txtSel, &bstr); ok(hres == CO_E_RELEASED, "got 0x%08x\n", hres); -todo_wine + todo_wine ok(bstr == NULL, "got %p\n", bstr);
bstr = (void*)0xdeadbeef; hres = ITextRange_GetText(range, &bstr); ok(hres == CO_E_RELEASED, "got 0x%08x\n", hres); -todo_wine + todo_wine ok(bstr == NULL, "got %p\n", bstr); } else { @@ -2679,7 +2679,7 @@ todo_wine { } hr = ITextRange_GetEnd(range, &value); ok(hr == S_OK, "got 0x%08x\n", hr); -todo_wine + todo_wine ok(value == 3, "got %d\n", value);
hr = ITextRange_GetStart(range2, &value); @@ -2688,7 +2688,7 @@ todo_wine
hr = ITextRange_GetEnd(range2, &value); ok(hr == S_OK, "got 0x%08x\n", hr); -todo_wine + todo_wine ok(value == 1, "got %d\n", value);
ITextRange_Release(range); diff --git a/dlls/riched20/tests/txtsrv.c b/dlls/riched20/tests/txtsrv.c index 1f789da8a37..22082201fbc 100644 --- a/dlls/riched20/tests/txtsrv.c +++ b/dlls/riched20/tests/txtsrv.c @@ -1126,7 +1126,7 @@ static void test_TxGetScroll(void) ret = ITextServices_TxGetVScroll( txtserv, &min_pos, &max_pos, &pos, &page, &enabled ); ok( ret == S_OK, "ITextServices_TxGetHScroll failed: 0x%08x.\n", ret ); ok( min_pos == 0, "got %d\n", min_pos ); -todo_wine + todo_wine ok( max_pos == 0, "got %d\n", max_pos ); ok( pos == 0, "got %d\n", pos ); ok( page == client.bottom, "got %d\n", page ); @@ -1150,7 +1150,7 @@ todo_wine ret = ITextServices_TxGetVScroll( txtserv, &min_pos, &max_pos, &pos, &page, &enabled ); ok( ret == S_OK, "ITextServices_TxGetHScroll failed: 0x%08x.\n", ret ); ok( min_pos == 0, "got %d\n", min_pos ); -todo_wine + todo_wine ok( max_pos == 0, "got %d\n", max_pos ); ok( pos == 0, "got %d\n", pos ); ok( page == client.bottom, "got %d\n", page ); -- 2.35.0