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
58870ce8
Commit
58870ce8
authored
Oct 10, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Oct 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Clean up after the package tests.
parent
eb18bd94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
package.c
dlls/msi/tests/package.c
+10
-0
No files found.
dlls/msi/tests/package.c
View file @
58870ce8
...
...
@@ -1655,6 +1655,8 @@ static void test_states(void)
hpkg
=
package_from_db
(
hdb
);
ok
(
hpkg
,
"failed to create package
\n
"
);
MsiCloseHandle
(
hdb
);
state
=
0xdeadbee
;
action
=
0xdeadbee
;
r
=
MsiGetFeatureState
(
hpkg
,
"one"
,
&
state
,
&
action
);
...
...
@@ -2057,6 +2059,7 @@ static void test_states(void)
ok
(
action
==
INSTALLSTATE_LOCAL
,
"Expected INSTALLSTATE_LOCAL, got %d
\n
"
,
action
);
MsiCloseHandle
(
hpkg
);
DeleteFileA
(
msifile
);
}
static
void
test_getproperty
(
void
)
...
...
@@ -2194,6 +2197,8 @@ static void test_removefiles(void)
hpkg
=
package_from_db
(
hdb
);
ok
(
hpkg
,
"failed to create package
\n
"
);
MsiCloseHandle
(
hdb
);
create_test_file
(
"hydrogen.txt"
);
create_test_file
(
"helium.txt"
);
create_test_file
(
"lithium.txt"
);
...
...
@@ -2280,6 +2285,8 @@ static void test_appsearch(void)
hpkg
=
package_from_db
(
hdb
);
ok
(
hpkg
,
"failed to create package
\n
"
);
MsiCloseHandle
(
hdb
);
r
=
MsiDoAction
(
hpkg
,
"AppSearch"
);
ok
(
r
==
ERROR_SUCCESS
,
"AppSearch failed: %d
\n
"
,
r
);
...
...
@@ -2466,6 +2473,8 @@ static void test_featureparents(void)
hpkg
=
package_from_db
(
hdb
);
ok
(
hpkg
,
"failed to create package
\n
"
);
MsiCloseHandle
(
hdb
);
r
=
MsiDoAction
(
hpkg
,
"CostInitialize"
);
ok
(
r
==
ERROR_SUCCESS
,
"cost init failed
\n
"
);
...
...
@@ -2689,6 +2698,7 @@ static void test_featureparents(void)
ok
(
action
==
INSTALLSTATE_UNKNOWN
,
"Expected INSTALLSTATE_UNKNOWN, got %d
\n
"
,
action
);
MsiCloseHandle
(
hpkg
);
DeleteFileA
(
msifile
);
}
static
void
test_installprops
(
void
)
...
...
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