Commit Graph

135 Commits

Author SHA1 Message Date
Alexandre Julliard c7eacd9e83 kernel32/tests: Silence some noisy traces. 2014-06-17 10:58:46 +02:00
Erich E. Hoover 32da6626f5 kernel32: Allow CompareStringEx LINGUISTIC_IGNORECASE flag. 2014-04-17 10:48:07 +02:00
Erich E. Hoover b0935ab811 kernel32: Allow CompareStringEx NORM_LINGUISTIC_CASING flag. 2014-04-17 10:48:04 +02:00
Erich E. Hoover 4b949510fb kernel32/tests: Add a variety of tests for CompareStringEx. 2014-04-17 10:47:58 +02:00
Alexandre Julliard e64189aa55 kernel32/tests: Add more Unicode digit ranges. 2014-03-07 13:37:14 +01:00
Piotr Caban 18f7f637b0 kernel32/tests: Fix IdnToNameprepUnicode tests. 2013-11-18 11:17:51 +01:00
Francois Gouget 62ddaf8f6a kernel32/tests: On Windows 8 IdnToNameprepUnicode() returns a different error for invalid parameters. 2013-11-01 10:55:20 +01:00
Francois Gouget c0dbfebe04 kernel32/tests: On Windows 8 DATE_LONGDATE does not output a leading 0 for the day. 2013-11-01 10:54:55 +01:00
Frédéric Delanoy f56e9ebe38 kernel32/tests: Use BOOL type where appropriate. 2013-10-24 10:49:53 +02:00
Dmitry Timoshkov 020bd36323 kernel32/tests: Fix locale tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Alexandre Julliard 6cb5cf183a libwine: Update the codepage tables to Unicode 6.2.0. 2013-07-22 17:16:01 +02:00
Alexandre Julliard 28ece74fd8 Use the official Microsoft definitions for Gaelic languages. 2013-06-19 20:09:51 +02:00
Tatyana Fokina aaed0e81d5 kernel32: Check the size of the string in CompareStringA. 2013-06-11 19:31:45 +02:00
Tatyana Fokina 28951a0922 kernel32/tests: Add test with a large string for CompareStringA. 2013-06-11 19:31:40 +02:00
Piotr Caban 46919f2154 kernel32: Fixed copy-paste error in IdnToUnicode. 2013-03-28 18:54:51 +01:00
Detlef Riekenberg 8f1a3604ac kernel32/tests: Skip tests on non-English systems. 2013-02-11 11:46:08 +01:00
Francois Gouget a4f2c00526 kernel32/tests: Make test_CompareStringOrdinal() static. 2012-11-05 11:30:29 +01:00
Christian Costa ba5cade700 kernel32: Implement CompareStringOrdinal. 2012-11-02 19:47:15 +01:00
Nikolay Sivov 2097c5ddb6 kernel32: Handle neutral locale names better in GetLocaleInfoEx. 2012-08-27 19:42:52 +02:00
Alexandre Julliard 57bb58f7f5 kernel32/tests: "en" is not a valid locale on some platforms. 2012-08-22 12:03:34 +02:00
André Hentschel 20e1b46d83 kernel32: Fix LocaleNameToLCID on mismatch. 2012-08-17 10:46:27 +02:00
Austin English 5dfc2a34ea kernel32: Implement IsValidLocaleName (with tests). 2012-08-16 17:26:45 +02:00
André Hentschel f881dcf712 kernel32/tests: Test LocaleNameToLCID with bad name. 2012-08-15 17:55:00 +02:00
Nikolay Sivov f31c2d1df1 kernel32: Some tests for LOCALE_SNAME and neutral locales. 2012-07-26 13:40:43 +02:00
Nikolay Sivov 9ba0cf76db kernel32: Fix base for value returned with LOCALE_RETURN_NUMBER. 2012-07-26 13:40:43 +02:00
Nikolay Sivov 5b7efa8ea3 kernel32: Some test for handling locales specified by language only. 2012-07-26 13:40:42 +02:00
André Hentschel 3cd0834a24 kernel32: Change LCMapStringW to LCMapStringEx and call it from LCMapStringW. 2012-06-28 11:36:56 +02:00
Francois Gouget 4af794a5b4 kernel32/tests: Use the CSTR_XXX macros instead of numeric literals. 2012-06-20 10:27:52 +02:00
André Hentschel 1f3eca666b kernel32/tests: Add tests for LCMapStringEx. 2012-06-06 20:54:22 +02:00
Piotr Caban 30aea19e3b kernel32/tests: Added IdnToUnicode tests. 2012-04-30 20:03:27 +02:00
Piotr Caban 03b58f580c kernel32/tests: Added IdnToAscii tests. 2012-04-30 20:03:26 +02:00
Piotr Caban 60b25b7dd6 kernel32: Support multiple labels in IdnToNameprepUnicode. 2012-04-30 20:03:25 +02:00
Piotr Caban 6cda3776f6 kernel32/tests: Added IdnToNameprepUnicode tests. 2012-04-26 19:48:09 +02:00
Piotr Caban 4242fc94a5 kernel32/tests: Added more FoldString tests. 2012-04-26 19:48:02 +02:00
André Hentschel 21b6d994d2 kernel32: Handle LOCALE_NAME_USER_DEFAULT with tests. 2012-03-27 11:55:05 +02:00
Nikolay Sivov 17af6e394a kernel32/tests: Move CompareStringA data to a table. 2011-10-04 15:19:42 -05:00
Marcus Meissner d2dd407eb9 kernel32: Pass in a real string to SetLocaleInfoA, not a function pointer (Coverity). 2011-05-30 11:15:48 +02:00
Frédéric Delanoy f5304c4f73 kernel32/tests: Fix typo. 2011-05-13 10:52:01 +02:00
Piotr Caban b88c851820 kernel32/tests: Add locale specific CompareString test. 2011-05-12 14:27:48 +02:00
Alexandre Julliard 6410ab1ce8 libwine: Update Unicode tables to the Unicode 6.0 standard. 2010-10-30 20:42:09 +02:00
Alexandre Julliard 9f792ab3d5 kernel32: Implemented EnumSystemLocalesEx. 2010-09-27 14:13:17 +02:00
Aric Stewart 6c970e7e66 kernel32/tests: Add test for CT_TYPE1 of GetStringTypeW. 2010-07-22 13:09:24 +02:00
André Hentschel b8ff44e627 kernel32/tests: Add a test about unicode collation. 2010-06-08 12:58:55 +02:00
Nikolay Sivov 59d250c4a4 kernel32/tests: Fix test failures on NT4. 2009-12-07 14:18:25 +01:00
Nikolay Sivov 8ea4102a6c kernel32/lcformat: Add support for genitive month names in GetDateFormat(). 2009-12-04 14:34:57 +01:00
Viliam Lejcik 3dc8b28d84 kernel32: Fix GetCurrencyFormat grouping. 2009-11-11 11:24:09 +01:00
Nikolay Sivov 2b7a3657f7 kernel32/locale: Add support for LOCALE_RETURN_GENITIVE_NAMES for LOCALE_SMONTHNAME* locale data, update Russian nls resource accordingly. 2009-10-21 16:05:57 +02:00
Nikolay Sivov 15c0f0a42d kernel32/tests: Add tests for LOCALE_RETURN_GENITIVE_NAMES flag for GetLocaleInfoW. 2009-10-21 16:05:57 +02:00
Alexandre Julliard d916ce2fc9 kernel32/tests: Avoid size_t in traces. 2009-09-02 11:53:06 +02:00
Ge van Geldorp 277585fd11 kernel32/tests: Fix locale tests on Vista and higher. 2009-09-02 10:23:46 +02:00
Detlef Riekenberg 8588748bc8 kernel32/tests: Fix failures on localized Windows versions. 2009-06-03 11:27:24 +02:00
Detlef Riekenberg fd0d17ec1c kernel32/tests: Add tests for GetLocaleInfo with SUBLANG_NEUTRAL. 2009-06-02 11:57:21 +02:00
Andrew Nguyen 1e74b21f18 kernel32/tests: Correctly skip when Unicode locale functions are not available. 2009-05-18 14:31:07 +02:00
Francois Gouget 5989534540 kernel32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-24 16:57:26 +01:00
Alexandre Julliard 317ad64985 kernel32: LCMapString should include the terminating NULL also for LCMAP_SORTKEY. 2009-01-19 13:46:30 +01:00
Nikolay Sivov 4e12b8efc8 kernel32/tests: Some todo tests for CompareStringA and lstrcmpi. 2009-01-14 15:54:41 +01:00
Alexandre Julliard f0483957dd kernel32/tests: Fix the unimplemented check for EnumSystemLanguageGroupsA. 2008-11-26 12:04:32 +01:00
Alexandre Julliard d523c86a1b kernel32/tests: Fix test failures on Win9x and NT4.
Get rid of most of the macros that make it hard to handle special cases.
2008-11-20 21:39:48 +01:00
Paul Vriens 81f75c1840 kernel32/tests: Fix failures on WinMe. 2008-10-07 12:11:59 +02:00
Paul Vriens b16983c1bc kernel32/tests: We need the return value. 2008-10-07 12:11:52 +02:00
Paul Vriens a1131786e4 kernel32/tests: Add some skips to fix failures on WinMe. 2008-10-06 15:31:04 +02:00
Paul Vriens 32af90d53a kernel32/tests: Fix some failures on win9x. 2008-10-06 13:55:15 +02:00
Dmitry Timoshkov b4e6aa645b kernel32: Fix the target buffer size. 2008-09-17 10:54:48 +02:00
Paul Vriens 56ba2baa01 kernel32/tests: Use skip instead of trace. 2008-08-26 10:57:50 +02:00
Nicolas Le Cam eb612fd4dc kernel32/tests: Fix a failing test in Vista. 2008-07-23 13:54:06 +02:00
Alexandre Julliard 5b0c326679 kernel32/tests: Limit the number of failures in the ligatures test. 2008-06-10 11:55:01 +02:00
Alexandre Julliard ebb8311a4b kernel32/tests: Don't check every single Unicode char if the tables are clearly not compatible. 2008-06-04 12:33:38 +02:00
James Hawkins e92f9054dd kernel32: Don't test the invalid locale 0 if it is enumerated. 2008-05-23 12:10:10 +02:00
Paul Vriens 6e8f8a0529 kernel32/tests: Skip tests if codepage is not installed/available. 2008-05-12 11:41:51 +02:00
James Hawkins c009d1e9c4 kernel32: Fix a test that fails in win2k. 2008-04-17 12:50:56 +02:00
Austin English d5de9977df kernel32: Spelling fixes. 2008-03-18 11:44:09 +01:00
Paul Vriens 371afffd35 kernel32/tests: Add a few skips instead of just returning. 2008-03-12 12:02:04 +01:00
Paul Vriens a558bfad99 kernel32/tests: DATE_YEARMONTH is only present on W2K and later. 2008-03-12 12:02:00 +01:00
Bill Medland a70df444ae kernel32/tests: Boundary test cases for SystemTimeToFileTime and GetDateFormat. 2007-05-04 13:39:09 +02:00
Dmitry Timoshkov bae3dc49cc kernel32: Add GetCPInfo test. 2007-04-02 11:34:21 +02:00
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Andrew Talbot c261a75a6f kernel32/tests: Replace inline static with static inline. 2007-03-21 22:51:50 +01:00
Dmitry Timoshkov f70fb8ec4c kernel32: GetTimeFormat and GetDateFormat should fail if LOCALE_NOUSEROVERRIDE is specified simultaneously with a format string. 2007-01-05 18:24:12 +01:00
Dmitry Timoshkov 361ea6e4dc kernel32: Remove a line that was supposed to be deleted by the previous patch. 2007-01-02 20:31:15 +01:00
Dmitry Timoshkov ebd57713aa kernel32: Make the locale test pass without errors under XP SP2. 2007-01-01 17:15:27 +01:00
Andrew Talbot bc3e7263bc kernel32/tests: Cast-qual warnings fix. 2006-12-11 12:15:44 +01:00
Alexandre Julliard 82218fcf20 kernel32/tests: Added LOCALE_NOUSEROVERRIDE flag on time tests that rely on AM/PM. 2006-12-07 12:33:55 +01:00
Francois Gouget 4c9f668e7c kernel32: Fix the 'MAP_FOLDCZONE' ok() test. 2006-11-13 12:45:31 +01:00
Michael Stefaniuc 8218440c20 kernel32/tests: Win64 printf format warning fixes. 2006-10-10 16:11:27 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00