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
6b4ada6f
Commit
6b4ada6f
authored
Aug 31, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add a few more tests for MSI_NULL_INTEGER.
parent
2924501a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
record.c
dlls/msi/tests/record.c
+12
-0
No files found.
dlls/msi/tests/record.c
View file @
6b4ada6f
...
...
@@ -234,6 +234,18 @@ static void test_msirecord(void)
ok
(
i
==
ERROR_SUCCESS
,
"Failed to set string at 0
\n
"
);
i
=
MsiRecordGetInteger
(
h
,
0
);
ok
(
i
==
1
,
"should get one
\n
"
);
i
=
MsiRecordSetString
(
h
,
0
,
"foo"
);
ok
(
i
==
ERROR_SUCCESS
,
"Failed to set string at 0
\n
"
);
i
=
MsiRecordGetInteger
(
h
,
0
);
ok
(
i
==
MSI_NULL_INTEGER
,
"should get zero
\n
"
);
i
=
MsiRecordSetString
(
h
,
0
,
""
);
ok
(
i
==
ERROR_SUCCESS
,
"Failed to set string at 0
\n
"
);
i
=
MsiRecordGetInteger
(
h
,
0
);
ok
(
i
==
MSI_NULL_INTEGER
,
"should get zero
\n
"
);
i
=
MsiRecordSetString
(
h
,
0
,
"+1"
);
ok
(
i
==
ERROR_SUCCESS
,
"Failed to set string at 0
\n
"
);
i
=
MsiRecordGetInteger
(
h
,
0
);
ok
(
i
==
MSI_NULL_INTEGER
,
"should get zero
\n
"
);
/* same record, try converting integers to strings */
r
=
MsiRecordSetInteger
(
h
,
0
,
32
);
...
...
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