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
25d70658
Commit
25d70658
authored
Jun 20, 2009
by
Nicolas Le Cam
Committed by
Alexandre Julliard
Jun 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Use win_skip() instead of skip() and trace().
parent
ce78a66d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
shlfolder.c
dlls/shell32/tests/shlfolder.c
+5
-5
No files found.
dlls/shell32/tests/shlfolder.c
View file @
25d70658
...
...
@@ -1565,21 +1565,21 @@ static void testSHGetFolderPathAndSubDirA(void)
}
if
(
FAILED
(
pSHGetFolderPathA
(
NULL
,
CSIDL_LOCAL_APPDATA
,
NULL
,
SHGFP_TYPE_CURRENT
,
appdata
)))
{
skip
(
"SHGetFolderPathA failed for CSIDL_LOCAL_APPDATA!
\n
"
);
win_
skip
(
"SHGetFolderPathA failed for CSIDL_LOCAL_APPDATA!
\n
"
);
return
;
}
sprintf
(
testpath
,
"%s
\\
%s"
,
appdata
,
winetemp
);
delret
=
RemoveDirectoryA
(
testpath
);
if
(
!
delret
&&
(
ERROR_PATH_NOT_FOUND
!=
GetLastError
())
)
{
skip
(
"RemoveDirectoryA(%s) failed with error %u
\n
"
,
testpath
,
GetLastError
());
win_
skip
(
"RemoveDirectoryA(%s) failed with error %u
\n
"
,
testpath
,
GetLastError
());
return
;
}
sprintf
(
testpath
,
"%s
\\
%s"
,
appdata
,
wine
);
delret
=
RemoveDirectoryA
(
testpath
);
if
(
!
delret
&&
(
ERROR_PATH_NOT_FOUND
!=
GetLastError
())
&&
(
ERROR_FILE_NOT_FOUND
!=
GetLastError
()))
{
skip
(
"RemoveDirectoryA(%s) failed with error %u
\n
"
,
testpath
,
GetLastError
());
win_
skip
(
"RemoveDirectoryA(%s) failed with error %u
\n
"
,
testpath
,
GetLastError
());
return
;
}
...
...
@@ -1695,7 +1695,7 @@ static void test_LocalizedNames(void)
len
=
lstrlenA
(
cCurrDirA
);
if
(
len
==
0
)
{
trace
(
"GetCurrentDirectoryA returned empty string. Skipping test_LocalizedNames
\n
"
);
win_skip
(
"GetCurrentDirectoryA returned empty string. Skipping test_LocalizedNames
\n
"
);
goto
cleanup
;
}
if
(
cCurrDirA
[
len
-
1
]
==
'\\'
)
...
...
@@ -1944,7 +1944,7 @@ START_TEST(shlfolder)
if
(
pSHGetFolderPathAndSubDirA
)
testSHGetFolderPathAndSubDirA
();
else
skip
(
"SHGetFolderPathAndSubDirA not present
\n
"
);
win_
skip
(
"SHGetFolderPathAndSubDirA not present
\n
"
);
test_LocalizedNames
();
if
(
pSHCreateShellItem
)
test_SHCreateShellItem
();
...
...
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