Module: wine Branch: master Commit: 4770ba7bcccb93bc1dc203effb8387436b027e93 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4770ba7bcccb93bc1dc203effb...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Aug 19 10:02:50 2009 +0200
ole32/tests: Skip a string that may not round-trip in all codepages.
---
dlls/ole32/tests/moniker.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/tests/moniker.c b/dlls/ole32/tests/moniker.c index 306a892..b172377 100644 --- a/dlls/ole32/tests/moniker.c +++ b/dlls/ole32/tests/moniker.c @@ -1432,6 +1432,16 @@ static void test_file_monikers(void) for (i = 0; i < COUNTOF(wszFile); ++i) { int j ; + if (i == 2) + { + BOOL used; + WideCharToMultiByte( CP_ACP, WC_NO_BEST_FIT_CHARS, wszFile[i], -1, NULL, 0, NULL, &used ); + if (used) + { + skip("string 2 doesn't round trip in codepage %u\n", GetACP() ); + continue; + } + } for (j = lstrlenW(wszFile[i]); j > 0; --j) { wszFile[i][j] = 0;