mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:39:34 +00:00
atl100/tests: Trace GetLastError() when DeleteFile() fails.
test_AtlAxCreateControl()'s DeleteFile() call fails from time to time.
This commit is contained in:
parent
e60e8af0a9
commit
d384e858c1
|
@ -786,7 +786,7 @@ static void test_ax_win(void)
|
||||||
|
|
||||||
/* test file:// scheme on non-existent file */
|
/* test file:// scheme on non-existent file */
|
||||||
ret = DeleteFileW(pathW);
|
ret = DeleteFileW(pathW);
|
||||||
ok(ret, "DeleteFile failed!\n");
|
ok(ret, "DeleteFile failed (gle=%lu)\n", GetLastError());
|
||||||
hwnd = CreateWindowW(cls_names[i], file_uri1W, 0, 100, 100, 100, 100, NULL, NULL, NULL, NULL);
|
hwnd = CreateWindowW(cls_names[i], file_uri1W, 0, 100, 100, 100, 100, NULL, NULL, NULL, NULL);
|
||||||
ok(hwnd != NULL, "CreateWindow failed!\n");
|
ok(hwnd != NULL, "CreateWindow failed!\n");
|
||||||
control = NULL;
|
control = NULL;
|
||||||
|
@ -1048,7 +1048,7 @@ static void test_AtlAxCreateControl(void)
|
||||||
|
|
||||||
/* test file:// scheme on non-existent file. */
|
/* test file:// scheme on non-existent file. */
|
||||||
ret = DeleteFileW(pathW);
|
ret = DeleteFileW(pathW);
|
||||||
ok(ret, "DeleteFile failed!\n");
|
ok(ret, "DeleteFile failed (gle=%lu)\n", GetLastError());
|
||||||
container = NULL;
|
container = NULL;
|
||||||
control = NULL;
|
control = NULL;
|
||||||
hwnd = create_container_window();
|
hwnd = create_container_window();
|
||||||
|
|
Loading…
Reference in a new issue