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
bb2a07f8
Commit
bb2a07f8
authored
Jan 25, 2014
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jan 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript/tests: Use common wine_dbgstr_guid implementation from test.h.
parent
e877ec4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
17 deletions
+5
-17
activex.c
dlls/jscript/tests/activex.c
+5
-17
No files found.
dlls/jscript/tests/activex.c
View file @
bb2a07f8
...
...
@@ -116,18 +116,6 @@ const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY =
#define DISPID_GLOBAL_OK 0x2000
static
const
char
*
debugstr_guid
(
REFIID
riid
)
{
static
char
buf
[
50
];
sprintf
(
buf
,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
riid
->
Data1
,
riid
->
Data2
,
riid
->
Data3
,
riid
->
Data4
[
0
],
riid
->
Data4
[
1
],
riid
->
Data4
[
2
],
riid
->
Data4
[
3
],
riid
->
Data4
[
4
],
riid
->
Data4
[
5
],
riid
->
Data4
[
6
],
riid
->
Data4
[
7
]);
return
buf
;
}
static
BSTR
a2bstr
(
const
char
*
str
)
{
BSTR
ret
;
...
...
@@ -433,7 +421,7 @@ static HRESULT WINAPI ClassFactory_CreateInstance(IClassFactory *iface, IUnknown
CHECK_EXPECT
(
CreateInstance
);
ok
(
!
outer
,
"outer = %p
\n
"
,
outer
);
ok
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
),
"unexpected riid %s
\n
"
,
debu
gstr_guid
(
riid
));
ok
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
),
"unexpected riid %s
\n
"
,
wine_db
gstr_guid
(
riid
));
if
(
SUCCEEDED
(
CreateInstance_hres
))
*
ppv
=
&
testObj
;
...
...
@@ -489,7 +477,7 @@ static HRESULT WINAPI InternetHostSecurityManager_ProcessUrlAction(IInternetHost
ok
(
cbPolicy
==
sizeof
(
DWORD
),
"cbPolicy = %d
\n
"
,
cbPolicy
);
ok
(
pContext
!=
NULL
,
"pContext == NULL
\n
"
);
ok
(
cbContext
==
sizeof
(
GUID
),
"cbContext = %d
\n
"
,
cbContext
);
ok
(
IsEqualGUID
(
pContext
,
&
CLSID_TestObj
),
"pContext = %s
\n
"
,
debu
gstr_guid
((
const
IID
*
)
pContext
));
ok
(
IsEqualGUID
(
pContext
,
&
CLSID_TestObj
),
"pContext = %s
\n
"
,
wine_db
gstr_guid
((
const
IID
*
)
pContext
));
ok
(
!
dwFlags
,
"dwFlags = %x
\n
"
,
dwFlags
);
ok
(
!
dwReserved
,
"dwReserved = %x
\n
"
,
dwReserved
);
...
...
@@ -506,7 +494,7 @@ static HRESULT WINAPI InternetHostSecurityManager_QueryCustomPolicy(IInternetHos
CHECK_EXPECT
(
QueryCustomPolicy
);
ok
(
IsEqualGUID
(
&
GUID_CUSTOM_CONFIRMOBJECTSAFETY
,
guidKey
),
"guidKey = %s
\n
"
,
debu
gstr_guid
(
guidKey
));
ok
(
IsEqualGUID
(
&
GUID_CUSTOM_CONFIRMOBJECTSAFETY
,
guidKey
),
"guidKey = %s
\n
"
,
wine_db
gstr_guid
(
guidKey
));
ok
(
ppPolicy
!=
NULL
,
"ppPolicy == NULL
\n
"
);
ok
(
pcbPolicy
!=
NULL
,
"pcbPolicy == NULL
\n
"
);
...
...
@@ -571,13 +559,13 @@ static HRESULT WINAPI ServiceProvider_QueryService(IServiceProvider *iface,
CHECK_EXPECT
(
Host_QS_SecMgr
);
else
CHECK_EXPECT
(
Caller_QS_SecMgr
);
ok
(
IsEqualGUID
(
&
IID_IInternetHostSecurityManager
,
riid
),
"unexpected riid %s
\n
"
,
debu
gstr_guid
(
riid
));
ok
(
IsEqualGUID
(
&
IID_IInternetHostSecurityManager
,
riid
),
"unexpected riid %s
\n
"
,
wine_db
gstr_guid
(
riid
));
if
(
SUCCEEDED
(
QS_SecMgr_hres
))
*
ppv
=
&
InternetHostSecurityManager
;
return
QS_SecMgr_hres
;
}
ok
(
0
,
"unexpected service %s
\n
"
,
debu
gstr_guid
(
guidService
));
ok
(
0
,
"unexpected service %s
\n
"
,
wine_db
gstr_guid
(
guidService
));
return
E_NOINTERFACE
;
}
...
...
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