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
ef1e187a
Commit
ef1e187a
authored
Nov 05, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Remove Win9x workarounds from moniker tests.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9cb55ea3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
15 deletions
+7
-15
moniker.c
dlls/ole32/tests/moniker.c
+7
-15
No files found.
dlls/ole32/tests/moniker.c
View file @
ef1e187a
...
...
@@ -708,11 +708,8 @@ static void test_ROT(void)
ROTFLAGS_REGISTRATIONKEEPSALIVE
|
ROTFLAGS_ALLOWANYCLIENT
,
(
IUnknown
*
)
&
Test_ClassFactory
,
pMoniker
,
&
dwCookie
);
todo_wine
{
ok
(
hr
==
CO_E_WRONG_SERVER_IDENTITY
||
broken
(
hr
==
S_OK
)
/* Win9x */
,
"IRunningObjectTable_Register should have returned CO_E_WRONG_SERVER_IDENTITY instead of 0x%08x
\n
"
,
hr
);
ok
(
hr
==
CO_E_WRONG_SERVER_IDENTITY
,
"Unexpected hr %#x.
\n
"
,
hr
);
}
if
(
hr
==
S_OK
)
IRunningObjectTable_Revoke
(
pROT
,
dwCookie
);
hr
=
IRunningObjectTable_Register
(
pROT
,
0xdeadbeef
,
(
IUnknown
*
)
&
Test_ClassFactory
,
pMoniker
,
&
dwCookie
);
...
...
@@ -919,8 +916,8 @@ static void test_MkParseDisplayName(void)
eaten
=
0xdeadbeef
;
pmk
=
(
IMoniker
*
)
0xdeadbeef
;
hr
=
MkParseDisplayName
(
pbc
,
wszNonExistentProgId
,
&
eaten
,
&
pmk
);
ok
(
hr
==
MK_E_SYNTAX
||
hr
==
MK_E_CANTOPENFILE
/* Win9x */
,
"MkParseDisplayName should have failed with MK_E_SYNTAX or MK_E_CANTOPENFILE instead of 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
MK_E_SYNTAX
,
"Unexpected hr %#x.
\n
"
,
hr
);
ok
(
eaten
==
0
,
"Processed character count should have been 0 instead of %u
\n
"
,
eaten
);
ok
(
pmk
==
NULL
,
"Output moniker pointer should have been NULL instead of %p
\n
"
,
pmk
);
...
...
@@ -929,8 +926,8 @@ static void test_MkParseDisplayName(void)
eaten
=
0xdeadbeef
;
pmk
=
(
IMoniker
*
)
0xdeadbeef
;
hr
=
MkParseDisplayName
(
pbc
,
wszDisplayNameClsid
,
&
eaten
,
&
pmk
);
ok
(
hr
==
MK_E_SYNTAX
||
hr
==
MK_E_CANTOPENFILE
/* Win9x */
,
"MkParseDisplayName should have failed with MK_E_SYNTAX or MK_E_CANTOPENFILE instead of 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
MK_E_SYNTAX
,
"Unexpected hr %#x.
\n
"
,
hr
);
ok
(
eaten
==
0
,
"Processed character count should have been 0 instead of %u
\n
"
,
eaten
);
ok
(
pmk
==
NULL
,
"Output moniker pointer should have been NULL instead of %p
\n
"
,
pmk
);
...
...
@@ -1009,8 +1006,8 @@ static void test_MkParseDisplayName(void)
eaten
=
0xdeadbeef
;
pmk
=
(
IMoniker
*
)
0xdeadbeef
;
hr
=
MkParseDisplayName
(
pbc
,
wszDisplayNameProgIdFail
,
&
eaten
,
&
pmk
);
ok
(
hr
==
MK_E_SYNTAX
||
hr
==
MK_E_CANTOPENFILE
/* Win9x */
,
"MkParseDisplayName with ProgId without marker should fail with MK_E_SYNTAX or MK_E_CANTOPENFILE instead of 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
MK_E_SYNTAX
,
"Unexpected hr %#x.
\n
"
,
hr
);
ok
(
eaten
==
0
,
"Processed character count should have been 0 instead of %u
\n
"
,
eaten
);
ok
(
pmk
==
NULL
,
"Output moniker pointer should have been NULL instead of %p
\n
"
,
pmk
);
...
...
@@ -2054,11 +2051,6 @@ static void test_save_load_filemoniker(void)
START_TEST
(
moniker
)
{
if
(
!
GetProcAddress
(
GetModuleHandleA
(
"ole32.dll"
),
"CoRegisterSurrogateEx"
))
{
win_skip
(
"skipping test on win9x
\n
"
);
return
;
}
CoInitializeEx
(
NULL
,
COINIT_APARTMENTTHREADED
);
test_ROT
();
...
...
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