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
cbf48dae
Commit
cbf48dae
authored
Dec 15, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Dec 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime/tests: Allow small time variation in test_segment_state.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55637
parent
2f86a5d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
dmime.c
dlls/dmime/tests/dmime.c
+7
-4
No files found.
dlls/dmime/tests/dmime.c
View file @
cbf48dae
...
...
@@ -4503,17 +4503,20 @@ static void test_segment_state(void)
tmp_state
=
(
void
*
)
0xdeadbeef
;
hr
=
IDirectMusicPerformance_GetSegmentState
(
performance
,
&
tmp_state
,
0
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
ok
(
state
==
tmp_state
,
"got %p
\n
"
,
state
);
ok
(
hr
==
S_OK
||
broken
(
hr
==
DMUS_E_NOT_FOUND
)
/* sometimes on Windows */
,
"got %#lx
\n
"
,
hr
);
if
(
hr
==
S_OK
)
{
ok
(
state
==
tmp_state
,
"got %p
\n
"
,
tmp_state
);
IDirectMusicSegmentState_Release
(
tmp_state
);
}
tmp_state
=
(
void
*
)
0xdeadbeef
;
hr
=
IDirectMusicPerformance_GetSegmentState
(
performance
,
&
tmp_state
,
69
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
ok
(
state
==
tmp_state
,
"got %p
\n
"
,
state
);
ok
(
state
==
tmp_state
,
"got %p
\n
"
,
tmp_
state
);
IDirectMusicSegmentState_Release
(
tmp_state
);
hr
=
IDirectMusicPerformance_GetSegmentState
(
performance
,
&
tmp_state
,
7
0
);
hr
=
IDirectMusicPerformance_GetSegmentState
(
performance
,
&
tmp_state
,
7
1
);
todo_wine
ok
(
hr
==
DMUS_E_NOT_FOUND
,
"got %#lx
\n
"
,
hr
);
...
...
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