Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
de08ba83
Commit
de08ba83
authored
Jul 20, 2008
by
Reece Dunn
Committed by
Alexandre Julliard
Jul 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Vista returns E_INVALIDARG if the path sent to SetPath is invalid.
parent
4140801e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
shelllink.c
dlls/shell32/tests/shelllink.c
+5
-5
No files found.
dlls/shell32/tests/shelllink.c
View file @
de08ba83
...
...
@@ -226,19 +226,19 @@ static void test_get_set(void)
ok
(
!
lstrcmp
(
buffer
,
"C:
\\
nonexistent
\\
file"
),
"case doesn't match
\n
"
);
r
=
IShellLinkA_SetPath
(
sl
,
"
\"
c:
\\
foo"
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
,
"SetPath failed (0x%08x)
\n
"
,
r
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
||
r
==
E_INVALIDARG
/* Vista */
,
"SetPath failed (0x%08x)
\n
"
,
r
);
r
=
IShellLinkA_SetPath
(
sl
,
"
\"\"
c:
\\
foo"
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
,
"SetPath failed (0x%08x)
\n
"
,
r
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
||
r
==
E_INVALIDARG
/* Vista */
,
"SetPath failed (0x%08x)
\n
"
,
r
);
r
=
IShellLinkA_SetPath
(
sl
,
"c:
\\
foo
\"
"
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
,
"SetPath failed (0x%08x)
\n
"
,
r
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
||
r
==
E_INVALIDARG
/* Vista */
,
"SetPath failed (0x%08x)
\n
"
,
r
);
r
=
IShellLinkA_SetPath
(
sl
,
"
\"\"
c:
\\
foo
\"
"
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
,
"SetPath failed (0x%08x)
\n
"
,
r
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
||
r
==
E_INVALIDARG
/* Vista */
,
"SetPath failed (0x%08x)
\n
"
,
r
);
r
=
IShellLinkA_SetPath
(
sl
,
"
\"\"
c:
\\
foo
\"\"
"
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
,
"SetPath failed (0x%08x)
\n
"
,
r
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
||
r
==
E_INVALIDARG
/* Vista */
,
"SetPath failed (0x%08x)
\n
"
,
r
);
/* Test Getting / Setting the arguments */
strcpy
(
buffer
,
"garbage"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment