Commit Graph

38 Commits

Author SHA1 Message Date
Dmitry Timoshkov 5b7fac05d9 setupapi: Treat trailing \0 in field values same way as trailing spaces.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-17 20:54:16 +02:00
Dmitry Timoshkov 43115a74f9 setupapi/tests: Add explicit field for inf contents size.
To make testing embedded NULs possible.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-17 20:54:16 +02:00
Zebediah Figura bb4a6da373 setupapi: Search for substituted strings in SetupFindNextMatchLine().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-26 20:49:37 +01:00
Alexandre Julliard bcab6625ab setupapi/tests: Fix a test failure on latest Windows 10.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-11 15:54:06 +01:00
Michael Stefaniuc 94d8ba78b8 setupapi/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-15 12:56:48 +02:00
Sebastian Lackner e8aa851fe4 setupapi: Fix parsing of inf files containing garbage at the beginning of the file.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 21:59:42 +09:00
Frédéric Delanoy 5c2cff30aa setupapi/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
Frédéric Delanoy 4ec00cb2c2 setupapi/tests: Use BOOL type where appropriate. 2014-01-06 17:15:45 +01:00
Nikolay Sivov 9d03aa328f setupapi/tests: Enable compilation with -D__WINESRC__. 2013-10-29 20:07:07 +01:00
Francois Gouget ce64b90c97 setupapi/tests: Remove a pointless use of assert(). 2013-07-03 21:20:03 +02:00
Austin English f7f38c5def setupapi/tests: Remove unused variable. 2010-07-21 13:23:59 +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 de945384a4 setupapi/tests: pSetupGetField returns A or W string depending on OS. 2009-06-08 16:22:46 +02:00
Paul Vriens 644f57679b setupapi/tests: Fix remaining failures on Win9x. 2009-05-15 14:19:05 +02:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Alexandre Julliard 486e66ed6e setupapi/tests: Don't compare the drive letter of expanded file paths. 2009-02-03 22:23:35 +01:00
Alexandre Julliard 2e20bd4960 setupapi/tests: Added some tests for SetupEnumInfSectionsA/W. 2009-01-05 20:27:06 +01:00
Paul Vriens e755a96fc8 setupapi/tests: Fix a test failure on Vista/W2K8. 2008-12-11 11:50:22 +01:00
Paul Vriens a76d83687a setupapi/tests: Fix some failures on Win9x and WinMe. 2008-11-12 11:49:11 +01:00
Paul Vriens 1567813361 setupapi/tests: Fix test for win9x and Vista. 2008-06-09 12:37:19 +02:00
Paul Vriens ebec0a9697 setupapi: Fix for SetupGetIntField, with tests. 2008-04-01 13:15:56 +02:00
Paul Vriens a3557272f4 setupapi: Fix some last errors for SetupGetLineByIndex. 2008-03-28 21:42:15 +01:00
Paul Vriens 50e81d0e6d setupapi: Fix some last errors for SetupFindFirstLine. 2008-03-28 21:42:15 +01:00
Paul Vriens dacb11533d setupapi/tests: Remove check as we don't care how 'field' is allocated. 2008-03-28 14:53:29 +01:00
Paul Vriens 18e305241d setupapi/tests: Add some tests for the last error returned. 2008-03-27 17:47:23 +01:00
Francois Gouget a116879507 Assorted spelling fixes. 2007-08-30 12:26:02 +02:00
Jason Edmeades 7f901f41f0 setupapi: Remove duplicate backslashes on dirids. 2007-08-13 13:04:16 +02:00
Jason Edmeades ac6343cd5a setupapi: Add test to show setupapi does not handle single quotes. 2007-08-10 12:58:17 +02:00
Paul Vriens c0cc85f78e setupapi/tests: Use GetModuleHandleA instead of LoadLibraryA. 2007-07-31 12:34:54 +02:00
Detlef Riekenberg 6a95b93ec3 advpack+setupapi: Remove unneeded checks before SetupCloseInfFile. 2007-07-10 13:32:10 +02:00
Detlef Riekenberg 8be4e8537c setupapi: Avoid crash in SetupCloseInfFile. 2007-07-10 13:31:54 +02:00
Francois Gouget 5d0da6f666 setupapi/tests: Print GetLastError() in decimal with '%u'. 2007-01-08 12:06:36 +01:00
Michael Ploujnikov 8e302e15d2 setupapi/tests: Win64 printf format warning fixes. 2006-10-10 13:36:38 +02:00
James Hawkins 7588b669d8 setupapi: Implement pSetupGetField, with tests. 2006-09-14 11:40:27 +02:00
James Hawkins bce44161f1 setupapi: Fix SetupCloseInfFile when a NULL handle is given, with tests. 2006-06-27 11:15:36 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 2adb302a99 Add trailing '\n's to ok() and TRACE() calls. 2005-11-10 11:17:38 +00:00
Alexandre Julliard 6c0fc4205c Added a bunch of tests for the INF parser. 2005-11-07 16:41:37 +00:00