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
185ad65d
Commit
185ad65d
authored
Jun 10, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Only skip the tests if we are on NT4 or below.
parent
f75e4bf0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
ole2.c
dlls/ole32/tests/ole2.c
+6
-2
No files found.
dlls/ole32/tests/ole2.c
View file @
185ad65d
...
...
@@ -1130,8 +1130,8 @@ static void test_data_cache(void)
hr
=
IOleCache_Uncache
(
pOleCache
,
0xdeadbeef
);
ok
(
hr
==
OLE_E_NOCONNECTION
,
"IOleCache_Uncache with invalid value should return OLE_E_NOCONNECTION instead of 0x%x
\n
"
,
hr
);
/* Both tests crash on NT4 and below */
if
(
0
)
/* Both tests crash on NT4 and below
. StgCreatePropSetStg is only available on w2k and above.
*/
if
(
GetProcAddress
(
GetModuleHandleA
(
"ole32.dll"
),
"StgCreatePropSetStg"
)
)
{
hr
=
IOleCache_Cache
(
pOleCache
,
NULL
,
0
,
&
dwConnection
);
ok
(
hr
==
E_INVALIDARG
,
"IOleCache_Cache with NULL fmtetc should have returned E_INVALIDARG instead of 0x%08x
\n
"
,
hr
);
...
...
@@ -1139,6 +1139,10 @@ static void test_data_cache(void)
hr
=
IOleCache_Cache
(
pOleCache
,
NULL
,
0
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"IOleCache_Cache with NULL pdwConnection should have returned E_INVALIDARG instead of 0x%08x
\n
"
,
hr
);
}
else
{
skip
(
"tests with NULL parameters will crash on NT4 and below
\n
"
);
}
for
(
fmtetc
.
cfFormat
=
CF_TEXT
;
fmtetc
.
cfFormat
<
CF_MAX
;
fmtetc
.
cfFormat
++
)
{
...
...
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