msi/tests: Also test full range of properties for MsiSummaryInfoSetPropertyW.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5cf1fa355f
commit
ff01293708
|
@ -510,12 +510,14 @@ static void test_db(MSIHANDLE hinst)
|
||||||
|
|
||||||
for (i = 0; i < 20; i++)
|
for (i = 0; i < 20; i++)
|
||||||
{
|
{
|
||||||
|
WCHAR emptyW[1] = { 0 };
|
||||||
|
|
||||||
r = MsiSummaryInfoSetPropertyA(suminfo, i, prop_type[i], 1252, &ft, "");
|
r = MsiSummaryInfoSetPropertyA(suminfo, i, prop_type[i], 1252, &ft, "");
|
||||||
ok(hinst, r == ERROR_FUNCTION_FAILED, "%u: got %u\n", i, r);
|
ok(hinst, r == ERROR_FUNCTION_FAILED, "%u: got %u\n", i, r);
|
||||||
}
|
|
||||||
|
|
||||||
r = MsiSummaryInfoSetPropertyW(suminfo, PID_CODEPAGE, VT_I2, 1252, &ft, NULL);
|
r = MsiSummaryInfoSetPropertyW(suminfo, i, prop_type[i], 1252, &ft, emptyW);
|
||||||
ok(hinst, r == ERROR_FUNCTION_FAILED, "got %u\n", r);
|
ok(hinst, r == ERROR_FUNCTION_FAILED, "%u: got %u\n", i, r);
|
||||||
|
}
|
||||||
|
|
||||||
r = MsiCloseHandle(suminfo);
|
r = MsiCloseHandle(suminfo);
|
||||||
ok(hinst, !r, "got %u\n", r);
|
ok(hinst, !r, "got %u\n", r);
|
||||||
|
|
Loading…
Reference in New Issue