qmgr/tests: Use standard wine_dbgstr_longlong.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2017-07-06 06:13:19 +00:00 committed by Alexandre Julliard
parent 136d9928b6
commit d11a6e6c04
2 changed files with 8 additions and 8 deletions

View File

@ -175,10 +175,10 @@ static void test_GetProgress_PreTransfer(void)
hres = IBackgroundCopyFile_GetProgress(test_file, &progress);
ok(hres == S_OK, "GetProgress failed: %08x\n", hres);
ok(progress.BytesTotal == BG_SIZE_UNKNOWN, "Got incorrect total size: %x%08x\n",
(DWORD)(progress.BytesTotal >> 32), (DWORD)progress.BytesTotal);
ok(progress.BytesTransferred == 0, "Got incorrect number of transferred bytes: %x%08x\n",
(DWORD)(progress.BytesTransferred >> 32), (DWORD)progress.BytesTransferred);
ok(progress.BytesTotal == BG_SIZE_UNKNOWN, "Got incorrect total size: %s\n",
wine_dbgstr_longlong(progress.BytesTotal));
ok(progress.BytesTransferred == 0, "Got incorrect number of transferred bytes: %s\n",
wine_dbgstr_longlong(progress.BytesTransferred));
ok(progress.Completed == FALSE, "Got incorrect completion status\n");
}

View File

@ -261,10 +261,10 @@ static void test_GetProgress_preTransfer(void)
hres = IBackgroundCopyJob_GetProgress(test_job, &progress);
ok(hres == S_OK, "GetProgress failed: 0x%08x\n", hres);
ok(progress.BytesTotal == 0, "Incorrect BytesTotal: %x%08x\n",
(DWORD)(progress.BytesTotal >> 32), (DWORD)progress.BytesTotal);
ok(progress.BytesTransferred == 0, "Incorrect BytesTransferred: %x%08x\n",
(DWORD)(progress.BytesTransferred >> 32), (DWORD)progress.BytesTransferred);
ok(progress.BytesTotal == 0, "Incorrect BytesTotal: %s\n",
wine_dbgstr_longlong(progress.BytesTotal));
ok(progress.BytesTransferred == 0, "Incorrect BytesTransferred: %s\n",
wine_dbgstr_longlong(progress.BytesTransferred));
ok(progress.FilesTotal == 0, "Incorrect FilesTotal: %u\n", progress.FilesTotal);
ok(progress.FilesTransferred == 0, "Incorrect FilesTransferred %u\n", progress.FilesTransferred);
}