Commit b9ea2572 authored by Misha Koshelev's avatar Misha Koshelev Committed by Alexandre Julliard

msi/tests: suminfo: Add tests for MsiSummaryInfoGetProperty for unknown property values.

parent 7de83c18
...@@ -99,6 +99,16 @@ static void test_suminfo(void) ...@@ -99,6 +99,16 @@ static void test_suminfo(void)
r = MsiSummaryInfoGetProperty(hsuminfo, 0, NULL, NULL, NULL, 0, NULL); r = MsiSummaryInfoGetProperty(hsuminfo, 0, NULL, NULL, NULL, 0, NULL);
ok(r == ERROR_SUCCESS, "getpropcount failed\n"); ok(r == ERROR_SUCCESS, "getpropcount failed\n");
/* Page faults in wine */
if (0)
{
r = MsiSummaryInfoGetProperty(hsuminfo, -1, NULL, NULL, NULL, 0, NULL);
ok(r == ERROR_UNKNOWN_PROPERTY, "MsiSummaryInfoGetProperty wrong error\n");
r = MsiSummaryInfoGetProperty(hsuminfo, PID_SECURITY+1, NULL, NULL, NULL, 0, NULL);
ok(r == ERROR_UNKNOWN_PROPERTY, "MsiSummaryInfoGetProperty wrong error\n");
}
type = -1; type = -1;
r = MsiSummaryInfoGetProperty(hsuminfo, 0, &type, NULL, NULL, 0, NULL); r = MsiSummaryInfoGetProperty(hsuminfo, 0, &type, NULL, NULL, 0, NULL);
ok(r == ERROR_SUCCESS, "getpropcount failed\n"); ok(r == ERROR_SUCCESS, "getpropcount failed\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment