Commit Graph

71 Commits

Author SHA1 Message Date
Hans Leidekker 34d5f90db6 wbemprox/tests: Introduce a helper to check properties.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 21:55:18 +02:00
Hans Leidekker fb26388b0a wbemprox: Implement Win32_OperatingSystem.SystemDrive.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47065
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 21:55:15 +02:00
Hans Leidekker 5b2113de2d wbemprox: Implement Win32_OperatingSystem.OperatingSystemSKU.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46895
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:21:39 +01:00
Hans Leidekker 66b2b3ea68 wbemprox: Implement Win32_PhysicalMemory.DeviceLocator.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46894
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:21:39 +01:00
Nikolay Sivov 7e55129b7a wbemprox/tests: Add a simple test for semi-synchronous mode behaviour.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-18 16:00:26 +01:00
Hans Leidekker cee8986529 wbemprox: Create one processor object per package.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 11:39:44 +01:00
Hans Leidekker f2e1c51422 wbemprox: Fix processor caption on AMD 64-bit.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 11:39:32 +01:00
Sven Baars b9eaf07111 wbemprox/tests: Fix some memory leaks (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-15 14:30:29 +01:00
Piotr Caban 91e4961d01 wbemprox: Return NULL signature when there are no input parameters.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 09:45:20 +02:00
Piotr Caban ff4f1c2e3a wbemprox: Support specifying server and namespace in WbemServices functions.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 11:32:42 +02:00
Hans Leidekker 492a9653f5 wbemprox: Make name and value optional in IWbemClassObject::Next.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 17:33:29 +02:00
Hans Leidekker a9c6ff2327 wbemprox: Don't return an error from IWbemClassObject::BeginMethodEnumeration if the object has an iterator.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 17:33:28 +02:00
Hans Leidekker 05cdc07d44 wbemprox: Implement StdRegProv.CreateKey.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-28 11:06:25 +02:00
Andrew Eikum 300b0f6ad6 wbemprox: Add support for Win32_PnPEntity table.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Andrew Eikum 335ad09175 wbemprox/tests: Don't crash on VirtualBox.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Michael Stefaniuc 847693558f wbemprox/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-01 08:50:14 +02:00
Hans Leidekker 151f3fc2f2 wbemprox/tests: Add tests for Win32_Printer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 16:19:44 +01:00
Hans Leidekker 28bbe41138 wbemprox/tests: Add a test for Win32_OperatingSystem.FreePhysicalMemory.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 16:19:44 +01:00
Hans Leidekker d306f596d3 wbemprox/tests: Add tests for Win32_VideoController.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:25:58 +01:00
Hans Leidekker 4f640fa9b6 wbemprox: Add more Win32_Processor properties.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 16:24:58 +01:00
Hans Leidekker bc07327c15 wbemprox: Add more Win32_BIOS properties.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 16:24:56 +01:00
Hans Leidekker 7c0025b608 wbemprox: Add more Win32_ComputerSystemProduct properties.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 16:24:55 +01:00
Hans Leidekker b5633cc69b wbemprox: Support NULL tests that use equality operators.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-20 17:10:47 +01:00
Nikolay Sivov 5773203afd wbemprox/tests: Fix some leaks (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 13:38:29 +02:00
Hans Leidekker 92168c4e41 wbemprox: Add a partial implementation of Win32_IP4RouteTable.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:52 +01:00
Hans Leidekker b05928aae0 wbemprox: Implement Win32_PhysicalMemory.MemoryType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-16 10:08:08 -06:00
Hans Leidekker 710abd65bb wbemprox: Implement Win32_OperatingSystem.TotalVirtualMemorySize.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-16 10:08:07 -06:00
Hans Leidekker 96c46b1ca7 wbemprox: Return the hardware UUID for Win32_ComputerSystemProduct.UUID on macOS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-24 11:02:33 +02:00
Hans Leidekker 1977baa793 wbemprox: Get rid of hard-coded OS version numbers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 11:43:07 +02:00
Hans Leidekker f2f57152b2 wbemprox: Return NULL for Win32_BIOS.IdentificationCode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 11:43:05 +02:00
Hans Leidekker 1e32ae8bdd wbemprox: Fix the variant type for Win32_SystemEnclosure.ChassisTypes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 11:43:03 +02:00
Michael Müller df5388b977 wbemprox/tests: Add initial tests for ASSOCIATORS query.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 19:27:59 +09:00
André Hentschel fa7d4e6015 wbemprox/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:22:22 +09:00
Hans Leidekker df42519cb2 wbemprox: Support string literals in comparisons with integer properties.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:32:14 +01:00
Michael Müller 20ff3352eb wbemprox: Add bios name column in Win32_BIOS.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-10-07 22:07:32 +09:00
Sebastian Lackner 08acac5f91 wbemprox/tests: Add tests for Win32_Bios table.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-10-07 22:07:28 +09:00
Hans Leidekker 725c7aec8c wbemprox: Fix evaluation of LIKE queries. 2015-08-17 14:46:08 +09:00
Michael Müller 688db4d273 wbemprox: Treat \r as whitespace. 2015-06-04 15:56:29 +09:00
Michael Müller 96b5d9aa97 wbemprox: Add support for Win32_SystemEnclosure.
From: Michael Müller <michael@fds-team.de>
2015-05-22 16:15:15 +09:00
Sebastian Lackner 856b03501a wbemprox/tests: Add tests for Win32_SystemEnclosure. 2015-05-22 16:14:36 +09:00
Sebastian Lackner a248418325 wbemprox/tests: Fix memory leak when tests are skipped. 2015-05-05 23:15:31 +09:00
Sebastian Lackner a5414e8bed wbemprox/tests: Actually test the return value of IEnumWbemClassObject_Next. 2015-05-05 23:15:31 +09:00
Michael Müller 9961961901 wbemprox: Allow connecting to localhost. 2015-04-29 12:23:40 +09:00
Nikolay Sivov f068eb9acd wbemprox/tests: Fix interface instance leak (Valgrind). 2015-04-22 23:25:04 +09:00
Thomas Faber 00b2461ba9 wbemprox: Implement Win32_ComputerSystem.UserName. 2015-02-23 21:46:56 +09:00
Thomas Faber 42825cdc14 wbemprox: Allocate a large enough buffer in get_computername. 2015-02-23 21:46:17 +09:00
Vincent Povirk c55beb6548 wbemprox: Implement __SystemSecurity::GetSD. 2014-08-22 17:26:13 +02:00
Nikolay Sivov ba111c79e4 wbemprox/tests: Fix some test failures on older XP versions. 2014-06-11 16:13:25 +02:00
Francois Gouget 1eb2e8b3e1 wbemprox/tests: Make test_GetNames() static. 2014-03-31 11:46:34 +02:00
Hans Leidekker c3566b088d wbemprox: Add support for WBEM_FLAG_NONSYSTEM_ONLY and WBEM_FLAG_SYSTEM_ONLY in IWbemClassObject::GetNames. 2014-03-24 20:20:05 +01:00