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
d62aa01e
Commit
d62aa01e
authored
Mar 18, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Mar 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add a test for MsiFormatRecord with integer fields.
parent
15a7d3b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
format.c
dlls/msi/tests/format.c
+12
-0
No files found.
dlls/msi/tests/format.c
View file @
d62aa01e
...
...
@@ -618,6 +618,18 @@ static void test_formatrecord(void)
ok
(
r
==
ERROR_SUCCESS
,
"format failed
\n
"
);
ok
(
sz
==
11
,
"size wrong
\n
"
);
ok
(
0
==
strcmp
(
buffer
,
"boo [~] hoo"
),
"wrong output (%s)
\n
"
,
buffer
);
r
=
MsiRecordSetString
(
hrec
,
0
,
"[1]"
);
r
=
MsiRecordSetInteger
(
hrec
,
1
,
123456
);
ok
(
r
==
ERROR_SUCCESS
,
"set integer failed
\n
"
);
sz
=
sizeof
buffer
;
r
=
MsiFormatRecord
(
0
,
hrec
,
buffer
,
&
sz
);
ok
(
r
==
ERROR_SUCCESS
,
"format failed
\n
"
);
todo_wine
{
ok
(
sz
==
6
,
"size wrong
\n
"
);
ok
(
0
==
strcmp
(
buffer
,
"123456"
),
"wrong output (%s)
\n
"
,
buffer
);
}
MsiCloseHandle
(
hrec
);
}
...
...
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