From 2fbbe143beaf6720398e686267973ac9e01969d3 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Mon, 7 Apr 2014 18:56:10 +0200 Subject: [PATCH] ole32: Add more SetConvertStg amd WriteFmtUserTypeStg tests. --- dlls/ole32/tests/ole2.c | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c index 9761614ab2b..05e8c4f2659 100644 --- a/dlls/ole32/tests/ole2.c +++ b/dlls/ole32/tests/ole2.c @@ -2301,8 +2301,6 @@ static void test_OleDoAutoConvert(void) ok(!comp_obj_data.unicode_user_type_len, "unicode_user_type_len = %d\n", comp_obj_data.unicode_user_type_len); ok(!comp_obj_data.unicode_clipboard_format_len, "unicode_clipboard_format_len = %d\n", comp_obj_data.unicode_clipboard_format_len); ok(!comp_obj_data.reserved4, "reserved4 %d\n", comp_obj_data.reserved4); - ret = IStream_Release(comp_obj_stream); - ok(!ret, "comp_obj_stream was not freed\n"); hr = IStream_Seek(ole_stream, pos, STREAM_SEEK_SET, NULL); ok(hr == S_OK, "IStream_Seek returned %x\n", hr); @@ -2312,6 +2310,38 @@ static void test_OleDoAutoConvert(void) ok(ole_data.flags == 4, "flags = %x\n", ole_data.flags); for(i=2; i