Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
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)
...
@@ -1565,21 +1565,21 @@ static void testSHGetFolderPathAndSubDirA(void)
}
}
if
(
FAILED
(
pSHGetFolderPathA
(
NULL
,
CSIDL_LOCAL_APPDATA
,
NULL
,
SHGFP_TYPE_CURRENT
,
appdata
)))
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
;
return
;
}
}
sprintf
(
testpath
,
"%s
\\
%s"
,
appdata
,
winetemp
);
sprintf
(
testpath
,
"%s
\\
%s"
,
appdata
,
winetemp
);
delret
=
RemoveDirectoryA
(
testpath
);
delret
=
RemoveDirectoryA
(
testpath
);
if
(
!
delret
&&
(
ERROR_PATH_NOT_FOUND
!=
GetLastError
())
)
{
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
;
return
;
}
}
sprintf
(
testpath
,
"%s
\\
%s"
,
appdata
,
wine
);
sprintf
(
testpath
,
"%s
\\
%s"
,
appdata
,
wine
);
delret
=
RemoveDirectoryA
(
testpath
);
delret
=
RemoveDirectoryA
(
testpath
);
if
(
!
delret
&&
(
ERROR_PATH_NOT_FOUND
!=
GetLastError
())
&&
(
ERROR_FILE_NOT_FOUND
!=
GetLastError
()))
{
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
;
return
;
}
}
...
@@ -1695,7 +1695,7 @@ static void test_LocalizedNames(void)
...
@@ -1695,7 +1695,7 @@ static void test_LocalizedNames(void)
len
=
lstrlenA
(
cCurrDirA
);
len
=
lstrlenA
(
cCurrDirA
);
if
(
len
==
0
)
{
if
(
len
==
0
)
{
trace
(
"GetCurrentDirectoryA returned empty string. Skipping test_LocalizedNames
\n
"
);
win_skip
(
"GetCurrentDirectoryA returned empty string. Skipping test_LocalizedNames
\n
"
);
goto
cleanup
;
goto
cleanup
;
}
}
if
(
cCurrDirA
[
len
-
1
]
==
'\\'
)
if
(
cCurrDirA
[
len
-
1
]
==
'\\'
)
...
@@ -1944,7 +1944,7 @@ START_TEST(shlfolder)
...
@@ -1944,7 +1944,7 @@ START_TEST(shlfolder)
if
(
pSHGetFolderPathAndSubDirA
)
if
(
pSHGetFolderPathAndSubDirA
)
testSHGetFolderPathAndSubDirA
();
testSHGetFolderPathAndSubDirA
();
else
else
skip
(
"SHGetFolderPathAndSubDirA not present
\n
"
);
win_
skip
(
"SHGetFolderPathAndSubDirA not present
\n
"
);
test_LocalizedNames
();
test_LocalizedNames
();
if
(
pSHCreateShellItem
)
if
(
pSHCreateShellItem
)
test_SHCreateShellItem
();
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