Commit 88cdfb9d authored by Alexandre Julliard's avatar Alexandre Julliard

comdlg32/tests: Remove some AbortProc checks that fail on various Windows versions.

parent 30e1445f
...@@ -353,25 +353,19 @@ static void test_abort_proc(void) ...@@ -353,25 +353,19 @@ static void test_abort_proc(void)
goto end; goto end;
} }
ok(abort_proc_called, "AbortProc didn't get called by StartDoc.\n"); /* StartDoc may or may not call abort proc */
abort_proc_called = FALSE;
abort_proc_called = FALSE;
ok(StartPage(print_dc) > 0, "StartPage failed\n"); ok(StartPage(print_dc) > 0, "StartPage failed\n");
ok(!abort_proc_called, "AbortProc got called unexpectedly by StartPage.\n"); ok(!abort_proc_called, "AbortProc got called unexpectedly by StartPage.\n");
abort_proc_called = FALSE; abort_proc_called = FALSE;
/* following functions sometimes call abort proc too */
ok(FillRect(print_dc, &rect, (HBRUSH)(COLOR_BACKGROUND + 1)), "FillRect failed\n"); ok(FillRect(print_dc, &rect, (HBRUSH)(COLOR_BACKGROUND + 1)), "FillRect failed\n");
ok(!abort_proc_called, "AbortProc got called unexpectedly by StretchBlt.\n");
abort_proc_called = FALSE;
ok(EndPage(print_dc) > 0, "EndPage failed\n"); ok(EndPage(print_dc) > 0, "EndPage failed\n");
ok(!abort_proc_called, "AbortProc got called unexpectedly by EndPage.\n");
abort_proc_called = FALSE;
ok(EndDoc(print_dc) > 0, "EndDoc failed\n"); ok(EndDoc(print_dc) > 0, "EndDoc failed\n");
ok(!abort_proc_called, "AbortProc got called unexpectedly by EndDoc.\n");
abort_proc_called = FALSE;
abort_proc_called = FALSE;
ok(DeleteDC(print_dc), "DeleteDC failed\n"); ok(DeleteDC(print_dc), "DeleteDC failed\n");
ok(!abort_proc_called, "AbortProc got called unexpectedly by DeleteDC.\n"); ok(!abort_proc_called, "AbortProc got called unexpectedly by DeleteDC.\n");
abort_proc_called = FALSE; abort_proc_called = FALSE;
......
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