Commit Graph

29 Commits

Author SHA1 Message Date
Francois Gouget 95817b6386 pdh/tests: Skip a test that crashes on Windows 10 >= 2004.
Starting with Windows 10 2004 PdhMakeCounterPathA() does not check the
query handle before using it.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-22 17:57:47 +02:00
Francois Gouget 071292bedd pdh: Update PdhAddEnglishCounterA/W() to match Windows 10 >= 2004.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-22 17:57:47 +02:00
Michael Stefaniuc 7fb6c7a034 pdh: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-05 09:56:45 +01:00
Michael Stefaniuc 5d3ba908e4 pdh/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-04 14:22:51 +02:00
Alistair Leslie-Hughes 39378faddf pdh/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-05 09:18:20 +02:00
Michael Stefaniuc 2e1708dc1b tests: Readying some tests for the compilation with -D__WINESRC__. 2013-10-02 11:03:26 +02:00
Francois Gouget 25088379d9 pdh/tests: Some tests require that the user interface be in English. 2011-09-16 17:23:11 +02:00
Francois Gouget 770537011a pdh/tests: Make the test pass on Windows 2000. 2011-09-16 17:23:11 +02:00
Francois Gouget 4c531edfd2 pdh/tests: Rename a counter to make the purpose of the test immediately clear. 2011-09-16 17:23:11 +02:00
Andrew Nguyen 2da6570ca4 pdh: Implement and test PdhGetDllVersion. 2010-02-01 12:41:30 +01:00
Hans Leidekker 754b97c72c pdh: Implement PdhMakeCounterPathA/W. 2009-05-08 12:27:25 +02:00
James Hawkins 6c59a15a19 pdh: Fix two tests that fail on win2k3. 2008-04-24 11:51:17 +02:00
Jeff Latimer 52f03de951 pdh/tests: Add test for size > 0 but no buffer. 2008-02-18 14:21:46 +01:00
Hans Leidekker 9a51ac7249 pdh: Make two tests pass on Vista. 2007-11-12 11:40:45 +01:00
Hans Leidekker fcb8e3b197 pdh: Remove or fix tests that fail on Windows. 2007-10-31 14:06:03 +01:00
Francois Gouget 63a8755457 pdh/tests: Fix compilation on systems that don't support nameless unions. 2007-10-11 19:52:43 +02:00
Hans Leidekker 290869b03d pdh: Skip tests when running on non-english locale. 2007-10-01 12:41:25 +02:00
Hans Leidekker cf8b16bc9e pdh: Fix parameter handling in PdhAddEnglishCounter{A, W} and PdhCollectQueryDataWithTime. 2007-10-01 12:41:18 +02:00
Hans Leidekker 0389ec60d9 pdh: Implement and test PdhCollectQueryDataEx. 2007-10-01 12:40:17 +02:00
Hans Leidekker 9209582048 pdh: Add tests for PdhValidatePath{, Ex}{A, W}. 2007-10-01 12:36:24 +02:00
Francois Gouget e50f16e579 pdh/tests: Add missing '\n' to ok() calls. 2007-08-08 15:32:03 +02:00
Hans Leidekker 1cec4e3b6e pdh: Implement and test PdhAddEnglishCounter{A, W} and PdhCollectQueryDataWithTime. 2007-07-23 12:00:46 +02:00
Hans Leidekker 0fbb4619e1 pdh: Implement and test PdhLookupPerfIndexByName{A, W} and PdhLookupPerfNameByIndex{A, W}. 2007-07-23 12:00:33 +02:00
Hans Leidekker 75a9146268 pdh: Add more tests and make them pass. 2007-07-23 11:59:34 +02:00
Hans Leidekker 3ea31cb20b pdh: Implement and test PdhGetCounterInfo{A, W} and PdhGetCounterTimeBase. 2007-07-10 13:33:45 +02:00
Hans Leidekker 754ac8c478 pdh: Implement and test PdhGetRawCounterValue. 2007-07-10 13:33:35 +02:00
Hans Leidekker 0d516c5377 pdh: Implement and test PdhSetCounterScaleFactor and PdhGetFormattedCounterValue. 2007-07-10 13:32:42 +02:00
Hans Leidekker 5dfc2ead80 pdh: Add tests for Pdh{Add, Remove}Counter and PdhCollectQueryData. 2007-07-10 13:32:27 +02:00
Hans Leidekker 0a6f6874af pdh: Add tests for opening and closing queries. 2007-07-09 17:03:31 +02:00