dmime/tests: Add some tests about end-points.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
parent
7d1cfb9e01
commit
8169c4d040
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue