mlang/tests: Reduce the size of the test output a little.

This commit is contained in:
Alexandre Julliard 2008-06-04 12:52:13 +02:00
parent d62c3197b3
commit a6cdd538f5
1 changed files with 5 additions and 23 deletions

View File

@ -350,7 +350,6 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
for (i = 0; i < n; i++) for (i = 0; i < n; i++)
{ {
CPINFOEXA cpinfoex;
CHARSETINFO csi; CHARSETINFO csi;
MIMECSETINFO mcsi; MIMECSETINFO mcsi;
BOOL convertible; BOOL convertible;
@ -388,17 +387,7 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
else else
trace("TranslateCharsetInfo failed for cp %u\n", cpinfo[i].uiFamilyCodePage); trace("TranslateCharsetInfo failed for cp %u\n", cpinfo[i].uiFamilyCodePage);
if (pGetCPInfoExA) trace("%u: codepage %u family %u\n", i, cpinfo[i].uiCodePage, cpinfo[i].uiFamilyCodePage);
{
if (pGetCPInfoExA(cpinfo[i].uiCodePage, 0, &cpinfoex))
trace("CodePage %u name: %s\n", cpinfo[i].uiCodePage, cpinfoex.CodePageName);
else
trace("GetCPInfoExA failed for cp %u\n", cpinfo[i].uiCodePage);
if (pGetCPInfoExA(cpinfo[i].uiFamilyCodePage, 0, &cpinfoex))
trace("CodePage %u name: %s\n", cpinfo[i].uiFamilyCodePage, cpinfoex.CodePageName);
else
trace("GetCPInfoExA failed for cp %u\n", cpinfo[i].uiFamilyCodePage);
}
/* Win95 does not support UTF-7 */ /* Win95 does not support UTF-7 */
if (cpinfo[i].uiCodePage == CP_UTF7) continue; if (cpinfo[i].uiCodePage == CP_UTF7) continue;
@ -442,7 +431,7 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
"%s != %s\n", "%s != %s\n",
wine_dbgstr_w(cpinfo[i].wszWebCharset), wine_dbgstr_w(mcsi.wszCharset)); wine_dbgstr_w(cpinfo[i].wszWebCharset), wine_dbgstr_w(mcsi.wszCharset));
#else #else
"wszWebCharset mismatch"); "wszWebCharset mismatch\n");
#endif #endif
if (0) if (0)
@ -468,7 +457,7 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
"%s != %s\n", "%s != %s\n",
wine_dbgstr_w(cpinfo[i].wszHeaderCharset), wine_dbgstr_w(mcsi.wszCharset)); wine_dbgstr_w(cpinfo[i].wszHeaderCharset), wine_dbgstr_w(mcsi.wszCharset));
#else #else
"wszHeaderCharset mismatch"); "wszHeaderCharset mismatch\n");
#endif #endif
if (0) if (0)
@ -494,7 +483,7 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
"%s != %s\n", "%s != %s\n",
wine_dbgstr_w(cpinfo[i].wszBodyCharset), wine_dbgstr_w(mcsi.wszCharset)); wine_dbgstr_w(cpinfo[i].wszBodyCharset), wine_dbgstr_w(mcsi.wszCharset));
#else #else
"wszBodyCharset mismatch"); "wszBodyCharset mismatch\n");
#endif #endif
if (0) if (0)
@ -506,8 +495,6 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
"%u != %u || %u\n", mcsi.uiCodePage, cpinfo[i].uiCodePage, cpinfo[i].uiFamilyCodePage); "%u != %u || %u\n", mcsi.uiCodePage, cpinfo[i].uiCodePage, cpinfo[i].uiFamilyCodePage);
} }
} }
trace("---\n");
} }
/* now IEnumCodePage_Next should fail, since pointer is at the end */ /* now IEnumCodePage_Next should fail, since pointer is at the end */
@ -622,12 +609,7 @@ static void test_EnumScripts(IMultiLanguage2 *iML2, DWORD flags)
wine_dbgstr_w(sinfo[i].wszFixedWidthFont), wine_dbgstr_w(sinfo[i].wszFixedWidthFont),
wine_dbgstr_w(sinfo[i].wszProportionalFont)); wine_dbgstr_w(sinfo[i].wszProportionalFont));
#endif #endif
if (pGetCPInfoExA(sinfo[i].uiCodePage, 0, &cpinfoex)) trace("%u codepage %u\n", i, sinfo[i].uiCodePage);
trace("CodePage %u name: %s\n", sinfo[i].uiCodePage, cpinfoex.CodePageName);
else
trace("GetCPInfoExA failed for cp %u\n", sinfo[i].uiCodePage);
trace("---\n");
} }
/* now IEnumScript_Next should fail, since pointer is at the end */ /* now IEnumScript_Next should fail, since pointer is at the end */