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
b659fd28
Commit
b659fd28
authored
Apr 08, 2023
by
Jactry Zeng
Committed by
Alexandre Julliard
Apr 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Add tests for IShellView_GetCurrentInfo().
parent
bac369eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
shlview.c
dlls/shell32/tests/shlview.c
+20
-0
No files found.
dlls/shell32/tests/shlview.c
View file @
b659fd28
...
...
@@ -1491,6 +1491,25 @@ static void test_newmenu(void)
IUnknown_Release
(
unk
);
}
static
void
test_folder_flags
(
void
)
{
FOLDERSETTINGS
settings
;
IShellFolder
*
desktop
;
IShellView
*
shellview
;
HRESULT
hr
;
create_interfaces
(
&
desktop
,
&
shellview
);
hr
=
IShellView_GetCurrentInfo
(
shellview
,
&
settings
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
ok
(
settings
.
ViewMode
==
FVM_TILE
||
broken
(
!
settings
.
ViewMode
)
/* pre win7 */
,
"Got view mode %u.
\n
"
,
settings
.
ViewMode
);
todo_wine
ok
(
settings
.
fFlags
==
FWF_USESEARCHFOLDER
||
broken
(
!
settings
.
fFlags
)
/* pre vista */
,
"Got flags %#x.
\n
"
,
settings
.
fFlags
);
destroy_interfaces
(
desktop
,
shellview
);
}
START_TEST
(
shlview
)
{
OleInitialize
(
NULL
);
...
...
@@ -1507,6 +1526,7 @@ START_TEST(shlview)
test_SHCreateShellFolderView
();
test_SHCreateShellFolderViewEx
();
test_newmenu
();
test_folder_flags
();
OleUninitialize
();
}
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