Commit Graph

62 Commits

Author SHA1 Message Date
Hugh McMaster 0ad7a0df89 kernel32/tests: Add tests for the FALSE pathway of GetCurrentConsoleFont.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:35 +09:00
Dmitry Timoshkov e03a3fe509 kernel32: Add a workaround for broken apps that pass negative values to ReadConsole. 2014-04-16 10:54:15 +02:00
Dmitry Timoshkov c3ee3da58a kernel32: Filter out console handles in GetFileSize. 2014-04-14 10:30:30 +02:00
André Hentschel 1c61a53ef6 kernel32/tests: Don't test last error on success. 2014-01-08 11:10:27 +01:00
André Hentschel 29907a2862 kernel32/tests: Add missing last errors for win8. 2014-01-07 10:42:32 +01:00
André Hentschel 6db63a1867 kernel32/tests: Allow more last errors from win8. 2014-01-06 17:16:33 +01:00
André Hentschel a803c496b2 kernel32/tests: Accept more win8 return values. 2013-12-26 13:44:34 +01:00
André Hentschel 5a6d38c2bd kernel32: Adapt input checking in OpenConsoleW to match win8 behaviour. 2013-12-26 13:42:55 +01:00
Francois Gouget 7425d2cac2 kernel32/tests: Remove a couple of incorrect CreateFile() console tests. 2013-11-01 10:57:14 +01:00
Francois Gouget 18a9aba058 kernel32/tests: Windows 8 returns different error codes. 2013-11-01 10:54:12 +01:00
Dmitry Timoshkov fd65dfbac9 kernel32/tests: Fix console tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Francois Gouget d3672524ed Assorted spelling fixes. 2013-10-01 19:09:08 +02:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
Francois Gouget c2a5b04d01 kernel32/tests: Reduce the size of the console buffer to speed up the tests. 2013-02-11 17:52:43 +01:00
André Hentschel 27b0b93684 kernel32/tests: Fix crashes on win8 in console. 2012-11-30 19:12:17 +01:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Akihiro Sagawa e4692b3f66 kernel32/tests: Add more tests for WriteConsole. 2012-03-09 11:27:30 +01:00
Eric Pouech d967484ecc kernel32: Added a couple of tests about console creation through CreateFile, and fix some corner cases. 2012-02-08 10:47:57 -06:00
Thomas Faber fc2dcd04ab kernel32/tests: Fix MSVC build in console.c. 2011-10-04 17:31:45 -05:00
Eric Pouech 8a529d60e2 kernel32: In CreateFile, when trying to open the CON special DOS file, force OPEN_EXISTING as creation flag. 2011-05-11 14:56:48 +02:00
Eric Pouech fa8d5d166c kernel32: Added some tests about CON special file treatment in CreateFile. 2011-05-11 14:56:48 +02:00
Andrew Nguyen df18e3fdd4 kernel32/tests: Demonstrate an input event handling peculiarity with WriteConsoleInputA. 2011-01-11 16:05:47 +01:00
Andrew Nguyen e2e9141918 kernel32/tests: Demonstrate an input event handling peculiarity with WriteConsoleInputW. 2011-01-11 16:05:47 +01:00
Andrew Nguyen b158d23c88 kernel32: Improve parameter validation for ReadConsoleOutputAttribute. 2011-01-11 16:05:47 +01:00
Andrew Nguyen 66b42c86d1 kernel32: Improve parameter validation for ReadConsoleOutputCharacterA. 2011-01-11 16:05:47 +01:00
Andrew Nguyen c905b7e705 kernel32: Improve parameter validation for ReadConsoleOutputCharacterW. 2011-01-11 16:05:47 +01:00
Greg Geldorp 6b8812add1 kernel32/tests: Set TrueType console font before running tests.
ReadConsoleOutputW doesn't retrieve characters from the output buffer
correctly for characters that don't have a glyph in the console font.
2011-01-10 15:02:24 +01:00
Andrew Nguyen 51d05e241a kernel32: Improve parameter validation for FillConsoleOutputAttribute. 2011-01-04 11:58:34 +01:00
Andrew Nguyen 50ee017f34 kernel32/tests: Add tests for FillConsoleOutputCharacterA. 2011-01-04 11:58:34 +01:00
Andrew Nguyen 5a7c633fab kernel32: Improve parameter validation for FillConsoleOutputCharacterW. 2011-01-04 11:58:33 +01:00
Andrew Nguyen 8ec12b5110 kernel32: Improve parameter validation for WriteConsoleOutputAttribute. 2011-01-04 11:58:33 +01:00
Andrew Nguyen 5f70cd6509 kernel32: Improve parameter validation for WriteConsoleOutputCharacterA. 2011-01-04 11:58:33 +01:00
Andrew Nguyen 2281c29b46 kernel32: Improve parameter validation for WriteConsoleOutputCharacterW. 2011-01-04 11:58:33 +01:00
Andrew Nguyen 9febdf3f58 kernel32: Improve parameter validation for WriteConsoleInputA. 2011-01-04 11:58:32 +01:00
Andrew Nguyen 0272da5afa kernel32: Improve parameter validation for WriteConsoleInputW. 2011-01-04 11:58:13 +01:00
Andrew Nguyen 3501b0a580 kernel32: Fail with an invalid output parameter in GetNumberOfConsoleInputEvents. 2011-01-04 11:51:03 +01:00
Andrew Nguyen ab8b2cfaa1 kernel32/tests: Avoid an input buffer overrun in the empty console write test. 2011-01-03 14:58:55 +01:00
Alexandre Julliard 5db7d5957a kernel32/tests: Use a real console handle in the VerifyConsoleIoHandle test. 2010-09-29 11:57:42 +02:00
Peter Oberndorfer 9d74a70ad5 kernel32: Fix last error value of GetStdHandle/SetStdHandle when called with wrong std handle. 2010-09-23 12:00:44 +02:00
Peter Oberndorfer 297b054e74 kernel32: VerifyConsoleIoHandle does not set last error value. 2010-09-23 12:00:29 +02:00
Andrew Nguyen 39208d4d60 kernel32: Don't set last error on success in OpenConsoleW. 2010-04-01 18:12:40 +02:00
Andrew Nguyen b7bf2abdff kernel32: Improve parameter validation in OpenConsoleW. 2010-04-01 18:12:40 +02:00
Paul Vriens a95e070824 kernel32: Add a stubbed GetConsoleProcessList(). 2010-01-05 12:29:18 +01:00
Paul Vriens d11df5126d kernel32/tests: Fix some test failures on Win9x/WinMe. 2009-10-14 14:24:29 +02:00
Ge van Geldorp 40d8c87df2 kernel32/tests: Remove test that crashes on Win7. 2009-08-26 16:33:38 +02:00
Paul Vriens 54845cd40a kernel32/tests: Correct an ok() statement. 2009-03-04 14:42:30 +01:00
Francois Gouget 41360cc161 kernel32/tests: Change to a win_skip() because we don't want to skip the GetConsoleCursorInfo(,NULL) test in Wine. 2009-02-24 16:57:26 +01:00
Francois Gouget 5989534540 kernel32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-24 16:57:26 +01:00
Andrew Nguyen 976d5cae8d kernel32: Ensure that WriteConsoleW succeeds with an empty input buffer. 2009-01-19 13:36:25 +01:00
Andrew Nguyen 1571c05ad5 kernel32/tests: Simplify a test function's parameters. 2009-01-19 13:36:25 +01:00