Commit c738be12 authored by Alexandre Julliard's avatar Alexandre Julliard

quartz/tests: Mark some tests as flaky.

parent 48f99c41
......@@ -430,6 +430,7 @@ static void test_state_change(IFilterGraph2 *graph)
hr = IMediaControl_Pause(control);
ok(SUCCEEDED(hr), "Got hr %#lx.\n", hr);
hr = IMediaControl_GetState(control, 1000, &state);
flaky_wine
ok(hr == S_OK, "Got hr %#lx.\n", hr);
ok(state == State_Paused, "Got state %ld.\n", state);
......@@ -519,10 +520,12 @@ static void test_media_event(IFilterGraph2 *graph)
}
}
}
flaky_wine
ok(got_eos, "didn't get EOS\n");
hr = IMediaSeeking_GetCurrentPosition(seeking, &current);
ok(hr == S_OK, "Got hr %#lx.\n", hr);
flaky_wine
ok(current == stop, "expected %s, got %s\n", wine_dbgstr_longlong(stop), wine_dbgstr_longlong(current));
hr = IMediaControl_Stop(control);
......
......@@ -1723,6 +1723,7 @@ static void test_video_window_style(IVideoWindow *window, HWND hwnd, HWND our_hw
style = GetWindowLongA(hwnd, GWL_STYLE);
ok(style == (WS_CLIPSIBLINGS | WS_OVERLAPPEDWINDOW), "Got style %#lx.\n", style);
flaky_wine
ok(GetActiveWindow() == our_hwnd, "Got active window %p.\n", GetActiveWindow());
hr = IVideoWindow_get_WindowStyleEx(window, &style);
......@@ -2349,6 +2350,7 @@ static void test_video_window(void)
filter = create_video_renderer();
flush_events();
flaky_wine
ok(GetActiveWindow() == our_hwnd, "Got active window %p.\n", GetActiveWindow());
IBaseFilter_FindPin(filter, L"In", &pin);
......@@ -2385,6 +2387,7 @@ static void test_video_window(void)
hr = IFilterGraph2_ConnectDirect(graph, &source.source.pin.IPin_iface, pin, &req_mt);
ok(hr == S_OK, "Got hr %#lx.\n", hr);
flaky_wine
ok(GetActiveWindow() == our_hwnd, "Got active window %p.\n", GetActiveWindow());
test_video_window_caption(window, hwnd);
......
......@@ -1725,6 +1725,7 @@ static void test_video_window_style(IVideoWindow *window, HWND hwnd, HWND our_hw
style = GetWindowLongA(hwnd, GWL_STYLE);
ok(style == (WS_CLIPSIBLINGS | WS_OVERLAPPEDWINDOW), "Got style %#lx.\n", style);
flaky_wine
ok(GetActiveWindow() == our_hwnd, "Got active window %p.\n", GetActiveWindow());
hr = IVideoWindow_get_WindowStyleEx(window, &style);
......@@ -2354,6 +2355,7 @@ static void test_video_window(void)
filter = create_vmr7(0);
flush_events();
flaky_wine
ok(GetActiveWindow() == our_hwnd, "Got active window %p.\n", GetActiveWindow());
IBaseFilter_FindPin(filter, L"VMR Input0", &pin);
......@@ -2407,6 +2409,7 @@ static void test_video_window(void)
IMemAllocator_Release(allocator);
}
flaky_wine
ok(GetActiveWindow() == our_hwnd, "Got active window %p.\n", GetActiveWindow());
test_video_window_caption(window, hwnd);
......
......@@ -1949,6 +1949,7 @@ static void test_video_window_style(IVideoWindow *window, HWND hwnd, HWND our_hw
style = GetWindowLongA(hwnd, GWL_STYLE);
ok(style == (WS_CLIPSIBLINGS | WS_OVERLAPPEDWINDOW), "Got style %#lx.\n", style);
flaky_wine
ok(GetActiveWindow() == our_hwnd, "Got active window %p.\n", GetActiveWindow());
hr = IVideoWindow_get_WindowStyleEx(window, &style);
......@@ -2580,6 +2581,7 @@ static void test_video_window(void)
filter = create_vmr9(VMR9Mode_Windowed);
flush_events();
flaky_wine
ok(GetActiveWindow() == our_hwnd, "Got active window %p.\n", GetActiveWindow());
IBaseFilter_FindPin(filter, L"VMR Input0", &pin);
......@@ -2632,6 +2634,7 @@ static void test_video_window(void)
IMemAllocator_Release(allocator);
}
flaky_wine
ok(GetActiveWindow() == our_hwnd, "Got active window %p.\n", GetActiveWindow());
test_video_window_caption(window, hwnd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment