Commit Graph

100 Commits

Author SHA1 Message Date
Michael Stefaniuc 032af1923c mlang/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 09:11:18 +02:00
Francois Gouget f81f7f4749 mlang/tests: Add a trailing '\n' to ok() calls.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-04 16:34:23 +01:00
Nikolay Sivov 523e07da5c mlang/tests: Add some return value checks (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-26 10:12:14 +01:00
Ziqing Hui 5083f2a589 mlang: Fix font name of code page families.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:25:03 +01:00
Ziqing Hui 8e7cac3882 mlang/tests: Add a test code page for each code page family.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:24:58 +01:00
Ziqing Hui a7ba456587 mlang/tests: Add MapFont tests.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:53 +01:00
Ziqing Hui 88cc2d114a mlang: Add more Chinese code pages support.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-09 16:59:32 +01:00
Ziqing Hui 1f88a35a90 mlang: Fix font name of Chinese code pages.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-09 16:59:30 +01:00
Ziqing Hui 4d84d0bc2f mlang/tests: Add IMultiLanguage2_GetCodePageInfo tests.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-09 16:59:28 +01:00
Bernhard Übelacker 6f3b45d2fb mlang/tests: Test IMultiLanguage_GetCharsetInfo with malformed charsets.
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 22:09:52 +09:00
Jactry Zeng 25d999d965 mlang/tests: Simplify test with todo_wine_if.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:29 +09:00
Michael Stefaniuc ef8db24b9c mlang/tests: Avoid always true ok() checks (PVS-Studio). 2014-12-22 16:59:18 +01:00
Hans Leidekker e11f91ed8d mlang: Add a stub implementation of IMultiLanguage3::DetectOutboundCodePageInIStream. 2014-12-18 18:59:38 +01:00
Huw Davies 48c36db40c mlang: Accept "ascii" as an alias for "us-ascii". 2014-11-07 14:00:34 +09:00
Francois Gouget 28139bceeb mlang/tests: We already link with mlang.dll so there is no need to do a LoadLibrary() on it. 2013-07-03 21:20:04 +02:00
Detlef Riekenberg cd804dab29 mlang/tests: Accept the different translation in win8. 2012-12-10 20:30:31 +01:00
Nikolay Sivov 406c431109 mlang: Implemented IMLangConvertCharset_DoConversionToUnicode. 2012-09-25 11:17:23 +02:00
Michael Stefaniuc 3a51439fc9 mlang/tests: Simplify the "pointer to start of array" idiom. 2012-07-26 12:11:03 +02:00
Francois Gouget 68bd1ae628 mlang/tests: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:43 +01:00
Frédéric Delanoy 241ccd9ab9 mlang/tests: Fix a typo. 2011-10-19 16:38:52 +02:00
Dan Kegel f91c8578bb mlang/tests: Don't call lstrcpyW on a null string. 2011-10-18 16:24:29 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Austin English 5ed5f21d02 mlang/tests: Remove win9x hacks. 2011-02-28 13:12:41 +01:00
Dmitry Timoshkov 15c322c235 mlang: GetGlobalFontLinkObject() takes a non-zero number of arguments. 2011-02-17 17:41:23 +01:00
Austin English e9316ed8ec mlang/tests: Remove unused assignment (LLVM/Clang). 2011-02-08 14:45:54 -06:00
Alexandre Julliard 71678645ad mlang/tests: Fix some nasty #ifdef syntax. 2010-05-31 12:14:28 +02:00
Alexandre Julliard 51c0314951 mlang/tests: Add another possible failure for Win2k. 2010-02-23 11:26:32 +01:00
Alexandre Julliard d8d70020d8 mlang/tests: Fix a test failure on Win2k. 2010-02-05 11:50:24 +01:00
Alexandre Julliard 89bf94c00d mlang/tests: Use the global wine_dbgstr_w instead of a local variant. 2009-08-19 13:36:41 +02:00
Paul Vriens d61f18ef06 mlang/tests: Prevent messing up the codepages on Win98. 2009-07-03 14:28:50 +02:00
Hans Leidekker 48efa30050 mlang: Add a test for IMultiLanguage2_IsCodePageInstallable. 2009-07-02 11:29:50 +02:00
Hans Leidekker 69bc0174e5 mlang: Implement IMLangFontLink2_GetFontUnicodeRanges. 2009-06-26 16:06:45 +02:00
Hans Leidekker fb0d79aece mlang: Implement IMLangFontLink2_CodePageToScriptID. 2009-06-26 16:06:43 +02:00
Dmitry Timoshkov 3bd36c8419 mlang: Make it possible to build the mlang test with PSDK. 2009-06-25 14:34:14 +02:00
Francois Gouget 03584b4ff6 Assorted spelling fixes. 2009-06-22 13:32:01 +02:00
Detlef Riekenberg ab19612922 mlang: Implement IMultiLanguage_GetNumberOfCodePageInfo, with test. 2009-06-19 14:51:58 +02:00
Detlef Riekenberg 957f52b4f3 mlang/tests: Some old IE versions truncate one character too short. 2009-06-18 15:17:28 +02:00
Paul Vriens 3a5a79ff75 mlang/tests: Fix a test failure on Win95. 2009-06-15 13:42:27 +02:00
Detlef Riekenberg 79d981b676 mlang/tests: Store the expected results for GetRfc1766Info as Unicode. 2009-06-11 13:23:26 +02:00
Detlef Riekenberg 0e1d18eaf5 mlang/tests: Fix a failure on win98 with mlang 4.72. 2009-06-09 17:01:14 +02:00
Detlef Riekenberg 9dd58897ca mlang/tests: Add tests for IMultiLanguage2_GetRfc1766Info. 2009-06-08 15:27:08 +02:00
Detlef Riekenberg fc813b9ec3 mlang/tests: Fix failures with IE 5.5 and below. 2009-06-08 15:21:46 +02:00
Detlef Riekenberg 6eec511798 mlang/tests: Add tests for LcidToRfc1766. 2009-06-01 16:16:05 +02:00
Detlef Riekenberg 68e1735acf mlang: Check output pointer for NULL. 2009-06-01 16:16:05 +02:00
Detlef Riekenberg 596f8d67a0 mlang: Suppress country data in rfc1766, with tests. 2009-06-01 16:16:04 +02:00
Detlef Riekenberg 6c827fa8c1 mlang/tests: Make the tests more silent. 2009-05-27 12:56:00 +02:00
Detlef Riekenberg 4e9f7899a4 mlang: Use a case independent compare for the RFC1766 name. 2009-05-27 12:55:53 +02:00
Detlef Riekenberg 98435dc7ed mlang/tests: Rfc1766ToLcid must not touch the LCID output on failure. 2009-05-27 12:55:43 +02:00
Detlef Riekenberg f4def21f57 mlang/tests: Return correct result in Rfc1766ToLcidA on failure. 2009-05-27 12:55:16 +02:00
Detlef Riekenberg 7bc167ac15 mlang/tests: Initial tests for Rfc1766ToLcid. 2009-05-27 12:54:58 +02:00