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
1a5607b4
Commit
1a5607b4
authored
Nov 10, 2010
by
Andrew Bogott
Committed by
Alexandre Julliard
Dec 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Skip some tests if a modern IE is not present.
parent
6ad5416f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
intshcut.c
dlls/shdocvw/tests/intshcut.c
+18
-0
No files found.
dlls/shdocvw/tests/intshcut.c
View file @
1a5607b4
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
#include "shobjidl.h"
#include "shobjidl.h"
#include "shlguid.h"
#include "shlguid.h"
#include "ole2.h"
#include "ole2.h"
#include "mshtml.h"
#include "initguid.h"
#include "initguid.h"
#include "isguids.h"
#include "isguids.h"
#include "intshcut.h"
#include "intshcut.h"
...
@@ -158,6 +159,20 @@ static void check_string_transform(IUniformResourceLocatorA *urlA, LPCSTR input,
...
@@ -158,6 +159,20 @@ static void check_string_transform(IUniformResourceLocatorA *urlA, LPCSTR input,
}
}
}
}
static
BOOL
check_ie
(
void
)
{
IHTMLDocument5
*
doc
;
HRESULT
hres
;
hres
=
CoCreateInstance
(
&
CLSID_HTMLDocument
,
NULL
,
CLSCTX_INPROC_SERVER
|
CLSCTX_INPROC_HANDLER
,
&
IID_IHTMLDocument5
,
(
void
**
)
&
doc
);
if
(
FAILED
(
hres
))
return
FALSE
;
IHTMLDocument5_Release
(
doc
);
return
TRUE
;
}
static
void
test_NullURLs
(
void
)
static
void
test_NullURLs
(
void
)
{
{
HRESULT
hr
;
HRESULT
hr
;
...
@@ -210,10 +225,13 @@ static void test_SetURLFlags(void)
...
@@ -210,10 +225,13 @@ static void test_SetURLFlags(void)
static
void
test_InternetShortcut
(
void
)
static
void
test_InternetShortcut
(
void
)
{
{
if
(
check_ie
())
{
test_Aggregability
();
test_Aggregability
();
test_QueryInterface
();
test_QueryInterface
();
test_NullURLs
();
test_NullURLs
();
test_SetURLFlags
();
test_SetURLFlags
();
}
}
}
START_TEST
(
intshcut
)
START_TEST
(
intshcut
)
...
...
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