Author: cwittich
Date: Tue Dec 22 12:38:45 2009
New Revision: 44703
URL:
http://svn.reactos.org/svn/reactos?rev=44703&view=rev
Log:
sync fusion_winetest with wine 1.1.35
Modified:
trunk/rostests/winetests/fusion/asmenum.c
trunk/rostests/winetests/fusion/asmname.c
Modified: trunk/rostests/winetests/fusion/asmenum.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/fusion/asmenum.…
==============================================================================
--- trunk/rostests/winetests/fusion/asmenum.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/fusion/asmenum.c [iso-8859-1] Tue Dec 22 12:38:45 2009
@@ -209,6 +209,8 @@
ok(hr == E_INVALIDARG, "Expected E_INVALIDARG, got %08x\n", hr);
ok(asmenum == (IAssemblyEnum *)0xdeadbeef,
"Expected asmenum to be unchanged, got %p\n", asmenum);
+
+ IAssemblyName_Release(asmname);
}
typedef struct _tagASMNAME
Modified: trunk/rostests/winetests/fusion/asmname.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/fusion/asmname.…
==============================================================================
--- trunk/rostests/winetests/fusion/asmname.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/fusion/asmname.c [iso-8859-1] Tue Dec 22 12:38:45 2009
@@ -726,6 +726,7 @@
ok(name != NULL, "Expected non-NULL name\n");
size = MAX_PATH;
+ str[0] = '\0';
hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_FULL);
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
todo_wine
@@ -786,6 +787,7 @@
"Expected FUSION_E_INVALID_NAME, got %08x\n", hr);
ok(name == (IAssemblyName *)0xdeadbeef, "Expected 0xdeadbeef, got
%p\n", name);
}
+ if(SUCCEEDED(hr)) IAssemblyName_Release(name);
/* no '=' */
to_widechar(namestr, "wine, PublicKeyToken");