Commit Graph

222 Commits

Author SHA1 Message Date
Nikolay Sivov 9d03aa328f setupapi/tests: Enable compilation with -D__WINESRC__. 2013-10-29 20:07:07 +01:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 09524be583 setupapi: Avoid using CONST. 2013-09-23 11:54:55 +02:00
Francois Gouget ce64b90c97 setupapi/tests: Remove a pointless use of assert(). 2013-07-03 21:20:03 +02:00
Hans Leidekker da922769c5 setupapi: SetupInstallServicesFromInfSection doesn't fail if there are no AddService or DelService directives in the section. 2012-07-09 15:06:26 -04:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Christian Inci 309914f315 setupapi: Fix return behaviour when the device key doesn't exist. 2011-07-09 11:48:06 +02:00
Juan Lang 4fe8cc6164 setupapi: Make sure machine name is non-empty before failing. 2011-06-10 10:44:12 +02:00
Austin English 270298191d setupapi/tests: Remove win9x hacks. 2011-03-01 13:21:58 +01:00
André Hentschel c7cb92f1f2 setupapi/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 14:59:57 +01:00
Greg Geldorp f6990085cc setupapi/tests: Uninstall .pnf if uninstall of .inf failed. 2010-12-29 12:03:48 +01:00
André Hentschel 57aa778e2d setupapi/tests: Don't test function directly when reporting GetLastError(). 2010-12-27 15:39:37 +01:00
André Hentschel 424fa9a7f3 setupapi/tests: Better clean up if SetupUninstallOEMInf fails. 2010-12-27 15:39:37 +01:00
André Hentschel 9c02760647 setupapi/tests: Fix wow64 failures. 2010-10-13 11:31:26 +02:00
Stefan Leichter 05a1416c93 setupapi: Implement SetupDiGetINFClassA on top of SetupDiGetINFClassW. 2010-10-05 13:04:26 +02:00
Alexandre Julliard 5c4c6544ae setupapi/tests: Make some variables static. 2010-10-01 13:37:28 +02:00
Stefan Leichter 637fd3735a setupapi: Added more tests for SetupDiGetINFClassA. 2010-09-30 11:15:49 +02: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
Stefan Leichter 7e8ab4c8b4 setupapi: Added tests for SetupDiGetINFClassA. 2010-09-14 13:31:46 -05:00
Andrew Nguyen 3eb4985231 setupapi: Implement SetupDuplicateDiskSpaceListA/W. 2010-09-07 16:00:42 +02:00
Andrew Nguyen beb3018bd5 setupapi: Improve parameter validation in SetupQuerySpaceRequiredOnDriveA/W. 2010-09-07 16:00:30 +02:00
Andrew Nguyen 188ed272dc setupapi: Improve parameter validation for SetupCreateDiskSpaceListA/W. 2010-09-07 15:58:20 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Austin English f7f38c5def setupapi/tests: Remove unused variable. 2010-07-21 13:23:59 +02:00
Andrew Nguyen a44506b563 setupapi: Only extract the first MSZIP cabinet file in SetupDecompressOrExtractFile. 2010-06-16 20:13:12 +02:00
Andrew Nguyen 53a563bb38 setupapi: Exhaustively test the invalid parameter handling of SetupDecompressOrCopyFileA. 2010-06-16 20:13:04 +02:00
Andrew Nguyen 813024d492 setupapi/tests: Add simple enumeration tests for SetupIterateCabinetW. 2010-06-16 20:13:02 +02:00
Andrew Nguyen d0e93cd3ab setupapi/tests: Add simple enumeration tests for SetupIterateCabinetA. 2010-06-16 20:13:00 +02:00
Andrew Nguyen abf63710da setupapi/tests: Add tests to show that SetupIterateCabinet handles callback exceptions on newer Windows. 2010-06-16 20:12:58 +02:00
Andrew Nguyen debe525f3f setupapi: Validate the cabinet filename parameter in SetupIterateCabinetW. 2010-06-16 20:12:54 +02:00
Andrew Nguyen bc21be89ab setupapi: Validate the cabinet filename parameter in SetupIterateCabinetA. 2010-06-16 20:12:09 +02:00
Stefan Leichter 05a308a80b setupapi: Implement SetupGetInfFileListA. 2010-04-06 11:48:21 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +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
Stefan Leichter 9db754fe10 setupapi: Implement SetupGetInfFileListW. 2009-12-14 16:14:37 +01:00
Hans Leidekker 3bf156a8c5 setupapi/tests: Fix a memory leak.
Found by Valgrind.
2009-12-08 12:37:14 +01:00
Stefan Leichter 6f8fb2f4e7 setupapi32/tests: More tests for SetupGetInfFileListW. 2009-12-08 12:37:01 +01:00
Stefan Leichter 941d69e544 setupapi/tests: Use separate directory for SetupGetInfFileListW. 2009-12-03 10:15:06 +01:00
Stefan Leichter 7f2943e712 setupapi/tests: Check the buffer content returned from SetupGetInfFileListW test. 2009-11-16 11:54:45 +01:00
Paul Vriens f4a5294c89 setupapi/tests: Fix some test failures on Win9x/WinMe. 2009-11-12 13:08:25 +01:00
Stefan Leichter 381221de66 setupapi: Add stub and some tests for SetupGetInfFileListW. 2009-11-11 10:53:39 +01:00
Paul Vriens 61abc0a51d setupapi/tests: Fix some test failures on Win98. 2009-10-09 11:50:29 +02:00
Alexandre Julliard f901f63bc6 setupapi/tests: Fix the SetupGetIntField test to load the correct key. 2009-10-08 21:50:09 +02:00
Paul Vriens bf0ffb2d3e setupapi/tests: Cleanup after SetupCopyOEMInf() tests. 2009-10-07 15:57:29 +02:00
Paul Vriens da07b0d585 setupapi/tests: Don't crash on WinMe. 2009-10-02 11:51:48 +02:00
Ge van Geldorp 5448bf3e36 setupapi/tests: Add acceptable error code for Win7. 2009-09-28 14:30:32 +02:00
Paul Vriens de945384a4 setupapi/tests: pSetupGetField returns A or W string depending on OS. 2009-06-08 16:22:46 +02:00
Paul Vriens 77fa32a832 setupapi: Fix passing a NULL parameter (Coverity). 2009-05-18 14:31:06 +02:00
Paul Vriens 644f57679b setupapi/tests: Fix remaining failures on Win9x. 2009-05-15 14:19:05 +02:00
Paul Vriens 97505798ec setupapi/tests: Fix a test failure on Win98. 2009-04-24 15:02:50 +02:00