James Hawkins : inetcomm: Fix a test that fails on all systems.
Alexandre Julliard
julliard at winehq.org
Mon Apr 21 07:46:15 CDT 2008
Module: wine
Branch: master
Commit: b8ffcbc35b30d320a4f096ba5c105f0cc0632e96
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b8ffcbc35b30d320a4f096ba5c105f0cc0632e96
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Sat Apr 19 22:06:10 2008 -0500
inetcomm: Fix a test that fails on all systems.
---
dlls/inetcomm/tests/mimeole.c | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/dlls/inetcomm/tests/mimeole.c b/dlls/inetcomm/tests/mimeole.c
index d286b74..bfa721e 100644
--- a/dlls/inetcomm/tests/mimeole.c
+++ b/dlls/inetcomm/tests/mimeole.c
@@ -216,7 +216,6 @@ static void test_CreateMessage(void)
ULONG count;
FINDBODY find_struct;
HCHARSET hcs;
- INETCSETINFO csi;
char text[] = "text";
HBODY *body_list;
@@ -274,7 +273,10 @@ static void test_CreateMessage(void)
hr = IMimeBody_GetCharset(body, &hcs);
ok(hr == S_OK, "ret %08x\n", hr);
- ok(hcs == NULL, "ret %p\n", hcs);
+ todo_wine
+ {
+ ok(hcs != NULL, "Expected non-NULL charset\n");
+ }
IMimeBody_Release(body);
@@ -309,9 +311,10 @@ static void test_CreateMessage(void)
hr = IMimeMessage_GetCharset(body, &hcs);
ok(hr == S_OK, "ret %08x\n", hr);
- ok(hcs == NULL, "ret %p\n", hcs);
- hr = MimeOleGetCharsetInfo(hcs, &csi);
- ok(hr == E_INVALIDARG, "ret %08x\n", hr);
+ todo_wine
+ {
+ ok(hcs != NULL, "Expected non-NULL charset\n");
+ }
IMimeMessage_Release(msg);
More information about the wine-cvs
mailing list