mirror of
https://github.com/reactos/reactos.git
synced 2025-06-09 11:20:39 +00:00
[QUARTZ_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75859
This commit is contained in:
parent
e8ecd538d4
commit
323ee47885
2 changed files with 7 additions and 5 deletions
|
@ -1,4 +1,6 @@
|
||||||
|
|
||||||
|
add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG)
|
||||||
|
|
||||||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
|
|
|
@ -581,21 +581,21 @@ static void test_mediacontrol(void)
|
||||||
pos = 0xdeadbeef;
|
pos = 0xdeadbeef;
|
||||||
hr = IMediaSeeking_ConvertTimeFormat(seeking, &pos, NULL, 0x123456789a, NULL);
|
hr = IMediaSeeking_ConvertTimeFormat(seeking, &pos, NULL, 0x123456789a, NULL);
|
||||||
ok(hr == S_OK, "ConvertTimeFormat failed: %08x\n", hr);
|
ok(hr == S_OK, "ConvertTimeFormat failed: %08x\n", hr);
|
||||||
ok(pos == 0x123456789a, "ConvertTimeFormat: expected 123456789a, got (%x%08x)\n", (DWORD)(pos >> 32), (DWORD)pos);
|
ok(pos == 0x123456789a, "ConvertTimeFormat: expected 123456789a, got (%s)\n", wine_dbgstr_longlong(pos));
|
||||||
|
|
||||||
pos = 0xdeadbeef;
|
pos = 0xdeadbeef;
|
||||||
hr = IMediaSeeking_ConvertTimeFormat(seeking, &pos, &TIME_FORMAT_MEDIA_TIME, 0x123456789a, NULL);
|
hr = IMediaSeeking_ConvertTimeFormat(seeking, &pos, &TIME_FORMAT_MEDIA_TIME, 0x123456789a, NULL);
|
||||||
ok(hr == S_OK, "ConvertTimeFormat failed: %08x\n", hr);
|
ok(hr == S_OK, "ConvertTimeFormat failed: %08x\n", hr);
|
||||||
ok(pos == 0x123456789a, "ConvertTimeFormat: expected 123456789a, got (%x%08x)\n", (DWORD)(pos >> 32), (DWORD)pos);
|
ok(pos == 0x123456789a, "ConvertTimeFormat: expected 123456789a, got (%s)\n", wine_dbgstr_longlong(pos));
|
||||||
|
|
||||||
pos = 0xdeadbeef;
|
pos = 0xdeadbeef;
|
||||||
hr = IMediaSeeking_ConvertTimeFormat(seeking, &pos, NULL, 0x123456789a, &TIME_FORMAT_MEDIA_TIME);
|
hr = IMediaSeeking_ConvertTimeFormat(seeking, &pos, NULL, 0x123456789a, &TIME_FORMAT_MEDIA_TIME);
|
||||||
ok(hr == S_OK, "ConvertTimeFormat failed: %08x\n", hr);
|
ok(hr == S_OK, "ConvertTimeFormat failed: %08x\n", hr);
|
||||||
ok(pos == 0x123456789a, "ConvertTimeFormat: expected 123456789a, got (%x%08x)\n", (DWORD)(pos >> 32), (DWORD)pos);
|
ok(pos == 0x123456789a, "ConvertTimeFormat: expected 123456789a, got (%s)\n", wine_dbgstr_longlong(pos));
|
||||||
|
|
||||||
hr = IMediaSeeking_GetCurrentPosition(seeking, &pos);
|
hr = IMediaSeeking_GetCurrentPosition(seeking, &pos);
|
||||||
ok(hr == S_OK, "GetCurrentPosition failed: %08x\n", hr);
|
ok(hr == S_OK, "GetCurrentPosition failed: %08x\n", hr);
|
||||||
ok(pos == 0, "Position != 0 (%x%08x)\n", (DWORD)(pos >> 32), (DWORD)pos);
|
ok(pos == 0, "Position != 0 (%s)\n", wine_dbgstr_longlong(pos));
|
||||||
|
|
||||||
hr = IMediaSeeking_SetPositions(seeking, NULL, AM_SEEKING_ReturnTime, NULL, AM_SEEKING_NoPositioning);
|
hr = IMediaSeeking_SetPositions(seeking, NULL, AM_SEEKING_ReturnTime, NULL, AM_SEEKING_NoPositioning);
|
||||||
ok(hr == S_OK, "SetPositions failed: %08x\n", hr);
|
ok(hr == S_OK, "SetPositions failed: %08x\n", hr);
|
||||||
|
@ -606,7 +606,7 @@ static void test_mediacontrol(void)
|
||||||
pos = 0xdeadbeef;
|
pos = 0xdeadbeef;
|
||||||
hr = IMediaSeeking_GetCurrentPosition(seeking, &pos);
|
hr = IMediaSeeking_GetCurrentPosition(seeking, &pos);
|
||||||
ok(hr == S_OK, "GetCurrentPosition failed: %08x\n", hr);
|
ok(hr == S_OK, "GetCurrentPosition failed: %08x\n", hr);
|
||||||
ok(pos == 0, "Position != 0 (%x%08x)\n", (DWORD)(pos >> 32), (DWORD)pos);
|
ok(pos == 0, "Position != 0 (%s)\n", wine_dbgstr_longlong(pos));
|
||||||
|
|
||||||
hr = IMediaControl_GetState(control, 1000, NULL);
|
hr = IMediaControl_GetState(control, 1000, NULL);
|
||||||
ok(hr == E_POINTER, "GetState expected %08x, got %08x\n", E_POINTER, hr);
|
ok(hr == E_POINTER, "GetState expected %08x, got %08x\n", E_POINTER, hr);
|
||||||
|
|
Loading…
Reference in a new issue