Commit Graph

37 Commits

Author SHA1 Message Date
Alexandre Julliard c8f3383696 include: Allow using debug.h in tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-17 16:55:15 +01:00
Michael Stefaniuc 243e8b26ed dxdiagn/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 09:11:01 +02:00
Michael Müller 3eee8b5594 dxdiagn: Add several more fields for DisplayDevices.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-24 09:12:30 +02:00
Nikolay Sivov 2c59f6fe46 dxdiagn/tests: Fix a couple of leaks (Valgrind). 2015-04-20 22:04:42 +09:00
Markus Weiland 7462da1345 dxdiagn: Added properties for hardware acceleration capabilities. 2014-03-25 19:01:32 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Piotr Caban 2bfbac07a8 dxdiagn: Initialize ProcessorEnglish property. 2012-08-31 17:02:31 +02:00
Andrew Nguyen 7664adb215 dxdiagn: Add additional adapter identifier properties for DxDiag_DisplayDevices subcontainers. 2011-06-15 20:04:40 +02:00
Andrew Nguyen 55296f6edb dxdiagn/tests: Add tests for some DxDiag_DisplayDevices subcontainer properties. 2011-06-15 20:04:40 +02:00
Andrew Nguyen 9d7d35c1ee dxdiagn: Unconditionally initialize the passed variant in IDxDiagContainer::GetProp. 2011-06-15 20:04:39 +02:00
Nicolas Le Cam 66b11a00b5 dxdiagn/tests: Initialize a variable and reduce its scope (valgrind). 2011-04-21 16:53:42 +02:00
Andrew Nguyen 097a31bb21 dxdiagn: Add operating system string properties to the DxDiag_SystemInfo container. 2011-04-04 13:21:03 +02:00
Andrew Nguyen ca854b82cf dxdiagn: Add paged memory display string properties to the DxDiag_SystemInfo container. 2011-04-04 13:20:49 +02:00
Andrew Nguyen 791aa53839 dxdiagn: Add a physical memory display string property to the DxDiag_SystemInfo container. 2011-04-04 13:16:02 +02:00
Andrew Nguyen bd7ad13bb3 dxdiagn: Add date and time properties to the DxDiag_SystemInfo container. 2011-04-04 13:15:58 +02:00
Andrew Nguyen 35d313c4d4 dxdiagn/tests: Add tests for some DxDiag_SystemInfo properties. 2011-04-04 13:15:50 +02:00
Andrew Nguyen a9d1f1bb4f dxdiagn: Transition to the information tree by making IDxDiagContainer view the information tree. 2011-02-15 17:01:43 +01:00
Andrew Nguyen 1fe904bd08 dxdiagn: Avoid caching a single instance of the root container. 2011-02-01 18:14:07 +01:00
Andrew Nguyen c99e0fbc0e dxdiagn: Simplify the root container initialization. 2011-02-01 18:14:06 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Andrew Nguyen 5f1764c629 dxdiagn: Successfully copy to destination variants with an invalid type in IDxDiagContainer::GetProp.
GetProp now simply unconditionally clears the destination variant if
VariantClear fails.
2010-03-23 17:30:04 +01:00
Andrew Nguyen 61cb53e24d dxdiagn: Fix return value of IDxDiagContainer::GetProp on property search failure. 2010-03-23 12:19:48 +01:00
Francois Gouget f096b023c4 dxdiagn/tests: Add a trailing '\n' to an ok() call. 2010-03-22 10:48:26 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Andrew Nguyen af28d72aaf dxdiagn: Fix string copy behavior with an excessively short buffer in IDxDiagContainer::EnumPropNames. 2010-03-15 15:12:17 +01:00
Andrew Nguyen f1e005410f dxdiagn: Fix return and output behavior of IDxDiagContainer::EnumPropNames. 2010-03-15 15:12:10 +01:00
Andrew Nguyen af1bcf7768 dxdiagn: Fix dot parsing in IDxDiagContainer::GetChildContainer for the case of a lone dot terminator. 2010-03-15 15:12:06 +01:00
Andrew Nguyen c245c6ed09 dxdiagn: Initialize output pointer to NULL in IDxDiagContainer::GetChildContainer. 2010-03-15 15:12:00 +01:00
Andrew Nguyen fa9af5b68a dxdiagn: Fix string copy behavior with an excessively short buffer in IDxDiagContainer::EnumChildContainerNames. 2010-03-15 15:11:56 +01:00
Andrew Nguyen 2c9a5900e6 dxdiagn: Fix return and output behavior of IDxDiagContainer::EnumChildContainerNames. 2010-03-15 15:11:52 +01:00
Andrew Nguyen 5801d60a37 dxdiagn/tests: Add tests for IDxDiagContainer. 2010-03-15 15:09:54 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 16d161bc95 dxdiagn/tests: Fix some test failures on a clean W2K3. 2010-01-14 09:12:31 -06:00
Andrew Nguyen a72af3100d dxdiagn: Validate the dwDxDiagHeaderVersion member in IDxDiagProvider::Initialize. 2009-12-22 13:48:26 +01:00
Andrew Nguyen e1dd6a869d dxdiagn: Fix a return value and avoid validating the input parameter for IDxDiagProviderImpl::GetContainer. 2009-12-22 13:48:26 +01:00
Andrew Nguyen dddf714f02 dxdiagn: Add tests for IDxDiagProvider. 2009-12-22 13:48:26 +01:00