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
575ee0bb
Commit
575ee0bb
authored
Sep 25, 2009
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Sep 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Fix sec_mgr tests on win98 (IE 4).
parent
f7d8954b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
sec_mgr.c
dlls/urlmon/tests/sec_mgr.c
+6
-3
No files found.
dlls/urlmon/tests/sec_mgr.c
View file @
575ee0bb
...
@@ -213,13 +213,15 @@ static void test_url_action(IInternetSecurityManager *secmgr, IInternetZoneManag
...
@@ -213,13 +213,15 @@ static void test_url_action(IInternetSecurityManager *secmgr, IInternetZoneManag
policy
=
0xdeadbeef
;
policy
=
0xdeadbeef
;
hres
=
IInternetSecurityManager_ProcessUrlAction
(
secmgr
,
url9
,
action
,
(
BYTE
*
)
&
policy
,
hres
=
IInternetSecurityManager_ProcessUrlAction
(
secmgr
,
url9
,
action
,
(
BYTE
*
)
&
policy
,
sizeof
(
WCHAR
),
NULL
,
0
,
0
,
0
);
sizeof
(
WCHAR
),
NULL
,
0
,
0
,
0
);
ok
(
hres
==
E_FAIL
,
"ProcessUrlAction(%x) failed: %08x, expected E_FAIL
\n
"
,
action
,
hres
);
ok
(
hres
==
E_FAIL
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_NOT_FOUND
)),
"(0x%x) got 0x%x (expected E_FAIL)
\n
"
,
action
,
hres
);
ok
(
policy
==
0xdeadbeef
,
"(%x) policy=%x
\n
"
,
action
,
policy
);
ok
(
policy
==
0xdeadbeef
,
"(%x) policy=%x
\n
"
,
action
,
policy
);
policy
=
0xdeadbeef
;
policy
=
0xdeadbeef
;
hres
=
IInternetZoneManager_GetZoneActionPolicy
(
zonemgr
,
3
,
action
,
(
BYTE
*
)
&
policy
,
hres
=
IInternetZoneManager_GetZoneActionPolicy
(
zonemgr
,
3
,
action
,
(
BYTE
*
)
&
policy
,
sizeof
(
DWORD
),
URLZONEREG_DEFAULT
);
sizeof
(
DWORD
),
URLZONEREG_DEFAULT
);
ok
(
hres
==
E_FAIL
,
"GetZoneActionPolicy failed: %08x, expected E_FAIL
\n
"
,
hres
);
ok
(
hres
==
E_FAIL
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_NOT_FOUND
)),
"(0x%x) got 0x%x (expected E_FAIL)
\n
"
,
action
,
hres
);
ok
(
policy
==
0xdeadbeef
,
"(%x) policy=%x
\n
"
,
action
,
policy
);
ok
(
policy
==
0xdeadbeef
,
"(%x) policy=%x
\n
"
,
action
,
policy
);
return
;
return
;
}
}
...
@@ -425,7 +427,8 @@ static void test_GetZoneActionPolicy(void)
...
@@ -425,7 +427,8 @@ static void test_GetZoneActionPolicy(void)
hres
=
IInternetZoneManager_GetZoneActionPolicy
(
zonemgr
,
3
,
0x1fff
,
buf
,
hres
=
IInternetZoneManager_GetZoneActionPolicy
(
zonemgr
,
3
,
0x1fff
,
buf
,
sizeof
(
DWORD
),
URLZONEREG_DEFAULT
);
sizeof
(
DWORD
),
URLZONEREG_DEFAULT
);
ok
(
hres
==
E_FAIL
,
"GetZoneActionPolicy failed: %08x, expected E_FAIL
\n
"
,
hres
);
ok
(
hres
==
E_FAIL
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_NOT_FOUND
)),
"(0x%x) got 0x%x (expected E_FAIL)
\n
"
,
action
,
hres
);
hres
=
IInternetZoneManager_GetZoneActionPolicy
(
zonemgr
,
13
,
action
,
buf
,
hres
=
IInternetZoneManager_GetZoneActionPolicy
(
zonemgr
,
13
,
action
,
buf
,
sizeof
(
DWORD
),
URLZONEREG_DEFAULT
);
sizeof
(
DWORD
),
URLZONEREG_DEFAULT
);
...
...
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