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
33b92a8c
Commit
33b92a8c
authored
Oct 10, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Compile tests with __WINESRC__ define.
parent
c6262a14
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
+8
-9
Makefile.in
dlls/ieframe/tests/Makefile.in
+0
-1
ie.c
dlls/ieframe/tests/ie.c
+1
-1
intshcut.c
dlls/ieframe/tests/intshcut.c
+1
-1
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+6
-6
No files found.
dlls/ieframe/tests/Makefile.in
View file @
33b92a8c
TESTDLL
=
ieframe.dll
IMPORTS
=
ole32 oleaut32 user32 gdi32 advapi32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
ie.c
\
...
...
dlls/ieframe/tests/ie.c
View file @
33b92a8c
...
...
@@ -222,7 +222,7 @@ static void test_navigate(IWebBrowser2 *wb, const char *url)
while
(
!
navigate_complete
&&
GetMessageW
(
&
msg
,
NULL
,
0
,
0
))
{
TranslateMessage
(
&
msg
);
DispatchMessage
(
&
msg
);
DispatchMessage
W
(
&
msg
);
}
CHECK_CALLED
(
Invoke_NAVIGATECOMPLETE2
);
...
...
dlls/ieframe/tests/intshcut.c
View file @
33b92a8c
...
...
@@ -265,7 +265,7 @@ static void test_ReadAndWriteProperties(void)
hr
=
urlAFromFile
->
lpVtbl
->
GetURL
(
urlAFromFile
,
&
url
);
ok
(
hr
==
S_OK
,
"Unable to get url from file, hr=0x%x
\n
"
,
hr
);
ok
(
lstrcmp
(
url
,
testurl
)
==
0
,
"Wrong url read from file: %s
\n
"
,
url
);
ok
(
lstrcmp
A
(
url
,
testurl
)
==
0
,
"Wrong url read from file: %s
\n
"
,
url
);
hr
=
urlAFromFile
->
lpVtbl
->
QueryInterface
(
urlAFromFile
,
&
IID_IPropertySetStorage
,
(
void
**
)
&
pPropSetStg
);
...
...
dlls/ieframe/tests/webbrowser.c
View file @
33b92a8c
...
...
@@ -2779,9 +2779,9 @@ static void test_download(DWORD flags)
SET_EXPECT
(
Exec_UPDATECOMMANDS
);
SET_EXPECT
(
QueryStatus_STOP
);
while
(
!*
b
&&
GetMessage
(
&
msg
,
NULL
,
0
,
0
))
{
while
(
!*
b
&&
GetMessage
W
(
&
msg
,
NULL
,
0
,
0
))
{
TranslateMessage
(
&
msg
);
DispatchMessage
(
&
msg
);
DispatchMessage
W
(
&
msg
);
}
if
(
flags
&
(
DWL_EXPECT_BEFORE_NAVIGATE
|
(
is_http
?
DWL_FROM_PUT_HREF
:
0
)))
...
...
@@ -2824,9 +2824,9 @@ static void test_download(DWORD flags)
test_ready_state
(
READYSTATE_COMPLETE
);
while
(
!
called_Exec_UPDATECOMMANDS
&&
GetMessage
(
&
msg
,
NULL
,
0
,
0
))
{
while
(
!
called_Exec_UPDATECOMMANDS
&&
GetMessage
A
(
&
msg
,
NULL
,
0
,
0
))
{
TranslateMessage
(
&
msg
);
DispatchMessage
(
&
msg
);
DispatchMessage
A
(
&
msg
);
}
todo_wine
CHECK_CALLED
(
Invoke_PROGRESSCHANGE
);
...
...
@@ -3565,10 +3565,10 @@ static BOOL is_ie_hardened(void)
DWORD
ie_harden
,
type
,
size
;
ie_harden
=
0
;
if
(
RegOpenKeyEx
(
HKEY_CURRENT_USER
,
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Internet Settings
\\
ZoneMap"
,
if
(
RegOpenKeyEx
A
(
HKEY_CURRENT_USER
,
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Internet Settings
\\
ZoneMap"
,
0
,
KEY_QUERY_VALUE
,
&
zone_map
)
==
ERROR_SUCCESS
)
{
size
=
sizeof
(
DWORD
);
if
(
RegQueryValueEx
(
zone_map
,
"IEHarden"
,
NULL
,
&
type
,
(
LPBYTE
)
&
ie_harden
,
&
size
)
!=
ERROR_SUCCESS
||
if
(
RegQueryValueEx
A
(
zone_map
,
"IEHarden"
,
NULL
,
&
type
,
(
LPBYTE
)
&
ie_harden
,
&
size
)
!=
ERROR_SUCCESS
||
type
!=
REG_DWORD
)
{
ie_harden
=
0
;
}
...
...
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