comdlg32/tests: Remove debug code and the tabs.

This commit is contained in:
Detlef Riekenberg 2007-09-24 21:18:10 +02:00 committed by Alexandre Julliard
parent b5e45b0b77
commit ffe54a884c
1 changed files with 5 additions and 5 deletions

View File

@ -77,16 +77,16 @@ static void test_PageSetupDlgA(void)
pDlg->Flags = PSD_RETURNDEFAULT; pDlg->Flags = PSD_RETURNDEFAULT;
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
res = PageSetupDlgA(pDlg); res = PageSetupDlgA(pDlg);
trace("after pagesetupdlga res = %d, le %d, ext error 0x%x\n",
res, GetLastError(), CommDlgExtendedError());
ok( res || (CommDlgExtendedError() == PDERR_NODEFAULTPRN), ok( res || (CommDlgExtendedError() == PDERR_NODEFAULTPRN),
"returned %u with %u and 0x%x (expected '!= 0' or '0' and " "returned %u with %u and 0x%x (expected '!= 0' or '0' and "
"PDERR_NODEFAULTPRN)\n", res, GetLastError(), CommDlgExtendedError()); "PDERR_NODEFAULTPRN)\n", res, GetLastError(), CommDlgExtendedError());
if (!res && (CommDlgExtendedError() == PDERR_NODEFAULTPRN)) { if (!res && (CommDlgExtendedError() == PDERR_NODEFAULTPRN)) {
skip("No printer configured.\n"); skip("No printer configured.\n");
HeapFree(GetProcessHeap(), 0, pDlg); HeapFree(GetProcessHeap(), 0, pDlg);
return; return;
} }
ok( pDlg->hDevMode && pDlg->hDevNames, ok( pDlg->hDevMode && pDlg->hDevNames,
"got %p and %p (expected '!= NULL' for both)\n", "got %p and %p (expected '!= NULL' for both)\n",
pDlg->hDevMode, pDlg->hDevNames); pDlg->hDevMode, pDlg->hDevNames);