Alexandre Julliard : msi/tests: Reset the enumeration index for MsiEnumProducts before testing it.
Alexandre Julliard
julliard at winehq.org
Thu Jul 1 11:19:32 CDT 2010
Module: wine
Branch: master
Commit: bcb869a342a02f8ffe256ba8cf811630b0e0c0c8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bcb869a342a02f8ffe256ba8cf811630b0e0c0c8
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Jul 1 13:21:34 2010 +0200
msi/tests: Reset the enumeration index for MsiEnumProducts before testing it.
---
dlls/msi/tests/msi.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c
index 90a357b..b377320 100644
--- a/dlls/msi/tests/msi.c
+++ b/dlls/msi/tests/msi.c
@@ -11298,6 +11298,9 @@ static void test_MsiEnumProducts(void)
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
index = 0;
+ r = MsiEnumProductsA(index, guid);
+ ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r);
+
r = MsiEnumProductsA(index, NULL);
ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %u\n", r);
More information about the wine-cvs
mailing list