mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
[SHELL32_APITEST] -Add some tests for SHParseDisplayName for CORE-12882.
svn path=/trunk/; revision=74473
This commit is contained in:
parent
d1760301d4
commit
afa3aa776e
1 changed files with 4 additions and 2 deletions
|
@ -111,11 +111,13 @@ struct test_data Tests[] =
|
|||
{__LINE__, L"c:\\Program Files\\", L"C:\\Program Files", 0, S_OK, 0},
|
||||
/* Paths with . are valid for win+r dialog or address bar but not for ParseDisplayName */
|
||||
{__LINE__, L"c:\\Program Files\\.", NULL, 0, E_INVALIDARG, 0},
|
||||
{__LINE__, L"c:\\Program Files\\..", NULL, 0, E_INVALIDARG, 0},
|
||||
{__LINE__, L"c:\\Program Files\\..", NULL, 0, E_INVALIDARG, 0}, /* This gives C:\ when entered in address bar */
|
||||
{__LINE__, L".", NULL, 0, E_INVALIDARG, 0},
|
||||
{__LINE__, L"..", NULL, 0, E_INVALIDARG, 0},
|
||||
{__LINE__, L"C:\\.", NULL, 0, E_INVALIDARG, 0},
|
||||
{__LINE__, L"C:\\..", NULL, 0, E_INVALIDARG, 0} /* C:\.. in the addressbar gives my computer! */
|
||||
{__LINE__, L"fonts", NULL, 0, HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), 0}, /* These three work for ShellExecute */
|
||||
{__LINE__, L"winsxs", NULL, 0, HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), 0},
|
||||
{__LINE__, L"system32", NULL, 0, HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), 0}
|
||||
};
|
||||
|
||||
UINT get_host_os_flag()
|
||||
|
|
Loading…
Reference in a new issue