Alistair Leslie-Hughes : shlwapi: Correct AssocCreate tests.
Alexandre Julliard
julliard at winehq.org
Wed Aug 5 09:48:43 CDT 2009
Module: wine
Branch: master
Commit: 31dab8f0dbbceb2bb52c524bd119c5e3bc0cd8d8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=31dab8f0dbbceb2bb52c524bd119c5e3bc0cd8d8
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Wed Aug 5 14:19:38 2009 +1000
shlwapi: Correct AssocCreate tests.
---
dlls/shlwapi/tests/assoc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shlwapi/tests/assoc.c b/dlls/shlwapi/tests/assoc.c
index fd2b868..a6f5e2d 100644
--- a/dlls/shlwapi/tests/assoc.c
+++ b/dlls/shlwapi/tests/assoc.c
@@ -252,11 +252,11 @@ static void test_assoc_create(void)
ok(hr == E_INVALIDARG, "Unexpected result : %08x\n", hr);
hr = pAssocCreate(CLSID_QueryAssociations, &IID_NULL, (LPVOID*)&pqa);
- ok(hr == CLASS_E_CLASSNOTAVAILABLE || hr == E_NOTIMPL /* win98 */
+ ok(hr == CLASS_E_CLASSNOTAVAILABLE || hr == E_NOTIMPL || hr == E_NOINTERFACE
, "Unexpected result : %08x\n", hr);
hr = pAssocCreate(IID_NULL, &IID_IQueryAssociations, (LPVOID*)&pqa);
- ok(hr == CLASS_E_CLASSNOTAVAILABLE || hr == E_NOTIMPL /* win98 */
+ ok(hr == CLASS_E_CLASSNOTAVAILABLE || hr == E_NOTIMPL || hr == E_INVALIDARG
, "Unexpected result : %08x\n", hr);
hr = pAssocCreate(CLSID_QueryAssociations, &IID_IQueryAssociations, (LPVOID*)&pqa);
More information about the wine-cvs
mailing list