[1/5] msi: Add a test for MsiSetFeatureState.
Hans Leidekker
hans at codeweavers.com
Tue Jul 20 07:54:20 CDT 2010
---
dlls/msi/tests/package.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c
index d2514ce..ad22575 100644
--- a/dlls/msi/tests/package.c
+++ b/dlls/msi/tests/package.c
@@ -9241,6 +9241,9 @@ static void test_featureparents(void)
r = MsiSetFeatureState(hpkg, "orion", INSTALLSTATE_ABSENT);
ok( r == ERROR_SUCCESS, "failed to set feature state: %d\n", r);
+ r = MsiSetFeatureState(hpkg, "nosuchfeature", INSTALLSTATE_ABSENT);
+ ok( r == ERROR_UNKNOWN_FEATURE, "Expected ERROR_UNKNOWN_FEATURE, got %u\n", r);
+
state = 0xdeadbee;
action = 0xdeadbee;
r = MsiGetFeatureState(hpkg, "zodiac", &state, &action);
--
1.7.0.4
More information about the wine-patches
mailing list