Commit ff012937 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

msi/tests: Also test full range of properties for MsiSummaryInfoSetPropertyW.

parent 5cf1fa35
......@@ -510,12 +510,14 @@ static void test_db(MSIHANDLE hinst)
for (i = 0; i < 20; i++)
{
WCHAR emptyW[1] = { 0 };
r = MsiSummaryInfoSetPropertyA(suminfo, i, prop_type[i], 1252, &ft, "");
ok(hinst, r == ERROR_FUNCTION_FAILED, "%u: got %u\n", i, r);
}
r = MsiSummaryInfoSetPropertyW(suminfo, PID_CODEPAGE, VT_I2, 1252, &ft, NULL);
ok(hinst, r == ERROR_FUNCTION_FAILED, "got %u\n", r);
r = MsiSummaryInfoSetPropertyW(suminfo, i, prop_type[i], 1252, &ft, emptyW);
ok(hinst, r == ERROR_FUNCTION_FAILED, "%u: got %u\n", i, r);
}
r = MsiCloseHandle(suminfo);
ok(hinst, !r, "got %u\n", r);
......
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