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
db5f235a
Commit
db5f235a
authored
Jun 30, 2015
by
Bernhard Übelacker
Committed by
Alexandre Julliard
Jul 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Test MsiSourceListEnumMediaDisks with volumeLabel and diskPrompt as NULL.
parent
e5f57e63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
source.c
dlls/msi/tests/source.c
+20
-0
No files found.
dlls/msi/tests/source.c
View file @
db5f235a
...
...
@@ -2888,6 +2888,26 @@ static void test_MsiSourceListEnumMediaDisks(void)
ok
(
labelsz
==
MAX_PATH
,
"Expected MAX_PATH, got %d
\n
"
,
labelsz
);
ok
(
!
lstrcmpA
(
prompt
,
"bbb"
),
"Expected
\"
bbb
\"
, got
\"
%s
\"\n
"
,
prompt
);
/* pcchVolumeLabel, szDiskPrompt and pcchDiskPrompt are NULL */
id
=
0
;
lstrcpyA
(
label
,
"aaa"
);
r
=
pMsiSourceListEnumMediaDisksA
(
prodcode
,
usersid
,
MSIINSTALLCONTEXT_USERUNMANAGED
,
MSICODE_PRODUCT
,
0
,
&
id
,
label
,
NULL
,
NULL
,
NULL
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
ok
(
!
lstrcmpA
(
label
,
"aaa"
),
"Expected
\"
aaa
\"
, got
\"
%s
\"\n
"
,
label
);
todo_wine
ok
(
id
==
1
,
"Expected 1, got %d
\n
"
,
id
);
/* szVolumeLabel, pcchVolumeLabel, szDiskPrompt and pcchDiskPrompt are NULL */
id
=
0
;
r
=
pMsiSourceListEnumMediaDisksA
(
prodcode
,
usersid
,
MSIINSTALLCONTEXT_USERUNMANAGED
,
MSICODE_PRODUCT
,
0
,
&
id
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
todo_wine
ok
(
id
==
1
,
"Expected 1, got %d
\n
"
,
id
);
/* pcchVolumeLabel is exactly 5 */
lstrcpyA
(
label
,
"aaa"
);
labelsz
=
5
;
...
...
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