Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
075e1898
Commit
075e1898
authored
May 11, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
May 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: automation: Test for Installer::CreateRecord error.
parent
2d8c2ce6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
automation.c
dlls/msi/tests/automation.c
+7
-0
No files found.
dlls/msi/tests/automation.c
View file @
075e1898
...
...
@@ -1340,6 +1340,7 @@ static void test_Installer(void)
{
static
WCHAR
szProductCode
[]
=
{
'{'
,
'F'
,
'1'
,
'C'
,
'3'
,
'A'
,
'F'
,
'5'
,
'0'
,
'-'
,
'8'
,
'B'
,
'5'
,
'6'
,
'-'
,
'4'
,
'A'
,
'6'
,
'9'
,
'-'
,
'A'
,
'0'
,
'0'
,
'C'
,
'-'
,
'0'
,
'0'
,
'7'
,
'7'
,
'3'
,
'F'
,
'E'
,
'4'
,
'2'
,
'F'
,
'3'
,
'0'
,
'}'
,
0
};
static
WCHAR
szBackslash
[]
=
{
'\\'
,
0
};
static
WCHAR
szCreateRecordException
[]
=
{
'C'
,
'r'
,
'e'
,
'a'
,
't'
,
'e'
,
'R'
,
'e'
,
'c'
,
'o'
,
'r'
,
'd'
,
','
,
'C'
,
'o'
,
'u'
,
'n'
,
't'
,
0
};
WCHAR
szPath
[
MAX_PATH
];
HRESULT
hr
;
UINT
len
;
...
...
@@ -1350,6 +1351,12 @@ static void test_Installer(void)
/* Installer::CreateRecord */
todo_wine
{
/* Test for error */
hr
=
Installer_CreateRecord
(
-
1
,
&
pRecord
);
ok
(
hr
==
DISP_E_EXCEPTION
,
"Installer_CreateRecord failed, hresult 0x%08x
\n
"
,
hr
);
ok_exception
(
hr
,
szCreateRecordException
);
/* Test for success */
hr
=
Installer_CreateRecord
(
1
,
&
pRecord
);
ok
(
SUCCEEDED
(
hr
),
"Installer_CreateRecord failed, hresult 0x%08x
\n
"
,
hr
);
ok
(
pRecord
!=
NULL
,
"Installer_CreateRecord should not have returned NULL record
\n
"
);
...
...
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