Commit Graph

44 Commits

Author SHA1 Message Date
Daniel Lehman fe09e2dba6 kernel32: Change error return from GlobalFree.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-03 12:01:40 +01:00
Michael Stefaniuc 0efd18f45a kernel32/tests: Fix the HeapReAlloc name in two comments.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 12:41:16 +01:00
Alexandre Julliard ff8af74189 kernel32/tests: Use function pointers to avoid gcc warnings for invalid parameter tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-30 09:45:29 +02:00
Michael Stefaniuc 14e7febc52 kernel32/tests: Test HeapReAlloc with size 0.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-04 14:55:41 +02:00
Alexandre Julliard cf9f185901 kernel32: GMEM_FIXED blocks cannot be 0 size.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-13 22:33:51 +09:00
Sebastian Lackner 966827bbc1 kernel32: Implement stub for GetPhysicallyInstalledSystemMemory.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:39 +09:00
Sebastian Lackner 16a97953c0 kernel32/tests: Add tests for GetPhysicallyInstalledSystemMemory.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:39 +09:00
Huw Davies 56019a4dc6 kernel32/tests: Fix test for win8 heap layout. 2014-05-02 13:45:00 +02:00
Alexandre Julliard 7420b7fe73 kernel32/tests: Move allocation tests into heap.c. 2014-03-27 16:16:04 +01:00
Frédéric Delanoy a10dfea044 kernel32/tests: Use BOOL type where appropriate. 2013-11-19 18:47:36 +01:00
Dmitry Timoshkov e02774ad40 kernel32/tests: Fix heap tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Akihiro Sagawa 9ab603b033 kernel32: Don't move fixed memory area in GlobalReAlloc. 2013-06-03 11:29:55 +02:00
Akihiro Sagawa 1451aa58a6 kernel32: Add more GlobalReAlloc/LocalReAlloc tests. 2013-06-03 11:29:38 +02:00
Francois Gouget 752bb66b65 kernel32/tests: Skip some tests if not allowed to modify the image file execution options. 2011-09-19 17:56:04 +02:00
David Hedberg fed025fd42 kernel32: GlobalSize() should also work with GMEM_MOVEABLE data pointers received from GlobalLock(). 2011-06-13 11:46:24 +02:00
Austin English 8b7904d78d kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-11 14:48:29 +01:00
Nikolay Sivov 0597e659bd kernel32: Fix return code from LocalUnlock for pointer passed to it. 2010-05-10 10:04:54 +02:00
Francois Gouget 891b1ce3de kernel32/tests: Remove a space after a '\n' in a skip(). 2010-03-22 10:48:17 +01:00
Alexandre Julliard fb950a6da5 kernel32/tests: Fix a test failure on xp64. 2010-02-17 12:04:42 +01:00
Alexandre Julliard 5c9753e2b6 kernel32/tests: Remove leftover Sleep() call. 2010-02-01 16:19:21 +01:00
Alexandre Julliard a86adcca61 kernel32/tests: Fix heap flag tests for the page alloc case. 2010-02-01 12:35:43 +01:00
Alexandre Julliard 221c115e98 kernel32/tests: Fix some of the heap tests for 64-bit. 2010-01-29 13:29:21 +01:00
Alexandre Julliard 31aa3900e4 ntdll: Add 8 more bytes to the block tail when tail checking is enabled. 2010-01-27 18:46:07 +01:00
Alexandre Julliard 356b06faea kernel32/tests: Add tests for tail checking on large heap blocks. 2010-01-26 16:08:49 +01:00
Alexandre Julliard b1c9ce44dd kernel32/tests: Add tests for heap tail and free block checking. 2010-01-26 15:58:50 +01:00
Alexandre Julliard dabda7e3ee kernel32/tests: Add tests for the global flag and its influence on the heap flags. 2010-01-22 12:33:24 +01:00
Dan Kegel 4696a53679 kernel32: Fix two little leaks in heap test.
Found by valgrind.
2009-10-21 17:40:19 +02:00
Dmitry Timoshkov 27ebfdb879 kernel32: Implement HeapQueryInformation, add some basic tests for it. 2009-10-12 12:48:03 +02:00
Peter Hedlund 7d47feaebe kernel32: Mask out obsolete flags in GlobalAlloc. 2009-05-28 14:11:32 +02:00
Francois Gouget fc7a85470c kernel32/tests: Add a trailing '\n' to ok() calls. 2009-05-04 12:53:24 +02:00
Dan Kegel 3e6d0789d0 ntdll: Add missing RtlReAllocateHeap Valgrind hook, add tests. 2009-04-27 13:22:49 +02:00
Alexandre Julliard 1cdccc7de7 kernel32/tests: Comment out a couple of heap tests that crash on 64-bit Vista. 2009-01-04 14:47:59 +01:00
Alexandre Julliard 02229896be kernel32/tests: Use the correct value for invalid heap sizes on 64-bit. 2009-01-02 12:20:53 +01:00
Alexandre Julliard fdf2e7a338 kernel32/tests: Fix a couple of failures on Windows. 2008-11-04 16:13:30 +01:00
Alexandre Julliard 21453b4c2e ntdll: Allocate a new virtual region for large blocks, and ensure 16-byte alignment. 2008-10-29 17:32:45 +01:00
James Hawkins 03d23bd43d kernel32: Fix a few test failures in win9x. 2008-06-30 15:05:32 +02:00
James Hawkins 8e90c6099e kernel32: Don't crash accessing an invalid handle in GlobalSize. 2007-09-20 14:27:13 +02:00
James Hawkins 72a3f18338 kernel32: Return TRUE for all pointer params in GlobalUnlock. 2007-09-17 13:41:53 +02:00
James Hawkins 40dff81b5a kernel32: Fix the case where memory is freed twice in GlobalFree. 2007-09-17 13:41:49 +02:00
Alexandre Julliard cc54b7d9bd ntdll: Avoid overflows in heap allocations. Based on a patch by Rob Shearman. 2007-05-22 11:59:18 +02:00
Michael Stefaniuc 5263b5ec24 kernel32/tests: In multiline strings there is no need for '\' at the end of the lines. 2006-12-27 13:10:03 +01:00
Francois Gouget 367f91fb5c Assorted spelling fixes. 2006-12-14 20:25:05 +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