Commit Graph

113 Commits

Author SHA1 Message Date
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
Detlef Riekenberg 7317a96616 mlang/tests: Use a table for testing GetLcidFromRfc1766. 2009-05-27 12:53:01 +02:00
Michael Stefaniuc d8b4dd7ab6 mlang: Change long to LONG in mlang.idl. 2009-03-11 13:03:31 +01:00
Dmitry Timoshkov b86552f58d mlang: Implement IMLangFontLink_GetStrCodePages. 2009-02-25 16:06:35 +01:00
Hans Leidekker 34a3d21354 mlang: Implement IMLangFontLink2_GetScriptFontInfo. 2009-02-02 11:56:09 +01:00
Alexandre Julliard c2cef54ea0 mlang/tests: Fix a pointer casting warning on 64-bit. 2009-01-03 20:13:37 +01:00
Francois Gouget 766c6deaf7 mlang/tests: Make strstrW() static. 2008-12-15 12:25:31 +01:00
Vitaly Perov d2a9bcd199 mlang/tests: Add tests for fnIMLangFontLink_GetCharCodePages. 2008-11-28 13:47:08 +01:00
Michael Stefaniuc a25649b829 mlang/tests: Remove superfluous backslashes at end of lines. 2008-10-16 11:28:17 +02:00
Aric Stewart f2dbaeff64 mlang/tests: Make sure a given codepage has 'abc' before depending on that conversion to detect if a codepage is convertable. 2008-10-10 12:27:09 +02:00
Aric Stewart 52b2b5b7b0 mlang: Correct use of uninitialized rfcstr value (Coverity 796). 2008-10-02 10:29:52 -05:00
Aric Stewart 99c23ccf35 mlang/tests: windows 2008's version of mlang E_FAILs when you pass in a rgelt in IEnumCodePage::Next. 2008-10-01 13:50:37 -05:00
Aric Stewart 4e8dcf89e9 mlang/tests: Skip testing a codepage returning the buggy, legacy unicodeFEFF charset (only appears to exist on windows 2008). 2008-10-01 13:50:21 -05:00
Aric Stewart c209245f17 mlang/tests: GetLastError may not be set if Japanese conversions fail with S_FAIL so do not require that to skip the Japanese tests. 2008-10-01 13:47:59 -05:00
Aric Stewart 86de5c2546 mlang/tests: Some versions of native mlang return E_FAIL when source string is NULL and a source length is supplied. 2008-10-01 13:47:35 -05:00
Aric Stewart b91783c341 mlang/tests: IMultiLanguage2_GetRfc1766FromLcid can return S_FALSE on partial name matching so deal with this properly. 2008-10-01 13:47:13 -05:00
James Hawkins e57badb667 mlang: Remove a test that fails on all systems. 2008-09-03 13:14:50 +02:00
Dmitry Timoshkov 59e2155432 mlang: Remove debugging stuff. 2008-08-04 13:06:56 +02:00
Dmitry Timoshkov 0786923e32 mlang: Do not use MAX_PATH for not path related things. 2008-08-04 13:06:44 +02:00
Dmitry Timoshkov 253a6971a3 mlang: Remove noise from mlang test output. 2008-08-04 13:06:25 +02:00
Dmitry Timoshkov cfe0f97067 mlang: Add a test for a CodePageToCodePages failure, make it pass under Wine. 2008-08-04 13:06:14 +02:00
Paul Vriens c03dfb8f50 mlang/tests: Skip tests for unsupported code page identifiers. 2008-08-04 13:01:27 +02:00
Aric Stewart a4b636f10a mlang: Japanese conversion tests. 2008-07-29 11:49:27 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
James Hawkins 8b2bfbb778 mlang: Encode all the way to the NULL terminator. 2008-07-08 11:15:21 +02:00
James Hawkins 6e313864e8 mlang: Add tests for ConvertINetMultiByteToUnicode. 2008-07-08 11:15:16 +02:00
Michael Stefaniuc a0beda8f86 mlang: Fix compile warning introduced by a6cdd538. 2008-06-05 11:24:53 +02:00
Alexandre Julliard a6cdd538f5 mlang/tests: Reduce the size of the test output a little. 2008-06-04 12:52:13 +02:00
James Hawkins 03a7ddb73c mlang: Fix all test failures for NT+ platforms. 2008-05-22 12:46:18 +02:00
James Hawkins 94459b88d4 mlang: Only return the locale language name if no country name exists. 2008-05-22 12:46:14 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Hans Leidekker 9b3ec4fbb8 mlang: Release EnumRfc1766 object. 2007-11-08 13:11:43 +01:00
Hans Leidekker 4167e09f48 mlang: Implement IMultiLanguage::GetLcidFromRfc1766. 2007-06-07 11:59:56 +02:00
Andrew Talbot a96340becb mlang/tests: Replace inline static with static inline. 2007-03-21 22:51:54 +01:00
Marcus Meissner efe2ee560e mlang/tests: Protect from 1 byte static buffer overflow. 2007-03-02 12:11:00 +01:00
Francois Gouget 7f0b93eabc mlang/tests: Replace some '#if 0's with 'if (0)'s. 2007-01-08 12:09:12 +01:00
Dmitry Timoshkov ff90dbc086 mlang: Implement LcidToRfc1766 and GetRfc1766FromLcid. 2006-11-28 12:37:23 +01:00
Michael Ploujnikov 7b048bdc0f mlang/tests: Win64 printf format warning fixes. 2006-10-11 12:09:21 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Michael Stefaniuc 00e779370f janitorial: Put "inline static" at the beginning of a declaration. 2006-07-07 14:30:35 +02:00
Alexandre Julliard be4dccb33f mlang/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:02:52 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Dmitry Timoshkov ef35d28999 mlang: Implement IEnumRfc1766 interface. 2005-12-06 10:58:57 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Aric Stewart fbecb0c319 Implement a basic beginning for fnIMLangFontLink_CodePageToCodePages,
fnIMLangFontLink_CodePagesToCodePage and
fnIMLangFontLink_GetFontCodePages.
Also some tests for the new functions.
2005-09-28 11:58:47 +00:00
Mike McCormack dc1c62a592 Fix gcc 4.0 warnings. 2005-09-07 11:31:17 +00:00
Hans Leidekker 3459709379 Remove ntdll from imports. 2005-06-04 09:36:12 +00:00
Stefan Leichter 1a7a4fbe58 Make mlang_test.exe loadable on NT 4.0. 2005-03-14 21:41:27 +00:00
Francois Gouget dd073bbb3f Cast the GetProcAddress() return value to avoid warnings about the
function pointer being of the wrong type.
Fix assorted signed/unsigned comparison warnings.
2005-02-14 21:04:45 +00:00
Francois Gouget 6825ed811d Added missing trailing '\n's to ok() calls. 2004-09-02 20:09:37 +00:00
Dmitry Timoshkov 9f6f7cc742 Enumerate all available scripts in IMultiLanguage2_EnumScripts, add
fixed/proportional font names into mlang database.
2004-08-23 17:52:42 +00:00
Dmitry Timoshkov 23bd680c41 Implement IMultiLanguage2_GetCharsetInfo, add a test case for it. 2004-08-16 21:08:06 +00:00
Francois Gouget a560bcb834 Don't include wine/debug.h when compiling on Windows.
GetCPInfoExA() is missing on some Windows platforms, load it
dynamically.
2004-08-11 19:34:45 +00:00
Dmitry Timoshkov 8c2ff3ca6d - add stubbed support for IEnumScript interface
- ConvertINetMultiByteToUnicode/ConvertINetUnicodeToMultiByte should
  return required target length if the target buffer is NULL
- add the tests for all the above
- fix IMultiLanguage2 vtable (it was missing ConvertStringFromUnicodeEx)
2004-08-11 18:53:02 +00:00
Alexandre Julliard 94a9d33b6c Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Mike McCormack <mike@codeweavers.com>
Added an implementation of mlang.dll and test cases for it.
2004-08-04 18:33:06 +00:00