shell32/tests: Add test for SHGetPathFromIDListA
Dmitry Timoshkov
dmitry at baikal.ru
Tue Jan 7 23:09:36 CST 2014
Zhenbo Li <litimetal at gmail.com> wrote:
> +void test_SHGetPathFromIDListA(void)
> +{
> + BOOL ret;
> + char pszPath[MAX_PATH];
> +
> + ret = SHGetPathFromIDListA(NULL, pszPath);
> + ok(!ret, "SHGetPathFromIDListA should fail.\n");
> +}
1. the test should be 'static'.
2. who is supposed to call this test?
3. it would be ineteresting to see whether the tested API should set
an error code or somehow indicate a reason of the failure.
--
Dmitry.
More information about the wine-devel
mailing list