mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-03 00:42:46 +00:00
quartz/tests: Add new tests about fullscreen handling.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
parent
5fb9b19218
commit
faa5cade4a
|
@ -2966,6 +2966,14 @@ static void test_control_delegation(void)
|
|||
hr = IVideoWindow_SetWindowForeground(window, OAFALSE);
|
||||
ok(hr == VFW_E_NOT_CONNECTED, "Got hr %#lx.\n", hr);
|
||||
|
||||
val = 0xdeadbeef;
|
||||
hr = IVideoWindow_get_FullScreenMode(window, &val);
|
||||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
ok(val == OAFALSE, "Got fullscreen %lu\n", val);
|
||||
|
||||
hr = IVideoWindow_put_FullScreenMode(window, OAFALSE);
|
||||
todo_wine ok(hr == S_FALSE, "Got hr %#lx.\n", hr);
|
||||
|
||||
hr = IFilterGraph2_RemoveFilter(graph, renderer);
|
||||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
|
||||
|
|
|
@ -2466,6 +2466,18 @@ static void test_video_window(void)
|
|||
hr = IVideoWindow_GetMaxIdealImageSize(window, &width, &height);
|
||||
todo_wine ok(hr == VFW_E_WRONG_STATE, "Got hr %#lx.\n", hr);
|
||||
|
||||
IVideoWindow_Release(window);
|
||||
|
||||
hr = IFilterGraph2_QueryInterface(graph, &IID_IVideoWindow, (void **)&window);
|
||||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
|
||||
l = 0xdeadbeef;
|
||||
hr = IVideoWindow_get_FullScreenMode(window, &l);
|
||||
todo_wine ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
todo_wine ok(l == OAFALSE, "Got fullscreenmode %ld.\n", l);
|
||||
hr = IVideoWindow_put_FullScreenMode(window, l);
|
||||
todo_wine ok(hr == S_FALSE, "Got hr %#lx.\n", hr);
|
||||
|
||||
IFilterGraph2_Release(graph);
|
||||
IVideoWindow_Release(window);
|
||||
IOverlay_Release(overlay);
|
||||
|
|
Loading…
Reference in a new issue