Huw Davies : ole32/tests: Improve the traces in the test.
Alexandre Julliard
julliard at winehq.org
Fri Apr 24 10:00:11 CDT 2009
Module: wine
Branch: master
Commit: d2837cb94dd36419241af174950f8d30388e3c22
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d2837cb94dd36419241af174950f8d30388e3c22
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Apr 24 12:33:25 2009 +0100
ole32/tests: Improve the traces in the test.
---
dlls/ole32/tests/clipboard.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c
index a4f9307..2b5c711 100644
--- a/dlls/ole32/tests/clipboard.c
+++ b/dlls/ole32/tests/clipboard.c
@@ -118,6 +118,8 @@ static HRESULT WINAPI EnumFormatImpl_Next(IEnumFORMATETC *iface, ULONG celt,
EnumFormatImpl *This = (EnumFormatImpl*)iface;
ULONG count, i;
+ trace("next: count %d cur %d\n", celt, This->cur);
+
if(!rgelt)
return E_INVALIDARG;
@@ -565,7 +567,7 @@ static void test_enum_fmtetc(IDataObject *src)
ok(src != NULL, "shouldn't be here\n");
hr = IEnumFORMATETC_Next(src_enum, 1, &src_fmt, NULL);
ok(hr == S_OK, "%d: got %08x\n", count, hr);
- trace("%d: cf %04x aspect %x tymed %x\n", count, fmt.cfFormat, fmt.dwAspect, fmt.tymed);
+ trace("%d: %s\n", count, dump_fmtetc(&fmt));
ok(fmt.cfFormat == src_fmt.cfFormat, "%d: %04x %04x\n", count, fmt.cfFormat, src_fmt.cfFormat);
ok(fmt.dwAspect == src_fmt.dwAspect, "%d: %08x %08x\n", count, fmt.dwAspect, src_fmt.dwAspect);
ok(fmt.lindex == src_fmt.lindex, "%d: %08x %08x\n", count, fmt.lindex, src_fmt.lindex);
More information about the wine-cvs
mailing list