Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
e86296a4
Commit
e86296a4
authored
Oct 09, 2006
by
Michael Ploujnikov
Committed by
Alexandre Julliard
Oct 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Win64 printf format warning fixes.
parent
8e302e15
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
39 deletions
+38
-39
Makefile.in
dlls/msi/tests/Makefile.in
+0
-1
db.c
dlls/msi/tests/db.c
+29
-29
format.c
dlls/msi/tests/format.c
+0
-0
install.c
dlls/msi/tests/install.c
+5
-5
package.c
dlls/msi/tests/package.c
+4
-4
No files found.
dlls/msi/tests/Makefile.in
View file @
e86296a4
...
...
@@ -4,7 +4,6 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
TESTDLL
=
msi.dll
IMPORTS
=
cabinet msi ole32 advapi32 kernel32
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
CTESTS
=
\
db.c
\
...
...
dlls/msi/tests/db.c
View file @
e86296a4
This diff is collapsed.
Click to expand it.
dlls/msi/tests/format.c
View file @
e86296a4
This diff is collapsed.
Click to expand it.
dlls/msi/tests/install.c
View file @
e86296a4
...
...
@@ -619,12 +619,12 @@ static void test_MsiInstallProduct(void)
}
res
=
RegOpenKey
(
HKEY_LOCAL_MACHINE
,
"SOFTWARE
\\
Wine
\\
msitest"
,
&
hkey
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %
l
d
\n
"
,
res
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
size
=
MAX_PATH
;
type
=
REG_SZ
;
res
=
RegQueryValueExA
(
hkey
,
"Name"
,
NULL
,
&
type
,
(
LPBYTE
)
path
,
&
size
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %
l
d
\n
"
,
res
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
ok
(
!
lstrcmpA
(
path
,
"imaname"
),
"Expected imaname, got %s
\n
"
,
path
);
size
=
MAX_PATH
;
...
...
@@ -632,14 +632,14 @@ static void test_MsiInstallProduct(void)
res
=
RegQueryValueExA
(
hkey
,
"blah"
,
NULL
,
&
type
,
(
LPBYTE
)
path
,
&
size
);
todo_wine
{
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"Expected ERROR_FILE_NOT_FOUND, got %
l
d
\n
"
,
res
);
ok
(
res
==
ERROR_FILE_NOT_FOUND
,
"Expected ERROR_FILE_NOT_FOUND, got %d
\n
"
,
res
);
}
size
=
sizeof
(
num
);
type
=
REG_DWORD
;
res
=
RegQueryValueExA
(
hkey
,
"number"
,
NULL
,
&
type
,
(
LPBYTE
)
&
num
,
&
size
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %
l
d
\n
"
,
res
);
ok
(
num
==
314
,
"Expected 314, got %
l
d
\n
"
,
num
);
ok
(
res
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
res
);
ok
(
num
==
314
,
"Expected 314, got %d
\n
"
,
num
);
RegDeleteKeyA
(
HKEY_LOCAL_MACHINE
,
"SOFTWARE
\\
Wine
\\
msitest"
);
}
...
...
dlls/msi/tests/package.c
View file @
e86296a4
...
...
@@ -2078,25 +2078,25 @@ static void test_getproperty(void)
size
=
0
;
r
=
MsiGetProperty
(
hPackage
,
"Name"
,
NULL
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
ok
(
size
==
5
,
"Expected 5, got %
l
d
\n
"
,
size
);
ok
(
size
==
5
,
"Expected 5, got %d
\n
"
,
size
);
/* retrieve the size, empty string */
size
=
0
;
r
=
MsiGetProperty
(
hPackage
,
"Name"
,
empty
,
&
size
);
ok
(
r
==
ERROR_MORE_DATA
,
"Expected ERROR_MORE_DATA, got %d
\n
"
,
r
);
ok
(
size
==
5
,
"Expected 5, got %
l
d
\n
"
,
size
);
ok
(
size
==
5
,
"Expected 5, got %d
\n
"
,
size
);
/* don't change size */
r
=
MsiGetProperty
(
hPackage
,
"Name"
,
prop
,
&
size
);
ok
(
r
==
ERROR_MORE_DATA
,
"Expected ERROR_MORE_DATA, got %d
\n
"
,
r
);
ok
(
size
==
5
,
"Expected 5, got %
l
d
\n
"
,
size
);
ok
(
size
==
5
,
"Expected 5, got %d
\n
"
,
size
);
ok
(
!
lstrcmp
(
prop
,
"Valu"
),
"Expected Valu, got %s
\n
"
,
prop
);
/* increase the size by 1 */
size
++
;
r
=
MsiGetProperty
(
hPackage
,
"Name"
,
prop
,
&
size
);
ok
(
r
==
ERROR_SUCCESS
,
"Expected ERROR_SUCCESS, got %d
\n
"
,
r
);
ok
(
size
==
5
,
"Expected 5, got %
l
d
\n
"
,
size
);
ok
(
size
==
5
,
"Expected 5, got %d
\n
"
,
size
);
ok
(
!
lstrcmp
(
prop
,
"Value"
),
"Expected Value, got %s
\n
"
,
prop
);
r
=
MsiCloseHandle
(
hPackage
);
...
...
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