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
61daa613
Commit
61daa613
authored
Jun 19, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Fix some test failures.
Results on test.winehq.org show failures for at least Vista as new DISPID's are known there.
parent
ff838008
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
20 deletions
+18
-20
automation.c
dlls/msi/tests/automation.c
+18
-20
No files found.
dlls/msi/tests/automation.c
View file @
61daa613
...
...
@@ -554,16 +554,6 @@ static void test_dispid(void)
}
dispid
=
get_dispid
(
pInstaller
,
"RelatedProducts"
);
ok
(
dispid
==
40
,
"Expected 40, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"RemovePatches"
);
ok
(
dispid
==
49
||
dispid
==
-
1
,
"Expected 49 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"ApplyMultiplePatches"
);
ok
(
dispid
==
51
||
dispid
==
-
1
,
"Expected 51 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"ProductsEx"
);
ok
(
dispid
==
52
||
dispid
==
-
1
,
"Expected 52 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"PatchesEx"
);
ok
(
dispid
==
55
||
dispid
==
-
1
,
"Expected 55 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"ExtractPatchXMLData"
);
ok
(
dispid
==
57
||
dispid
==
-
1
,
"Expected 57 or -1, got %d
\n
"
,
dispid
);
todo_wine
{
dispid
=
get_dispid
(
pInstaller
,
"PatchInfo"
);
...
...
@@ -583,20 +573,28 @@ static void test_dispid(void)
dispid
=
get_dispid
(
pInstaller
,
"FileSignatureInfo"
);
ok
(
dispid
==
48
,
"Expected 48, got %d
\n
"
,
dispid
);
}
/* MSDN claims the following functions exist but IDispatch->GetIDsOfNames disagrees */
dispid
=
get_dispid
(
pInstaller
,
"RemovePatches"
);
ok
(
dispid
==
49
||
dispid
==
-
1
,
"Expected 49 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"ApplyMultiplePatches"
);
ok
(
dispid
==
51
||
dispid
==
-
1
,
"Expected 51 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"ProductsEx"
);
ok
(
dispid
==
52
||
dispid
==
-
1
,
"Expected 52 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"PatchesEx"
);
ok
(
dispid
==
55
||
dispid
==
-
1
,
"Expected 55 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"ExtractPatchXMLData"
);
ok
(
dispid
==
57
||
dispid
==
-
1
,
"Expected 57 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"ProductElevated"
);
ok
(
dispid
==
-
1
,
"Expected -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"ProductInfoFromScript"
);
ok
(
dispid
==
-
1
,
"Expected -1, got %d
\n
"
,
dispid
);
ok
(
dispid
==
59
||
dispid
==
-
1
,
"Expected 59 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"ProvideAssembly"
);
ok
(
dispid
==
-
1
,
"Expected
-1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"
CreateAdvertise
Script"
);
ok
(
dispid
==
-
1
,
"Expected
-1, got %d
\n
"
,
dispid
);
ok
(
dispid
==
60
||
dispid
==
-
1
,
"Expected 60 or
-1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"
ProductInfoFrom
Script"
);
ok
(
dispid
==
61
||
dispid
==
-
1
,
"Expected 61 or
-1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"AdvertiseProduct"
);
ok
(
dispid
==
-
1
,
"Expected -1, got %d
\n
"
,
dispid
);
ok
(
dispid
==
62
||
dispid
==
-
1
,
"Expected 62 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"CreateAdvertiseScript"
);
ok
(
dispid
==
63
||
dispid
==
-
1
,
"Expected 63 or -1, got %d
\n
"
,
dispid
);
dispid
=
get_dispid
(
pInstaller
,
"PatchFiles"
);
ok
(
dispid
==
-
1
,
"Expected
-1, got %d
\n
"
,
dispid
);
ok
(
dispid
==
65
||
dispid
==
-
1
,
"Expected 65 or
-1, got %d
\n
"
,
dispid
);
}
/* Test basic IDispatch functions */
...
...
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