Alex Henrie
7d268f7de4
psapi/tests: Increase GetPerformanceInfo HandleCount error margin.
...
This fixes intermittent test failures on all versions of Windows.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-19 14:34:28 +01:00
Zebediah Figura
f01b9ab4c1
psapi/tests: Call GetPerformanceInfo() after NtQuerySystemInformation().
...
For some reason, this gives consistently much more accurate results.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:27 +02:00
Zebediah Figura
42016f6f0e
psapi/tests: Avoid failing silently.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:26 +02:00
Zebediah Figura
81242f747e
psapi/tests: Avoid using PROCESS_ALL_ACCESS.
...
Since its value changed in Windows Vista.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:26 +02:00
Zebediah Figura
06deefdb4c
psapi/tests: Link statically to psapi.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:26 +02:00
Zebediah Figura
dbfc4ab5ed
psapi/tests: Avoid linking statically to kernel32 functions.
...
Since they are not available everywhere.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-05 19:08:34 +02:00
Marcus Meissner
24ffba47d3
psapi: GetProcessImageFileName gets character count as argument.
...
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 16:40:02 +02:00
Zebediah Figura
a47332ae17
psapi/tests: Add todo_wine to a failing test.
...
This test was based on an implementation of K32EnumProcessModules() which was later rewritten.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 17:14:10 +02:00
Michael Stefaniuc
707882a6f2
psapi/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 11:41:59 +02:00
Zebediah Figura
0250693354
kernel32: Allow GetModuleInformation() to succeed on a WoW64 process.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:49 +02:00
Zebediah Figura
54f287d88a
kernel32: Allow GetModuleFileNameEx() to succeed on a WoW64 process.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:49 +02:00
Zebediah Figura
72e3fdf0a2
kernel32: Allow GetModuleBaseName() to succeed on a WoW64 process.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:49 +02:00
Zebediah Figura
54186a4c9f
kernel32: Allow EnumProcessModules() to succeed on a WoW64 process.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:49 +02:00
Akihiro Sagawa
844ae22fcf
kernel32: Return the list of module handles even if the last argument is null.
...
Touhou Shinpiroku relies on this behaviour.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 19:46:19 +01:00
Akihiro Sagawa
97ad2b8b39
psapi/tests: Add more EnumProcessModules tests.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-11 19:10:59 +01:00
Alex Henrie
4f5342f26b
psapi/tests: Increase GetPerformanceInfo error margins for Windows 8.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 13:25:20 +01:00
Alex Henrie
cf1bbad714
psapi/tests: Increase GetPerformanceInfo error margins for Windows 10.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-18 09:44:52 +02:00
Sebastian Lackner
e39d1614a9
psapi/tests: Remove todo_wine from succeeding tests.
...
These were missed in 19a79f4228
.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 11:01:47 -05:00
Hugh McMaster
11669fa5e2
Assorted spelling and grammar fixes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
André Hentschel
4d98658621
psapi/tests: Also accept strlen as return value.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:30 +09:00
André Hentschel
c789554786
psapi/tests: Adjust margin for win10.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:27 +09:00
André Hentschel
9182d5b541
psapi/tests: Remove bad test.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:23 +09:00
André Hentschel
d33984e6ba
psapi/tests: Disable tests which crash on win10.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:16 +09:00
André Hentschel
a3ab34b419
psapi/tests: Don't check for exact value.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-09-25 21:00:11 +02:00
Olivier F. R. Dierick
9effcc98f9
psapi/tests: Add test for EnumProcessModules with NULL pointer.
2015-07-06 17:09:49 +09:00
Sebastian Lackner
4032eef90f
kernel32: Fix implementation of K32GetPerformanceInfo.
2014-11-14 17:11:38 +09:00
Sebastian Lackner
4297046d01
psapi/tests: Add tests for GetPerformanceInfo function.
2014-11-14 17:10:57 +09:00
Bruno Jesus
78eac8156e
psapi/tests: Free buffer on error (valgrind).
2014-07-14 17:22:46 +02:00
André Hentschel
3df00e29ee
psapi/tests: Fix tests compilation with __WINESRC__ defined.
2013-10-25 13:36:01 +02:00
Alexandre Julliard
ab2eb34a82
psapi/tests: Define the required Windows version before including anything.
2013-02-20 13:17:12 +01:00
André Hentschel
cd465edb00
psapi/tests: Fix test on win8.
2012-12-04 00:03:39 +01:00
Stefan Leichter
0773ed8d27
psapi/tests: Added tests for EnumProcessModules with last parameter NULL.
2012-06-22 14:09:51 +02:00
Alexandre Julliard
d08f34cd8e
kernel32: Fix buffer overflows in K32GetModuleFileNameExA/W.
2012-04-30 14:27:13 +02:00
Dmitry Timoshkov
4c6a19837b
psapi: Add missing return value checks.
2012-03-27 18:01:00 +02:00
Dmitry Timoshkov
48a2a467cd
psapi: Make sure that NtQueryVirtualMemory(MemorySectionName) succeeds under Windows 2000 too.
2012-02-07 09:31:14 -06:00
Dmitry Timoshkov
2a0de94844
psapi: Add a test for NtQueryVirtualMemory(MemorySectionName).
2012-02-06 10:19:30 -06:00
Alexandre Julliard
773c46b929
psapi/tests: Don't check data returned from a failing call.
2012-01-31 15:38:01 +01:00
Dmitry Timoshkov
7705ad45c9
psapi: Add more GetMappedFileName tests.
2012-01-27 18:05:46 +01:00
Francois Gouget
187de1794e
psapi/tests: Fix the EnumProcessModules() test and provide more diagnostic information if it fails.
...
On some Windows systems aclayers.dll gets injected into the process and brings in a lot of extra dlls.
2011-08-26 16:33:52 +02:00
Francois Gouget
3b239dbc62
kernel32: Implement K32GetProcessImageFileNameA().
2011-08-05 15:22:47 +02:00
Austin English
db27d9afa9
psapi/tests: Get rid of an ugly test macro.
2010-10-08 11:02:27 +02:00
Austin English
f2d1145142
psapi/tests: Macro cleanup.
2010-10-05 12:07:37 +02:00
Austin English
cad2aaff2b
psapi/tests: Remove an ugly macro.
2010-10-04 15:00:05 +02:00
Alexandre Julliard
6cf16d723a
psapi/tests: Fix the working set tests for Wow64.
2010-06-22 13:06:23 +02:00
Alexandre Julliard
c7f7d1985e
psapi/tests: Handle an error that happens on Win2k.
2010-02-05 11:39:24 +01:00
Mikołaj Zalewski
666c0a57cc
psapi: Implement GetProcessImageNameW.
2009-04-07 11:20:58 +02:00
Paul Vriens
2b83936b3c
psapi/tests: Use win_skip instead of trace.
2008-10-21 11:43:28 +02:00
Francois Gouget
7071a0105f
psapi/tests: Fix a signed/unsigned int mismatch.
2007-05-29 13:46:33 +02:00
Michael Ploujnikov
cab43e6b61
psapi/tests: Win64 printf format warning fixes.
2006-10-11 12:09:14 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00