[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: gdi32: Tests for the codepages supported by TranslateCharsetInfo
From: Dmitry Timoshkov <dmitry () codeweavers ! com>
Date: 2010-01-27 15:15:51
Message-ID: 20100127231551.33d140a8.dmitry () codeweavers ! com
[Download RAW message or body]
Ilya Shpigor <shpigor@etersoft.ru> wrote:
> +static void test_TranslateCharsetInfo(void)
> +{
> + /* Any other codepages are not supported
> + * by TranslateCharsetInfo in Windows XP
> + */
> + test_codepage(42, 2);
> + test_codepage(874, 222);
> + test_codepage(932, 128);
> + test_codepage(936, 134);
> + test_codepage(949, 129);
> + test_codepage(950, 136);
> + test_codepage(1250, 238);
> + test_codepage(1251, 204);
> + test_codepage(1252, 0);
> + test_codepage(1253, 161);
> + test_codepage(1254, 162);
> + test_codepage(1255, 177);
> + test_codepage(1256, 178);
> + test_codepage(1257, 186);
> + test_codepage(1258, 163);
> + test_codepage(1361, 130);
It would be better to create a table and run the tests in the loop,
use symbolic charset names, and actually test some codepages which
would fail.
--
Dmitry.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic