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
eae202c7
Commit
eae202c7
authored
Nov 11, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Remove spaces before '\n' in ok() calls.
parent
545b7764
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
shlfileop.c
dlls/shell32/tests/shlfileop.c
+8
-8
No files found.
dlls/shell32/tests/shlfileop.c
View file @
eae202c7
...
...
@@ -314,14 +314,14 @@ static void test_get_file_info_iconlist(void)
hr
=
pSHGetFileInfoW
((
const
WCHAR
*
)
pidList
,
0
,
&
shInfow
,
sizeof
(
shInfow
),
SHGFI_SYSICONINDEX
|
SHGFI_USEFILEATTRIBUTES
|
SHGFI_PIDL
|
SHGFI_SMALLICON
);
ok
(
hr
!=
0
,
"SHGFI_SYSICONINDEX|SHGFI_USEFILEATTRIBUTES|SHGFI_PIDL|SHGFI_SMALLICON Failed
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
dwAttributes
==
0xcfcfcfcf
,
"dwAttributes modified
\n
"
);
memset
(
&
shInfow
,
0xcf
,
sizeof
(
shInfow
));
hr
=
pSHGetFileInfoW
((
const
WCHAR
*
)
pidList
,
0
,
&
shInfow
,
sizeof
(
shInfow
),
SHGFI_ICON
|
SHGFI_USEFILEATTRIBUTES
|
SHGFI_PIDL
|
SHGFI_SMALLICON
);
ok
(
hr
!=
0
,
" SHGFI_ICON|SHGFI_USEFILEATTRIBUTES|SHGFI_PIDL|SHGFI_SMALLICON Failed
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
hIcon
!=
(
HICON
)
0xcfcfcfcf
&&
shInfow
.
hIcon
!=
0
,
"hIcon invalid
\n
"
);
if
(
shInfow
.
hIcon
!=
(
HICON
)
0xcfcfcfcf
)
DestroyIcon
(
shInfow
.
hIcon
);
todo_wine
ok
(
shInfow
.
dwAttributes
==
0
,
"dwAttributes not set
\n
"
);
...
...
@@ -330,7 +330,7 @@ static void test_get_file_info_iconlist(void)
hr
=
pSHGetFileInfoW
((
const
WCHAR
*
)
pidList
,
0
,
&
shInfow
,
sizeof
(
shInfow
),
SHGFI_ICON
|
SHGFI_USEFILEATTRIBUTES
|
SHGFI_PIDL
|
SHGFI_LARGEICON
);
ok
(
hr
!=
0
,
"SHGFI_ICON|SHGFI_USEFILEATTRIBUTES|SHGFI_PIDL|SHGFI_LARGEICON Failed
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
hIcon
!=
(
HICON
)
0xcfcfcfcf
&&
shInfow
.
hIcon
!=
0
,
"hIcon invalid
\n
"
);
if
(
shInfow
.
hIcon
!=
(
HICON
)
0xcfcfcfcf
)
DestroyIcon
(
shInfow
.
hIcon
);
todo_wine
ok
(
shInfow
.
dwAttributes
==
0
,
"dwAttributes not set
\n
"
);
...
...
@@ -339,7 +339,7 @@ static void test_get_file_info_iconlist(void)
hr
=
pSHGetFileInfoW
((
const
WCHAR
*
)
pidList
,
0
,
&
shInfow
,
sizeof
(
shInfow
),
SHGFI_SYSICONINDEX
|
SHGFI_USEFILEATTRIBUTES
|
SHGFI_PIDL
|
SHGFI_LARGEICON
);
ok
(
hr
!=
0
,
"SHGFI_SYSICONINDEX|SHGFI_USEFILEATTRIBUTES|SHGFI_PIDL|SHGFI_LARGEICON Failed
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
dwAttributes
==
0xcfcfcfcf
,
"dwAttributes modified
\n
"
);
memset
(
&
shInfow
,
0xcf
,
sizeof
(
shInfow
));
...
...
@@ -368,7 +368,7 @@ static void test_get_file_info_iconlist(void)
SHGFI_SYSICONINDEX
|
SHGFI_USEFILEATTRIBUTES
|
SHGFI_PIDL
|
SHGFI_SMALLICON
|
SHGFI_ATTRIBUTES
);
ok
(
hr
!=
0
,
"SHGFI_SYSICONINDEX|SHGFI_USEFILEATTRIBUTES|SHGFI_PIDL|SHGFI_SMALLICON|SHGFI_ATTRIBUTES Failed
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
dwAttributes
!=
0xcfcfcfcf
,
"dwAttributes not set
\n
"
);
memset
(
&
shInfow
,
0xcf
,
sizeof
(
shInfow
));
...
...
@@ -376,7 +376,7 @@ static void test_get_file_info_iconlist(void)
SHGFI_SYSICONINDEX
|
SHGFI_USEFILEATTRIBUTES
|
SHGFI_PIDL
|
SHGFI_SMALLICON
|
SHGFI_EXETYPE
);
todo_wine
ok
(
hr
!=
0
,
"SHGFI_SYSICONINDEX|SHGFI_USEFILEATTRIBUTES|SHGFI_PIDL|SHGFI_SMALLICON|SHGFI_EXETYPE Failed
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
dwAttributes
==
0xcfcfcfcf
,
"dwAttributes modified
\n
"
);
memset
(
&
shInfow
,
0xcf
,
sizeof
(
shInfow
));
...
...
@@ -398,14 +398,14 @@ static void test_get_file_info_iconlist(void)
SHGFI_SYSICONINDEX
|
SHGFI_USEFILEATTRIBUTES
|
SHGFI_PIDL
|
SHGFI_ATTRIBUTES
);
ok
(
hr
!=
0
,
"SHGFI_SYSICONINDEX|SHGFI_USEFILEATTRIBUTES|SHGFI_PIDL|SHGFI_ATTRIBUTES Failed
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
dwAttributes
!=
0xcfcfcfcf
,
"dwAttributes not set
\n
"
);
memset
(
&
shInfow
,
0xcf
,
sizeof
(
shInfow
));
hr
=
pSHGetFileInfoW
((
const
WCHAR
*
)
pidList
,
0
,
&
shInfow
,
sizeof
(
shInfow
),
SHGFI_SYSICONINDEX
|
SHGFI_USEFILEATTRIBUTES
|
SHGFI_PIDL
|
SHGFI_EXETYPE
);
todo_wine
ok
(
hr
!=
0
,
"SHGFI_SYSICONINDEX|SHGFI_USEFILEATTRIBUTES|SHGFI_PIDL|SHGFI_EXETYPE Failed
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
iIcon
!=
0xcfcfcfcf
,
"Icon Index Missing
\n
"
);
ok
(
shInfow
.
dwAttributes
==
0xcfcfcfcf
,
"dwAttributes modified
\n
"
);
memset
(
&
shInfow
,
0xcf
,
sizeof
(
shInfow
));
...
...
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