Eric Pouech : dmime/tests: Add some tests about end-points.
Module: wine Branch: master Commit: 8169c4d040e8301e6401a03729443e3b1f635398 URL: https://gitlab.winehq.org/wine/wine/-/commit/8169c4d040e8301e6401a03729443e3... Author: Eric Pouech <epouech(a)codeweavers.com> Date: Mon Jan 22 17:40:19 2024 +0100 dmime/tests: Add some tests about end-points. Signed-off-by: Eric Pouech <epouech(a)codeweavers.com> --- dlls/dmime/tests/dmime.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/dmime/tests/dmime.c b/dlls/dmime/tests/dmime.c index f96e6509b7a..26fdf3ef2a5 100644 --- a/dlls/dmime/tests/dmime.c +++ b/dlls/dmime/tests/dmime.c @@ -4512,6 +4512,10 @@ static void test_segment_state(void) ok(hr == S_OK, "got %#lx\n", hr); hr = IDirectMusicSegment_SetRepeats(segment, 0); ok(hr == S_OK, "got %#lx\n", hr); + hr = IDirectMusicSegment_SetLoopPoints(segment, 10, 70); + ok(hr == S_OK, "got %#lx\n", hr); + hr = IDirectMusicSegment_SetLoopPoints(segment, 10, 101); + ok(hr == DMUS_E_OUT_OF_RANGE, "got %#lx\n", hr); hr = IDirectMusicSegment_SetLoopPoints(segment, 0, 0); ok(hr == S_OK, "got %#lx\n", hr);
participants (1)
-
Alexandre Julliard